Virtualbox/Vagrant VM HTTPS

Events happening in the community are now at Drupal community events on www.drupal.org.
kepford's picture

I've been testing Barracuda out for a few days and that includes getting it running locally on my Mac with Virtualbox and Vagrant.

My goal is to set up Aegir in the VM so that I can access it with the host's browser with a url like barracuda.vm. I was able to install Aegir with the Barracuda script. I can go to aegis.barracuda.vm and I see the Aegir login page. The problem is that I can't log in because that requires an https connection.

Output of curl -v 'https://aegir.barracuda.vm/'

* About to connect() to aegir.barracuda.vm port 443 (#0)
*   Trying 33.33.33.20... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host

Here's some other info related to my install.

$ cat /etc/hosts

127.0.0.1   localhost
127.0.1.1   lucid32
33.33.33.20 *.barracuda.vm  barracuda.vm 

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

$ cat /etc/hostname
barracuda.vm

The main points of the BARRACUDA script

_XTRAS_LIST=""
_HTTP_WILDCARD=YES
_AUTOPILOT=YES
_MY_OWNIP="33.33.33.20"
_MY_HOSTN="barracuda.vm"
_MY_FRONT="aegir.barracuda.vm"
_THIS_DB_HOST=localhost
_DNS_SETUP_TEST=NO
_LOCAL_NETWORK_IP=""
_LOCAL_NETWORK_HN=""

I'm totally new to Nginx so this may be something obvious.

Comments

I believe it is a bug:

Thanks. That did the trick.

kepford's picture

Thanks. That did the trick.

any chance of providing the

niccolox's picture

any chance of providing the procedure for this?

I've just followed-up on Vagrant and am basically stunned at the possibilities!

also, via Slicehost discovered DevStructure and Blueprint http://devstructure.com/

Blueprint reverse engineers servers
Easy configuration management.
Detect relevant packages, files, and source installs.
Generate reusable server configs.
Convert blueprints to Puppet or Chef.
No DSLs, no extra servers, no workflow changes

I'm still working on getting

kepford's picture

I'm still working on getting a solid workflow together for Aegir VM's with Vagrant. I'd love to hear how it's going for any of you.

How was your progress?

lsolesen's picture

I just setup a VM with barracuda installed, as explained here: http://larsolesen.dk/node/357. A couple of things to figure out?

1) Could I create a chefcookbook, so I do not need to do the manual work also?
2) How can I connect my LOCAL (= not accessible by the internet) octopus to my production octopus for remote imports of production code to development.

Haven't really done much with

kepford's picture

Haven't really done much with this.

More vagrant-chef-boa work

lsolesen's picture

Getting remote imports to work: http://larsolesen.dk/node/358
Installing using vagrant and chef: http://larsolesen.dk/node/360

Vaegirant

ergonlogic's picture

I'm working on a project to maintain some Vagrant base boxes with Aegir installed (as well as the Vagrantfile and puppet manifests to build them): https://github.com/ergonlogic/vaegirant.

Expect a write-up on http://community.aegirproject.org in the next day or two to request feedback.

Just a heads up that this

patcon's picture

Just a heads up that this group might be a more general place to post things of this nature if the BOA group is a little slow. Cross-polination of ideas and all :)
http://groups.drupal.org/devops

We've also been working on our own Vagrant dev environment modeled after the Acquia/Pantheon servers, and it seems to be getting traction:
https://github.com/myplanetdigital/ariadne

I get to work on it every day, so it's making progress.

Drush-vagrant & Aegir-up

ergonlogic's picture

Also, what started out as vaegirant has evolved into drush-vagrant and aegir-up. These allow a full Aegir install with just a couple Drush commands:

drush dl drush-vagrant drush-hosts
drush vagrant-build

Other blueprints allow the installation of Drupal 6, 7 or 8 from the Git repos, and it isn't that hard to build your own.

BOA

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: