volume attach fails without systool installed
Bug #1172486 reported by
Cory Stone
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Walt Boring | ||
Grizzly |
Fix Released
|
Low
|
Russell Bryant |
Bug Description
When systool is not installed the call to libvirt_
There is code to try and trap this, but rootwrap seems to hide the problem. Without rootwrap, it crashes hard (OSError).
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
tags: | removed: in-stable-grizzly |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
Here's the stack:
Traceback (most recent call last): nova/compute/ manager. py", line 2929, in _attach_volume get_volume_ connector( instance) nova/virt/ libvirt/ driver. py", line 898, in get_volume_ connector utils.get_ fc_wwnns( ) nova/virt/ libvirt/ utils.py" , line 135, in get_fc_wwnns nova/virt/ libvirt/ utils.py" , line 64, in get_fc_hbas as_root= True) nova/virt/ libvirt/ utils.py" , line 47, in execute *args, **kwargs) nova/utils. py", line 225, in execute lib/python2. 7/dist- packages/ eventlet/ green/subproces s.py", line 25, in __init__ orig.Popen. __init_ _(self, args, 0, *argss, **kwds) python2. 7/subprocess. py", line 679, in __init__ python2. 7/subprocess. py", line 1249, in _execute_child
File "/opt/nova/
connector = self.driver.
File "/opt/nova/
self._fc_wwnns = libvirt_
File "/opt/nova/
hbas = get_fc_hbas()
File "/opt/nova/
run_
File "/opt/nova/
return utils.execute(
File "/opt/nova/
shell=shell)
File "/usr/local/
subprocess_
File "/usr/lib/
errread, errwrite)
File "/usr/lib/
raise child_exception
OSError: [Errno 2] No such file or directory