1.
2011-01-25 15:31:33,288 DEBUG nova.root [-] Inner Exception: No module named glance.client from MainProcess (pid=30268) import_class /home/kost/openstack/nova/trunk/nova/utils.py:56
Traceback (most recent call last):
File "/home/kost/openstack/nova/trunk/bin/nova-compute", line 44, in <module>
service.serve()
File "/home/kost/openstack/nova/trunk/nova/service.py", line 230, in serve
x.start()
File "/home/kost/openstack/nova/trunk/nova/service.py", line 80, in start
**self.saved_kwargs)
File "/home/kost/openstack/nova/trunk/nova/compute/manager.py", line 112, in __init__
self.driver = utils.import_object(compute_driver)
File "/home/kost/openstack/nova/trunk/nova/utils.py", line 66, in import_object
cls = import_class(import_str)
File "/home/kost/openstack/nova/trunk/nova/utils.py", line 57, in import_class
raise exception.NotFound(_('Class %s cannot be found') % class_str)
nova.exception.NotFound: Class get_connection cannot be found
---
FIX: nova.sh needs to install python-glance
---
2. http://paste.org/pastebin/view/27925
tables aren't updated when using nova.sh with a mysql db. This is b/c the database is deleted, then created.
FIX: add line #126...
123 if [ "$USE_MYSQL" == 1 ]; then
124 mysql -p$MYSQL_PASS -e 'DROP DATABASE nova;'
125 mysql -p$MYSQL_PASS -e 'CREATE DATABASE nova;'
126 $NOVA_DIR/bin/nova-manage --flagfile $NOVA_DIR/bin/nova.conf db sync
127 else
Found two more missing components of nova.sh.
Since these bugs are similar I'll add them here:
1. openstack/ nova/trunk/ nova/utils. py:56 kost/openstack/ nova/trunk/ bin/nova- compute" , line 44, in <module> kost/openstack/ nova/trunk/ nova/service. py", line 230, in serve kost/openstack/ nova/trunk/ nova/service. py", line 80, in start saved_kwargs) kost/openstack/ nova/trunk/ nova/compute/ manager. py", line 112, in __init__ object( compute_ driver) kost/openstack/ nova/trunk/ nova/utils. py", line 66, in import_object class(import_ str) kost/openstack/ nova/trunk/ nova/utils. py", line 57, in import_class NotFound( _('Class %s cannot be found') % class_str) NotFound: Class get_connection cannot be found
2011-01-25 15:31:33,288 DEBUG nova.root [-] Inner Exception: No module named glance.client from MainProcess (pid=30268) import_class /home/kost/
Traceback (most recent call last):
File "/home/
service.serve()
File "/home/
x.start()
File "/home/
**self.
File "/home/
self.driver = utils.import_
File "/home/
cls = import_
File "/home/
raise exception.
nova.exception.
---
FIX: nova.sh needs to install python-glance
---
2. paste.org/ pastebin/ view/27925
http://
tables aren't updated when using nova.sh with a mysql db. This is b/c the database is deleted, then created.
FIX: add line #126...
123 if [ "$USE_MYSQL" == 1 ]; then bin/nova- manage --flagfile $NOVA_DIR/ bin/nova. conf db sync
124 mysql -p$MYSQL_PASS -e 'DROP DATABASE nova;'
125 mysql -p$MYSQL_PASS -e 'CREATE DATABASE nova;'
126 $NOVA_DIR/
127 else
bug fix submitted @
lp:~usc-isi/nova/kost-bugfix-migrate-nova.sh