Yeela Kaplan has posted comments on this change.
Change subject: mount: Reassign mount specification in case of backup option
......................................................................
Patch Set 2: (1 inline comment)
....................................................
File vdsm/storage/storageServer.py
Line 269: return
Line 270:
Line 271: backupSpec = self._getBackupSpec()
Line 272: if backupSpec:
Line 273: if mount.Mount(backupSpec, self._mount.fs_file).isMounted():
I do not expect it to be mounted,
At the beginning of '_updateBackup' I check if connected to the original mount
point and return if it is...
Line 274: self._mount.fs_spec = backupSpec
Line 275: else:
Line 276: self.log.warning("Mount of backup: %s to: %s failed",
Line 277: backupSpec, self._mount.fs_file)
--
To view, visit
http://gerrit.ovirt.org/16534
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I3166c6863dffa297bc0adcdeb4c22f810d18de8e
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: Ayal Baron <abaron(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Eduardo <ewarszaw(a)redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce(a)redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi(a)redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server