Needs work
Project:
Drush Vagrant Integration
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2012 at 07:17 UTC
Updated:
7 Oct 2012 at 08:33 UTC
drush vagrant-build --project-name=vm1 --git-repo="http://git.drupal.org/sandbox/franskuipers/1801378.git" --up --alias --hosts
You are about to:
* Create a new project called "vm1" at "/Users/clemens/vagrant/projects/vm1".
* Add entries for the FQDNs of the VMs to /etc/hosts. (You will be prompted for your sudo password.)
* Generate Drush aliases for the project and VMs.
* Launch the project VMs immediately.
* Build the project from the Git repository at: http://git.drupal.org/sandbox/franskuipers/1801378.git
Do you want to proceed with initializing the project? (y/n): y
Initialized empty Git repository in /Users/clemens/vagrant/projects/vm1/.git/
remote: Counting objects: 103, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 103 (delta 40), reused 103 (delta 40)
Receiving objects: 100% (103/103), 41.24 KiB, done.
Resolving deltas: 100% (40/40), done.
Cloned the git repo at http://git.drupal.org/sandbox/franskuipers/1801378.git to /Users/clemens/vagrant/projects/vm1. [ok]
Created symlink to .gitignore. [ok]
Created the ".config" directory in /Users/clemens/vagrant/projects/vm1. [ok]
Successfully wrote config.rb [ok]
Copied your .bashrc into the project [ok]
Copied your .bash_aliases into the project [ok]
Copied your .vimrc into the project [ok]
There was a problem with the configuration of Vagrant. The error message(s)
are printed below:
vm:
* The provisioner 'ansible' doesn't exist.
The following errors occurred when attempting to retrieve the FQDN for the drupal71 VM. [error]
The following errors occurred when running "vagrant ssh-config". Are you in the directory with the Vagrantfile? [error]
VM must be created before running this command. Run `vagrant up` first.
Drush command terminated abnormally due to an unrecoverable error. [error]
Drush command terminated abnormally due to an unrecoverable error. [error]
The drush command '@vm1.drupal81 hosts' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have [error]
installed new extensions.
A Drupal installation directory could not be found [error]
The drush command '@vm1.drupal71 hosts' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have [error]
installed new extensions.
A Drupal installation directory could not be found [error]
The drush command '@vm1.drupal71 hosts' could not be found. Run `drush cache-clear drush` to clear the commandfile cache if you have [error]
installed new extensions.
A Drupal installation directory could not be found [error]
Your project was successfully initialized.
The root for your project is "/Users/clemens/vagrant/projects/vm1"
The subnet for your project has been set to 192.168.12.0, and an initial entry in your /etc/hosts file written.
You can now: * Alter the behaviour of your project by editing /Users/clemens/vagrant/projects/vm1/settings.rb.
* Redefine the VM(s) by editing the Puppet manifest(s) in /Users/clemens/vagrant/projects/vm1/manifests.
* Add additional Puppet modules by copying them to /Users/clemens/vagrant/projects/vm1/modules.
Comments
Comment #1
clemens.tolboomThis is caused by not having installed ansible extensions to vagrant but the last report should never hit the prompt
Comment #2
ergonlogicWe should probably consider moving to drush_vagrant_exec_and_log() in build.vagrant.inc:
Comment #3
ergonlogicThis should be fixed in: http://drupalcode.org/project/drush-vagrant.git/commitdiff/6a46f0cf9c890...
Please test under similar conditions, if possible.
Comment #4
clemens.tolboomNice :)
One thing remaining is a drush error as the command failed. Something like