Sergey Gotliv has uploaded a new change for review. Change subject: Teardown only VDSM images when power-off VM ......................................................................
Teardown only VDSM images when power-off VM Trying to tear down a cdrom or external lun throws an exception which creates a lot of log printings. Change-Id: I041a306636c75a7aa37d4d7c0811366d80fe609c Signed-off-by: Sergey Gotliv <[email protected]> --- M vdsm/vm.py 1 file changed, 2 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/73/21973/1 diff --git a/vdsm/vm.py b/vdsm/vm.py index ccdf950..3f6e615 100644 --- a/vdsm/vm.py +++ b/vdsm/vm.py @@ -2538,7 +2538,8 @@ # Skip any exception as we don't want to interrupt the # teardown process for any reason. try: - self.cif.teardownVolumePath(drive) + if drive.isVdsmImage(): + self.cif.teardownVolumePath(drive) except: self.log.error("Drive teardown failure for %s", drive, exc_info=True) -- To view, visit http://gerrit.ovirt.org/21973 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I041a306636c75a7aa37d4d7c0811366d80fe609c Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Sergey Gotliv <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
