Tal Nisan has uploaded a new change for review. Change subject: Allow getFileStats for non NFS ISO domains ......................................................................
Allow getFileStats for non NFS ISO domains getFileStats only allowed file stats to be gathered for NFS ISO domains we currently support ISO domains of different storage types so the check was corrected. Change-Id: I7107d20b1b8b341086800bb35def895a70c4b4f0 Signed-off-by: Tal Nisan <[email protected]> Bug-Url: https://bugzilla.redhat.com/1075172 --- M vdsm/storage/hsm.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/27/25627/1 diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py index 2e9dbe5..6eaf840 100644 --- a/vdsm/storage/hsm.py +++ b/vdsm/storage/hsm.py @@ -2231,7 +2231,7 @@ vars.task.getSharedLock(STORAGE, sdUUID) dom = sdCache.produce(sdUUID=sdUUID) - if not dom.isISO or dom.getStorageType() != sd.NFS_DOMAIN: + if not dom.isISO: raise se.GetFileStatsError(sdUUID) fileStats = dom.getFileList(pattern=pattern, -- To view, visit http://gerrit.ovirt.org/25627 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7107d20b1b8b341086800bb35def895a70c4b4f0 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Tal Nisan <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
