summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-08-23 15:53:59 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2011-08-23 15:53:59 -0700
commit0fc12640a09792fbf278c050c35c62933afcb68d (patch)
tree903482e055c57622e09f0601468c3a6f173f4fa8
parent787913ddedce4f3395b4e3d5073a0eea259ed9f7 (diff)
downloadnova-0fc12640a09792fbf278c050c35c62933afcb68d.tar.gz
nova-0fc12640a09792fbf278c050c35c62933afcb68d.tar.xz
nova-0fc12640a09792fbf278c050c35c62933afcb68d.zip
fix iscsi adm command
-rw-r--r--nova/volume/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/volume/driver.py b/nova/volume/driver.py
index c99534c07..7d2fb45d4 100644
--- a/nova/volume/driver.py
+++ b/nova/volume/driver.py
@@ -495,7 +495,7 @@ class ISCSIDriver(VolumeDriver):
(out, err) = self._execute('iscsiadm', '-m', 'node', '-T',
iscsi_properties['target_iqn'],
'-p', iscsi_properties['target_portal'],
- iscsi_command, run_as_root=True)
+ *iscsi_command, run_as_root=True)
LOG.debug("iscsiadm %s: stdout=%s stderr=%s" %
(iscsi_command, out, err))
return (out, err)