nova-compute (folsom) fails to start, compute_driver is None
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
Folsom |
Fix Released
|
Critical
|
Adam Gandelman | ||
nova (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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/
2012-11-21 18:48:20 INFO nova.compute.
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/
2012-11-21 18:48:20 TRACE nova server = service.
2012-11-21 18:48:20 TRACE nova File "/usr/lib/
2012-11-21 18:48:20 TRACE nova periodic_
2012-11-21 18:48:20 TRACE nova File "/usr/lib/
2012-11-21 18:48:20 TRACE nova self.manager = manager_
2012-11-21 18:48:20 TRACE nova File "/usr/lib/
2012-11-21 18:48:20 TRACE nova importutils.
2012-11-21 18:48:20 TRACE nova File "/usr/lib/
2012-11-21 18:48:20 TRACE nova return import_
2012-11-21 18:48:20 TRACE nova File "/usr/lib/
2012-11-21 18:48:20 TRACE nova mod_str, _sep, class_str = import_
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:/
Here, the compute_driver flag was moved to the global flags to fix another issue, but its default value (default=
Related branches
- Openstack Ubuntu Testers: Pending requested
-
Diff: 121 lines (+100/-4)1 file modifieddebian/changelog (+100/-4)
CVE References
summary: |
- nova-compute (folsom) fails to start with has no compute_driver + nova-compute (folsom) fails to start, compute_driver is None |
Changed in nova: | |
status: | New → Invalid |
Changed in nova (Ubuntu): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in nova (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in nova (Ubuntu Quantal): | |
status: | New → Confirmed |
Reviewed: https:/ /review. openstack. org/16711 github. com/openstack/ nova/commit/ 7e8a1662577bc86 e873f9f957e7407 6ac89eb80b
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 7e8a1662577bc86 e873f9f957e7407 6ac89eb80b
Author: Adam Gandelman <email address hidden>
Date: Wed Nov 21 16:13:29 2012 -0800
Reinstate default FLAGS.compute_ driver for folsom
A previous cherry-picked commit moved the compute_driver flag from
the compute manager to the global flags file, but did not take the
flags default value along. This breaks existing Folsom installations
that still use connection_type.
Note, this is only proposed to stable/folsom to fix a regression. Not
applicable to master as connection_type is gone in Grizzly.
Fixes bug 1081836.
Change-Id: I135d6adc215c40 fb9f46f382dbe22 fb38b413ff8