Shu Ming has uploaded a new change for review. Change subject: '0' is a valid master version ......................................................................
'0' is a valid master version When connecting the storage pool first time with master domain version '0', exception happens not finding the temporary pool file for pool parameters. Change-Id: I736d917bfa7d3a5ac59cddcaf1a18846f53d85b0 Signed-off-by: Shu Ming <[email protected]> --- M vdsm/storage/hsm.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/48/7948/1 diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py index 1e9311b..f7f8b49 100644 --- a/vdsm/storage/hsm.py +++ b/vdsm/storage/hsm.py @@ -849,7 +849,7 @@ return pool = sp.StoragePool(spUUID, self.taskMng) - if not hostID or not scsiKey or not msdUUID or not masterVersion: + if not hostID or not scsiKey or not msdUUID or (masterVersion == None): hostID, scsiKey, msdUUID, masterVersion = pool.getPoolParams() res = pool.connect(hostID, scsiKey, msdUUID, masterVersion) if res: -- To view, visit http://gerrit.ovirt.org/7948 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I736d917bfa7d3a5ac59cddcaf1a18846f53d85b0 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Shu Ming <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
