[NEW PATCH] BZ#732772: vdsClient - fix attribute error using getIsoList when ISO domain doesn't exists in pool (via gerrit-bot)

Haim Ateya hateya at redhat.com
Tue Aug 23 15:38:47 UTC 2011


New patch submitted by Haim Ateya (hateya at redhat.com)

You can review this change at: http://gerrit.usersys.redhat.com/849

commit da9c2e030da9fa6d94d9799ace87061a2d00e9ab
Author: Haim Ateya <hateya at redhat.com>
Date:   Tue Aug 23 17:42:50 2011 +0300

    BZ#732772: vdsClient - fix attribute error using getIsoList when ISO domain doesn't exists in pool
    
    Change-Id: I6b0fa8ced6e91b6d0ebb2fe0c255770c9b544787

diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py
index fd530ca..f83316c 100644
--- a/vdsm/storage/hsm.py
+++ b/vdsm/storage/hsm.py
@@ -1038,7 +1038,7 @@ class HSM:
         vars.task.getSharedLock(STORAGE, spUUID)
         isoDom = self.getPool(spUUID).getIsoDomain()
         if not isoDom:
-            raise se.GetIsoListError(isoDom.sdUUID)
+            raise se.GetIsoListError(spUUID)
 
         # Get full iso files dictionary
         isodict = isoDom.getFileList(pattern='*.' + extension, caseSensitive=False)




More information about the vdsm-patches mailing list