Ask Your Question
0

OpenStack VirtualBox, Vagrant dashboard installation problem

asked 2011-04-25 20:31:24 -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 dashboard part of the project is being built with the vagrant up command.

python manage.py syncdb --noinput DEBUG:nose.plugins.manager:DefaultPluginManager load plugin sqlalchemy = sqlalchemy.test.noseplugin:NoseSQLAlchemy /srv/dashboard/django-nova/src/django_nova/models.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 191, in run_from_argv self.execute(args, *options.__dict__) File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 219, in execute self.validate() File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 249, in validate num_errors = get_validation_errors(s, app) File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 35, in get_validation_errors for (app_name, error) in get_app_errors().items(): File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 146, in get_app_errors self._populate() File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 61, in _populate self.load_app(app_name, True) File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 76, in load_app app_module = import_module(app_name) File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module __import__(name) ImportError: No module named django_nova_syspanel

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-05-06 03:49:43 -0500

xtoddx gravatar image

I updated the openstack-cookbooks. Should work for you now if you pull the new ones.

edit flag offensive delete link more
0

answered 2011-04-26 03:43:13 -0500

vishvananda gravatar image

looks like it may be an issue in dashboard trunk. It should work without it or as a workaround you can comment out the dashboard include in openstack-cookbooks here:

cookbooks/nova/recipes/default.rb

On Apr 25, 2011, at 1:31 PM, David Clark wrote:

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

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

I get an error when the dashboard part of the project is being built with the vagrant up command.

python manage.py syncdb --noinput DEBUG:nose.plugins.manager:DefaultPluginManager load plugin sqlalchemy = sqlalchemy.test.noseplugin:NoseSQLAlchemy /srv/dashboard/django-nova/src/django_nova/models.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 191, in run_from_argv self.execute(args, *options.__dict__) File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 219, in execute self.validate() File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 249, in validate num_errors = get_validation_errors(s, app) File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 35, in get_validation_errors for (app_name, error) in get_app_errors().items(): File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 146, in get_app_errors self._populate() File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 61, in _populate self.load_app(app_name, True) File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 76, in load_app app_module = import_module(app_name) File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module __import__(name) ImportError: No module named django_nova_syspanel


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-04-25 21:26:26 -0500

vishvananda gravatar image

Hmm, not sure how that got into the default recipes. I'll take a look at this this afternoon.

Vish

On Apr 25, 2011, at 1:31 PM, David Clark wrote:

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

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

I get an error when the dashboard part of the project is being built with the vagrant up command.

python manage.py syncdb --noinput DEBUG:nose.plugins.manager:DefaultPluginManager load plugin sqlalchemy = sqlalchemy.test.noseplugin:NoseSQLAlchemy /srv/dashboard/django-nova/src/django_nova/models.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last): File "manage.py", line 11, in <module> execute_manager(settings) File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/usr/local/lib/python2.6/dist-packages/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 191, in run_from_argv self.execute(args, *options.__dict__) File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 219, in execute self.validate() File "/usr/local/lib/python2.6/dist-packages/django/core/management/base.py", line 249, in validate num_errors = get_validation_errors(s, app) File "/usr/local/lib/python2.6/dist-packages/django/core/management/validation.py", line 35, in get_validation_errors for (app_name, error) in get_app_errors().items(): File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 146, in get_app_errors self._populate() File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 61, in _populate self.load_app(app_name, True) File "/usr/local/lib/python2.6/dist-packages/django/db/models/loading.py", line 76, in load_app app_module = import_module(app_name) File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module __import__(name) ImportError: No module named django_nova_syspanel


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

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-04-25 20:31:24 -0500

Seen: 101 times

Last updated: May 06 '11