Restart of nova-volume with volumes in wrong state: global name 'volume_ref' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya | ||
Bexar |
Fix Released
|
High
|
Thierry Carrez |
Bug Description
I tried using the SheepdogDriver by setting the flag "--volume_
2011-02-05 00:32:35,834 AUDIT nova.root [-] Starting volume node (version 2011.1-
2011-02-05 00:32:36,088 CRITICAL nova.root [-] global name 'volume_ref' is not defined
(nova.root): TRACE: Traceback (most recent call last):
(nova.root): TRACE: File "/usr/bin/
(nova.root): TRACE: service.serve()
(nova.root): TRACE: File "/usr/lib64/
(nova.root): TRACE: x.start()
(nova.root): TRACE: File "/usr/lib64/
(nova.root): TRACE: self.manager.
(nova.root): TRACE: File "/usr/lib64/
(nova.root): TRACE: LOG.info(_("volume %s: skipping export"), volume_ref['name'])
(nova.root): TRACE: NameError: global name 'volume_ref' is not defined
(nova.root): TRACE:
Related branches
- Nova Core security contacts: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiednova/volume/manager.py (+1/-1)
Changed in nova: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: bexar-post-release |
Changed in nova: | |
status: | In Progress → Fix Committed |
tags: | removed: bexar-post-release |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |
problem is in init_host() (nova/volume/ manager. py) in line 89-90. volume_ref is not set in this method, but the log message wants to use it. i simply uncommented the both lines and now i can start nova-volume without an error. Now I'll test if I can use Sheepdog images...
(I hope I added the patch in the correct way...)