#3504 kojivmd: narrow error handling for missing VMs
Merged by tkopecek. Opened by ktdreyer.
ktdreyer/koji kojivmd-err-handling  into  master

Download 3504.patch

lookupByName() could raise libvirt.libvirtError for 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.

Metadata Update from @tkopecek:
- Pull-request tagged with: no_qe

Commit 041bbc35 fixes this pull-request

Pull-Request has been merged by tkopecek

Metadata