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): 4.17.x How reproducible: 100% 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) Actual results: wrong (and meaningless) XML is logged Expected results: Vdsm logs the actual XML it sent to libvirt Additional info: 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 http://bob.eng.lab.tlv.redhat.com/builds/3.6/3.6.2-3/
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.