Ask Your Question
0

Virutalbox dashboard install problem (again)

asked 2011-06-16 21:21:06 -0500

There are other posts about dashboard install problems. The workaround was to comment out the line in the .rb file which works. However, this looks like a different problem than the other poster found:

[Thu, 16 Jun 2011 20:48:21 +0000] DEBUG: Processing file[/usr/lib/python2.6/dist-packages/dashboard.pth] on http://maverick.hsd1.ca.comcast.net . [Thu, 16 Jun 2011 20:48:21 +0000] INFO: Creating file[/usr/lib/python2.6/dist-packages/dashboard.pth] at /usr/lib/python2.6/dist-packages/dashboard.pth [Thu, 16 Jun 2011 20:48:21 +0000] DEBUG: Processing execute[python setup.py develop] on http://maverick.hsd1.ca.comcast.net . [Thu, 16 Jun 2011 20:48:21 +0000] DEBUG: Executing python setup.py develop [Thu, 16 Jun 2011 20:48:21 +0000] ERROR: execute[python setup.py develop] (/tmp/vagrant-chef/cookbooks-0/nova/recipes/dashboard.rb:13:in from_file') had an error: /srv/dashboard/django-nova does not exist or is not a directory /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:146:inoutput_of_command' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:128:in run_command' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:inaction_run' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in send' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:inrun_action' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:in run_action' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:inconverge' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in each' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:inconverge' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:94:in execute_each_resource' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:92:in execute_each_resource' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:84:inconverge' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:268:in converge' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/client.rb:158:inrun' /var/lib/gems/1.8/gems/chef-0.9.12/bin ... (more)

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2011-06-16 21:33:00 -0500

vishvananda gravatar image

the directory was renamed. The default value of the recipe was changed in master. Do you have another branch checked out by any chance? Perhaps devpackages? I've updated devpackages to just in case, so pulling the newest code should fix your error.

Vish

On Jun 16, 2011, at 2:21 PM, Jim Wichelman wrote:

New question #161728 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

There are other posts about dashboard install problems. The workaround was to comment out the line in the .rb file which works. However, this looks like a different problem than the other poster found:

[Thu, 16 Jun 2011 20:48:21 +0000] DEBUG: Processing file[/usr/lib/python2.6/dist-packages/dashboard.pth] on maverick.hsd1.ca.comcast.net . [Thu, 16 Jun 2011 20:48:21 +0000] INFO: Creating file[/usr/lib/python2.6/dist-packages/dashboard.pth] at /usr/lib/python2.6/dist-packages/dashboard.pth [Thu, 16 Jun 2011 20:48:21 +0000] DEBUG: Processing execute[python setup.py develop] on maverick.hsd1.ca.comcast.net . [Thu, 16 Jun 2011 20:48:21 +0000] DEBUG: Executing python setup.py develop [Thu, 16 Jun 2011 20:48:21 +0000] ERROR: execute[python setup.py develop] (/tmp/vagrant-chef/cookbooks-0/nova/recipes/dashboard.rb:13:in from_file') had an error: /srv/dashboard/django-nova does not exist or is not a directory /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:146:inoutput_of_command' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:128:in run_command' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/provider/execute.rb:49:inaction_run' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:in send' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource.rb:395:inrun_action' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:53:in run_action' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:inconverge' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:in each' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/runner.rb:89:inconverge' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection.rb:94:in execute_each_resource' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:incall' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in call_iterator_block' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:instep' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in iterate' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:ineach_with_index' /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef ...

(more)
edit flag offensive delete link more
0

answered 2011-06-16 22:05:39 -0500

I am not explicitly grabbing source. I am following the instructions here: http://cloudbuilders.github.com/deploy.sh/single-node-nova-installation-using-vagrant-and-chef.html (http://cloudbuilders.github.com/deplo...)

(which by the way has a bad url for the cookbooks - fix is to "s/cloudbuilders/openstack/")

The chef recipe seems to be the culprit here:

openstack-cookbooks/cookbooks/nova/attributes/dashboard.rb: default[:nova][:dashboard][:dashboard_branch] = "lp:openstack-dashboard" default[:nova][:dashboard][:deploy_dir] = "/srv/dashboard"

What is the correct deploy_dir?

edit flag offensive delete link more
0

answered 2011-06-16 22:38:25 -0500

I grabbed the cookbooks from "anso" rather than "openstack". They worked for setting up dashboard.

There are numerous sets of instructions - all slightly different - only one is correct: http://wiki.openstack.org/SingleNodeNovaVagrantChef (http://wiki.openstack.org/SingleNodeN...) (good) http://cloudbuilders.github.com/deploy.sh/single-node-nova-installation-using-vagrant-and-chef.html (http://cloudbuilders.github.com/deplo...) (bad) http://docs.openstack.org/cactus/openstack-compute/admin/content/openstack-compute-installation-using-virtualbox-vagrant-and-chef.html#d1480e1450 (http://docs.openstack.org/cactus/open...) (bad) http://docs.openstack.org/cactus/openstack-compute/admin/os-compute-adminguide-cactus.pdf (http://docs.openstack.org/cactus/open...) (bad)

edit flag offensive delete link more
0

answered 2011-06-17 04:55:41 -0500

vishvananda gravatar image

Ah, sounds like the openstack repo cookbooks are out of date. I will update them, thanks. On Jun 16, 2011, at 3:06 PM, Jim Wichelman wrote:

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

Status: Answered => Open

Jim Wichelman is still having a problem: I am not explicitly grabbing source. I am following the instructions here: http://cloudbuilders.github.com/deplo...

(which by the way has a bad url for the cookbooks - fix is to "s/cloudbuilders/openstack/")

The chef recipe seems to be the culprit here:

openstack-cookbooks/cookbooks/nova/attributes/dashboard.rb: default[:nova][:dashboard][:dashboard_branch] = "lp:openstack-dashboard" default[:nova][:dashboard][:deploy_dir] = "/srv/dashboard"

What is the correct deploy_dir?


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more
0

answered 2011-07-26 04:46:36 -0500

I am trying this same thing and getting the django-nova missing message. Where did you make this update please?

[Tue, 26 Jul 2011 03:56:57 +0000] ERROR: Running exception handlers [Tue, 26 Jul 2011 03:56:57 +0000] ERROR: Exception handlers complete [Tue, 26 Jul 2011 03:56:57 +0000] DEBUG: Re-raising exception: Chef::Exceptions::Exec - /srv/dashboard/django-nova does not exist or is not a directory /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:146:in output_of_command' [default] /var/lib/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/mixin/command.rb:146:inoutput_of_command': stderr [default] : : stderr [default] /srv/dashboard/django-nova does not exist or is not a directory: stderr

I used the repo command: git clone http://github.com/cloudbuilders/openstack-cookbooks.git (http://github.com/cloudbuilders/opens...)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-06-16 21:21:06 -0500

Seen: 49 times

Last updated: Jul 26 '11