[Bug 1081836] [NEW] nova-compute (folsom) fails to start with has no compute_driver
Adam Gandelman
1081836 at bugs.launchpad.net
Thu Nov 22 00:04:54 UTC 2012
Public bug reported:
Running from stable/folsom in preparation for 2012.2.1, nova-compute
fails to start using the same config thats been working fine with folsom
so far.
~# nova-compute --config-file /etc/nova/nova.conf --config-file /etc/nova/nova-compute.conf
2012-11-21 18:48:20 INFO nova.compute.manager [-] Loading compute driver 'None'
2012-11-21 18:48:20 CRITICAL nova [-] 'NoneType' object has no attribute 'rpartition'
2012-11-21 18:48:20 TRACE nova Traceback (most recent call last):
2012-11-21 18:48:20 TRACE nova File "/usr/bin/nova-compute", line 46, in <module>
2012-11-21 18:48:20 TRACE nova server = service.Service.create(binary='nova-compute')
2012-11-21 18:48:20 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 492, in create
2012-11-21 18:48:20 TRACE nova periodic_fuzzy_delay=periodic_fuzzy_delay)
2012-11-21 18:48:20 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 387, in __init__
2012-11-21 18:48:20 TRACE nova self.manager = manager_class(host=self.host, *args, **kwargs)
2012-11-21 18:48:20 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 222, in __init__
2012-11-21 18:48:20 TRACE nova importutils.import_object_ns('nova.virt', compute_driver),
2012-11-21 18:48:20 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 53, in import_object_ns
2012-11-21 18:48:20 TRACE nova return import_class(import_str)(*args, **kwargs)
2012-11-21 18:48:20 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py", line 28, in import_class
2012-11-21 18:48:20 TRACE nova mod_str, _sep, class_str = import_str.rpartition('.')
2012-11-21 18:48:20 TRACE nova AttributeError: 'NoneType' object has no attribute 'rpartition'
Tracked down to this change that looks to be cherry-picked directly
from master into stable/folsom: https://review.openstack.org/#/c/16432/
Here, the compute_driver flag was moved to the global flags to fix
another issue, but its default value
(default='nova.virt.connection.get_connection') is dropped with the
move. Without it, installations that have been using connection_type
for the last two releases to set compute flavor start with no manager
set.
** Affects: nova (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1081836
Title:
nova-compute (folsom) fails to start with has no compute_driver
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1081836/+subscriptions
More information about the Ubuntu-server-bugs
mailing list