Ask Your Question
0

OpenStack VirtualBox, Vagrant installation problem

asked 2011-04-25 17:48:13 -0500

david-clark gravatar image

When following the instructions for VirtualBox/Vagrant/Chef install on OSX here: http://docs.openstack.org/cactus/openstack-compute/admin/content/openstack-compute-installation-using-virtualbox-vagrant-and-chef.html (http://docs.openstack.org/cactus/open...)

I get an error when the environment is being built with the vagrant up command. It appears that the version of nova-manage that is being used does not recognize the image option:

[Mon, 25 Apr 2011 17:35:19 +0000] DEBUG: Processing execute[curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images] on http://maverick.hsd1.ca.comcast.net . [Mon, 25 Apr 2011 17:35:19 +0000] DEBUG: Executing curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images [default] [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: ---- Begin output of curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: STDOUT: aki-tty/ aki-tty/image aki-tty/info.json ami-tty/ ami-tty/image ami-tty/info.json ari-tty/ ari-tty/image ari-tty/info.json [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 22.6M 100 22.6M 0 0 1590k 0 0:00:14 0:00:14 --:--:-- 2279k [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: ---- End output of curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: Ran curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images returned 0 [Mon, 25 Apr 2011 17:35:33 +0000] INFO: Ran execute[curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images] successfully [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: Processing execute[nova-manage image convert /var/lib/nova/images] on http://maverick.hsd1.ca.comcast.net . [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: Executing nova-manage image convert /var/lib/nova/images : stdout [default] [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: ---- Begin output of nova-manage image convert /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: STDOUT: image does not match any options: user project role shell vpn fixed floating network service log db volume instance_type flavor [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: STDERR: [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: ---- End output of nova-manage image convert /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: Ran nova-manage image convert /var/lib/nova/images returned 2 [Mon, 25 Apr 2011 17:35:34 +0000] ERROR: execute[nova-manage image convert /var/lib/nova/images] (/tmp/vagrant-chef/cookbooks-0/nova/recipes/setup.rb:53:in `from_file') had an error: nova-manage image convert /var/lib/nova/images returned 2, expected 0 ---- Begin output of nova-manage image convert /var/lib/nova/images ---- STDOUT: image does not match any options: user project role shell vpn fixed floating network service log ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-25 17:56:43 -0500

vishvananda gravatar image

Sorry we hadn't updated devpackages from packages. It should be working now. Please try a vagrant destroy; vagrant up;

Vish

On Apr 25, 2011, at 10:49 AM, David Clark wrote:

Question #154205 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Description changed to: When following the instructions for VirtualBox/Vagrant/Chef install on OSX here: http://docs.openstack.org/cactus/open...

I get an error when the environment is being built with the vagrant up command. It appears that the version of nova-manage that is being used does not recognize the image option:

[Mon, 25 Apr 2011 17:35:19 +0000] DEBUG: Processing execute[curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images] on maverick.hsd1.ca.comcast.net . [Mon, 25 Apr 2011 17:35:19 +0000] DEBUG: Executing curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images [default] [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: ---- Begin output of curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: STDOUT: aki-tty/ aki-tty/image aki-tty/info.json ami-tty/ ami-tty/image ami-tty/info.json ari-tty/ ari-tty/image ari-tty/info.json [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 22.6M 100 22.6M 0 0 1590k 0 0:00:14 0:00:14 --:--:-- 2279k [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: ---- End output of curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: Ran curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images returned 0 [Mon, 25 Apr 2011 17:35:33 +0000] INFO: Ran execute[curl http://images.ansolabs.com/tty.tgz | tar xvz -C /var/lib/nova/images] successfully [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: Processing execute[nova-manage image convert /var/lib/nova/images] on maverick.hsd1.ca.comcast.net . [Mon, 25 Apr 2011 17:35:33 +0000] DEBUG: Executing nova-manage image convert /var/lib/nova/images : stdout [default] [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: ---- Begin output of nova-manage image convert /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: STDOUT: image does not match any options: user project role shell vpn fixed floating network service log db volume instance_type flavor [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: STDERR: [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: ---- End output of nova-manage image convert /var/lib/nova/images ---- [Mon, 25 Apr 2011 17:35:34 +0000] DEBUG: Ran nova-manage image convert /var/lib/nova/images returned 2 [Mon, 25 Apr 2011 17:35:34 +0000] ERROR: execute[nova-manage image convert /var/lib/nova/images] (/tmp/vagrant-chef/cookbooks-0/nova/recipes/setup.rb:53:in `from_file') had an error: nova-manage image ...

(more)
edit flag offensive delete link more
0

answered 2011-04-25 20:28:34 -0500

david-clark gravatar image

Thanks Vish Ishaya, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-04-25 17:48:13 -0500

Seen: 123 times

Last updated: Apr 25 '11