cannot attach an iSCSI volume to an instance

Bug #741415 reported by Muneyuki Noguchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Muneyuki Noguchi

Bug Description

Attaching an iSCSI volume to an instance fails in lp:nova rev.857 because arguments of some _execute() aren't split in the iSCSI driver.

Output of nova-compute is as follows:
2011-03-24 09:09:55,761 ERROR nova [-] Exception during message handling
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/home/nttdata/nova/nova/rpc.py", line 200, in _receive
(nova): TRACE: rval = node_func(context=ctxt, **node_args)
(nova): TRACE: File "/home/nttdata/nova/nova/compute/manager.py", line 99, in decorated_function
(nova): TRACE: function(self, context, instance_id, *args, **kwargs)
(nova): TRACE: File "/home/nttdata/nova/nova/compute/manager.py", line 694, in attach_volume
(nova): TRACE: volume_id)
(nova): TRACE: File "/home/nttdata/nova/nova/volume/manager.py", line 163, in setup_compute_volume
(nova): TRACE: path = self.driver.discover_volume(context, volume_ref)
(nova): TRACE: File "/home/nttdata/nova/nova/volume/driver.py", line 458, in discover_volume
(nova): TRACE: self._run_iscsiadm(iscsi_properties, "--login")
(nova): TRACE: File "/home/nttdata/nova/nova/volume/driver.py", line 430, in _run_iscsiadm
(nova): TRACE: (out, err) = self._execute(command)
(nova): TRACE: File "/home/nttdata/nova/nova/utils.py", line 157, in execute
(nova): TRACE: env=env)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/green/subprocess.py", line 25, in __init__
(nova): TRACE: subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)
(nova): TRACE: File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
(nova): TRACE: errread, errwrite)
(nova): TRACE: File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
(nova): TRACE: raise child_exception
(nova): TRACE: OSError: [Errno 2] No such file or directory
(nova): TRACE:

Related branches

Muneyuki Noguchi (mnogu)
Changed in nova:
assignee: nobody → Muneyuki Noguchi (noguchimn)
Muneyuki Noguchi (mnogu)
Changed in nova:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.