Shahar Havivi has posted comments on this change.

Change subject: v2v: add try/except to get_external_vms
......................................................................


Patch Set 3:

(1 comment)

https://gerrit.ovirt.org/#/c/49507/3/vdsm/v2v.py
File vdsm/v2v.py:

Line 154:             params = {}
Line 155:             try:
Line 156:                 _add_vm_info(vm, params)
Line 157:             except libvirt.libvirtError as e:
Line 158:                 logging.error("error getting domain infomation: %s", 
e)
> Maybe adding vm.name() to the log message could be useful?
The vm.name() can be the exception.
usually the libvirt exception logs the domain id
Line 159:                 continue
Line 160:             try:
Line 161:                 xml = vm.XMLDesc(0)
Line 162:             except libvirt.libvirtError as e:


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iec63dea83ec1805cf08d35be7c078edfd2f70966
Gerrit-PatchSet: 3
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Shahar Havivi <shav...@redhat.com>
Gerrit-Reviewer: Francesco Romani <from...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Milan Zamazal <mzama...@redhat.com>
Gerrit-Reviewer: Shahar Havivi <shav...@redhat.com>
Gerrit-Reviewer: gerrit-hooks <automat...@ovirt.org>
Gerrit-HasComments: Yes
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to