[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] Error exporting as OVF/OVA


  • To: xen-api@xxxxxxxxxxxxx
  • From: "P. Broennimann" <peter.broennimann@xxxxxxxxx>
  • Date: Tue, 12 Feb 2013 08:25:33 +0100
  • Delivery-date: Tue, 12 Feb 2013 07:26:24 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hi there

I have a server with XCP 1.6 running Debian guests.

I'd like to export a guest as OVF/OVA package. Below is the error I get in the XenXenter log. Translated in english the error means "root element is missing". I googled and found some hint under http://tinyurl.com/cbgxejj however I do not find the mentioned script "/opt/xensource/packages/files/transfer-vm/install-transfer-vm.sh". Any idea what to do?

2013-02-12 08:18:57,824 INFO  XenAdmin.ConsoleView.VNCGraphicsClient [Main program thread] - VNCGraphicsClient.OnLostFocus
2013-02-12 08:19:29,835 DEBUG XenAdmin.Actions.ActionBase [Main program thread] - 
2013-02-12 08:19:29,836 INFO  Audit [Main program thread] - Operation started: ExportApplianceAction: XENIX: VM 870b7ea4-e1ed-7375-e7cb-a57348975fa6 (VIN_PORTAL): Host b3823bad-4738-48c8-8760-53116bd34157 (XENIX): 
2013-02-12 08:19:29,836 DEBUG XenAdmin.Actions.ActionBase [5632] - Exporting VMs...
2013-02-12 08:19:29,837 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VM.get_by_uuid
2013-02-12 08:19:29,885 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VM.get_record
2013-02-12 08:19:29,966 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VM.get_guest_metrics
2013-02-12 08:19:30,015 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VM_guest_metrics.get_record
2013-02-12 08:19:30,068 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VM.get_VIFs
2013-02-12 08:19:30,115 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VIF.get_record
2013-02-12 08:19:30,169 INFO  XenAPI.Session [5632] - Invoking XML-RPC method network.get_record
2013-02-12 08:19:30,218 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VM.get_VBDs
2013-02-12 08:19:30,265 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VBD.get_record
2013-02-12 08:19:30,329 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VBD.get_VDI
2013-02-12 08:19:30,385 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VDI.get_record
2013-02-12 08:19:30,443 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VBD.get_record
2013-02-12 08:19:30,489 INFO  XenAPI.Session [5632] - Invoking XML-RPC method VDI.get_uuid
2013-02-12 08:19:30,535 DEBUG XenAdmin.Actions.ActionBase [5632] - Connecting virtual disk be5c6aec-85c3-4893-b221-d843b2885d63.vhd ... 
2013-02-12 08:19:30,545 INFO  XenAPI.Session [5632] - Invoking XML-RPC method session.get_this_host
2013-02-12 08:19:30,595 INFO  XenAPI.Session [5632] - Invoking XML-RPC method host.call_plugin
2013-02-12 08:19:30,661 DEBUG XenAdmin.Actions.ActionBase [5632] - Failed to transfer virtual disk C:\Users\pb\Desktop\VIN_PORTAL\be5c6aec-85c3-4893-b221-d843b2885d63.vhd.
2013-02-12 08:19:30,662 DEBUG XenAdmin.Actions.ActionBase [5632] - Disconnecting virtual disk be5c6aec-85c3-4893-b221-d843b2885d63.vhd ... 
2013-02-12 08:19:30,666 INFO  XenAPI.Session [5632] - Invoking XML-RPC method session.get_this_host
2013-02-12 08:19:30,715 ERROR XenAdmin.Actions.AsyncAction [5632] - System.Exception: Failed to export. ---> System.Xml.XmlException: Das Stammelement ist nicht vorhanden.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei XenOvfTransport.iSCSI.ParsePluginRecordFor(String name)
   bei XenOvfTransport.iSCSI.StopiScsiTarget(Session xenSession)
   bei XenOvfTransport.iSCSI.Disconnect(Session xenSession)
   bei XenOvfTransport.Export._copydisks(EnvelopeType ovfEnv, String label, String targetPath)
   bei XenOvfTransport.Export._export(Session xenSession, String targetPath, String ovfname, String vmUuid)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei XenOvfTransport.Export._export(Session xenSession, String targetPath, String ovfname, String vmUuid)
   bei XenOvfTransport.Export.Process(Session xenSession, String targetPath, String ovfname, String[] vmUuid)
   bei XenOvfTransport.Export.Process(String targetPath, String ovfname, String[] vmUuid)
   bei XenAdmin.Actions.OVFActions.ExportApplianceAction.Run()
   bei XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
