87ee88f10a
In case nova fails to parse the XML from libvirt the lxml exception is dumped to the log but it only states the location of the error in the XML string like lxml.etree.XMLSyntaxError: StartTag: invalid element name, line 40, column 35 To be able to troubleshoot the actual XML error we need to see the invalid XML as well. So this patch makes sure that if nova fails to parse the XML then the XML itself is dumped to DEBUG log. Change-Id: I14cce6db4c86f663e61d3668d081858741e88add