Red Hat Bugzilla – Bug 1292371
vdsm logs the wrong xml when dehibernating
Last modified: 2016-02-18 06:18:48 EST
Description of problem:
When dehibernating (aka restoring state aka migrating from file) VDSM logs the wrong XML.
The XML being logged is the one which would be created if the VM will be started from scratch again, not the one actually used, and store in the VM state.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. hibernate a VM
2. dehibernate a VM
3. check the logs, compare what Vdsm logs to what Vdsm stored in the recovery file, and to what libvirt sees (virsh -r dumpxml $DOMAIN)
wrong (and meaningless) XML is logged
Vdsm logs the actual XML it sent to libvirt
This change affects only logging, to help troubleshooting. No changes in flow.
QE note, not in vdsm-4.17.14
RHEV build 3.6.2-3 released
Verified with rhevm-3.6.2-0.1.el6.noarch on both vdsm-4.17.14-0.el7ev.noarch and vdsm-4.17.15-0.el7ev.noarch hosts.
In both cases after hibernate and de-hibernate the xml in vdsm log correlates to the xml from qemu.