2013-02-12 08:19:30,716 ERROR XenAdmin.Actions.AsyncAction [5632] -    bei XenOvfTransport.Export._export(Session xenSession, String targetPath, String ovfname, String vmUuid)
   bei XenOvfTransport.Export.Process(Session xenSession, String targetPath, String ovfname, String[] vmUuid)
   bei XenOvfTransport.Export.Process(String targetPath, String ovfname, String[] vmUuid)
   bei XenAdmin.Actions.OVFActions.ExportApplianceAction.Run()
   bei XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
2013-02-12 08:19:30,716 WARN  Audit [5632] - Operation failure: ExportApplianceAction: XENIX: VM 870b7ea4-e1ed-7375-e7cb-a57348975fa6 (VIN_PORTAL): Host b3823bad-4738-48c8-8760-53116bd34157 (XENIX): Disconnecting virtual disk be5c6aec-85c3-4893-b221-d843b2885d63.vhd ... 
2013-02-12 08:19:30,716 DEBUG XenAdmin.Actions.ActionBase [5632] - System.Exception: Failed to export. ---> System.Xml.XmlException: Das Stammelement ist nicht vorhanden.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei XenOvfTransport.iSCSI.ParsePluginRecordFor(String name)
   bei XenOvfTransport.iSCSI.StopiScsiTarget(Session xenSession)
   bei XenOvfTransport.iSCSI.Disconnect(Session xenSession)
   bei XenOvfTransport.Export._copydisks(EnvelopeType ovfEnv, String label, String targetPath)
   bei XenOvfTransport.Export._export(Session xenSession, String targetPath, String ovfname, String vmUuid)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei XenOvfTransport.Export._export(Session xenSession, String targetPath, String ovfname, String vmUuid)
   bei XenOvfTransport.Export.Process(Session xenSession, String targetPath, String ovfname, String[] vmUuid)
   bei XenOvfTransport.Export.Process(String targetPath, String ovfname, String[] vmUuid)
   bei XenAdmin.Actions.OVFActions.ExportApplianceAction.Run()
   bei XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)
System.Exception: Failed to export. ---> System.Xml.XmlException: Das Stammelement ist nicht vorhanden.
   bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
   bei System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   bei System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   bei System.Xml.XmlDocument.Load(XmlReader reader)
   bei System.Xml.XmlDocument.LoadXml(String xml)
   bei XenOvfTransport.iSCSI.ParsePluginRecordFor(String name)
   bei XenOvfTransport.iSCSI.StopiScsiTarget(Session xenSession)
   bei XenOvfTransport.iSCSI.Disconnect(Session xenSession)
   bei XenOvfTransport.Export._copydisks(EnvelopeType ovfEnv, String label, String targetPath)
   bei XenOvfTransport.Export._export(Session xenSession, String targetPath, String ovfname, String vmUuid)
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei XenOvfTransport.Export._export(Session xenSession, String targetPath, String ovfname, String vmUuid)
   bei XenOvfTransport.Export.Process(Session xenSession, String targetPath, String ovfname, String[] vmUuid)
   bei XenOvfTransport.Export.Process(String targetPath, String ovfname, String[] vmUuid)
   bei XenAdmin.Actions.OVFActions.ExportApplianceAction.Run()
   bei XenAdmin.Actions.AsyncAction.RunWorkerThread(Object o)

Thanks & cheers,
Peter
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.