lookupByName() could raise libvirt.libvirtError for many different reasons (libvirt connection problems, etc).
lookupByName()
libvirt.libvirtError
If this kojivmd host does not have this VM available (VIR_ERR_NO_DOMAIN), and we should log the "VM not available" message and skip taking the task.
VIR_ERR_NO_DOMAIN
If the error is something else, this is unexpected, and we should raise it in the logs so the administrator can see it at non-debug log levels.
Metadata Update from @tkopecek: - Pull-request tagged with: no_qe
Commit 041bbc35 fixes this pull-request
Pull-Request has been merged by tkopecek
lookupByName()could raiselibvirt.libvirtErrorfor many different reasons (libvirt connection problems, etc).If this kojivmd host does not have this VM available (
VIR_ERR_NO_DOMAIN), and we should log the "VM not available" message and skip taking the task.If the error is something else, this is unexpected, and we should raise it in the logs so the administrator can see it at non-debug log levels.