Change in vdsm[master]: hostdev: fix rmAppropriateSCSIDevice in reattach

mpolednik at redhat.com mpolednik at redhat.com
Thu May 12 13:22:29 UTC 2016


Martin Polednik has uploaded a new change for review.

Change subject: hostdev: fix rmAppropriateSCSIDevice in reattach
......................................................................

hostdev: fix rmAppropriateSCSIDevice in reattach

rmAppropriateSCSIDevice also requires name argument. This slipped as we
removed reattaching host devices.

Change-Id: I90e0e38bc86fa52bb654934b03f080490ba23fd8
Signed-off-by: Martin Polednik <mpolednik at redhat.com>
---
M lib/vdsm/hostdev.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/74/57374/1

diff --git a/lib/vdsm/hostdev.py b/lib/vdsm/hostdev.py
index 617a241..9eb503f 100644
--- a/lib/vdsm/hostdev.py
+++ b/lib/vdsm/hostdev.py
@@ -403,7 +403,7 @@
             raise UnsuitableSCSIDevice
 
         supervdsm.getProxy().rmAppropriateSCSIDevice(
-            device_params['udev_path'])
+            device_name, device_params['udev_path'])
 
 
 def change_numvfs(device_name, numvfs):


-- 
To view, visit https://gerrit.ovirt.org/57374
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I90e0e38bc86fa52bb654934b03f080490ba23fd8
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Martin Polednik <mpolednik at redhat.com>


More information about the vdsm-patches mailing list