From Dan Kenigsberg <dan...@redhat.com>:

Dan Kenigsberg has submitted this change and it was merged.

Change subject: virt: Don't crash in Vm.getIoTunePolicy when ioTune is 
unavailable
......................................................................


virt: Don't crash in Vm.getIoTunePolicy when ioTune is unavailable

The cases when VM metadata can't be fetched from libvirt or <ioTune> is not
present in the domain XML were not handled and raised unhandled exceptions.
This patch fixes it.

Change-Id: Ib0f7f4f81cba692013c6b2476e629e2ae33db6a0
Bug-Url: https://bugzilla.redhat.com/1409834
Backport-To: 4.1
Signed-off-by: Milan Zamazal <mzama...@redhat.com>
---
M tests/vm_test.py
M vdsm/virt/vm.py
2 files changed, 14 insertions(+), 2 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Francesco Romani: Looks good to me, approved
  Milan Zamazal: Verified



-- 
To view, visit https://gerrit.ovirt.org/69555
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0f7f4f81cba692013c6b2476e629e2ae33db6a0
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Milan Zamazal <mzama...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <dan...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpoled...@redhat.com>
Gerrit-Reviewer: Milan Zamazal <mzama...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to