[Users] Failed to import Vm from export to storagedomain

Shu Ming shuming at linux.vnet.ibm.com
Sat Jan 5 14:04:41 UTC 2013


How did you export the old VMs to ovf files?  Was it a exporting bug 
causing wrong ovf file entries?

2013-1-5 19:47, Ricky :
>
> Hi, I found that to, in all my VMs. It seems not to be linked ovirt as 
> I found other People have the issue in kvm forum.
>
> Regards Ricky
>
> Den 5 jan 2013 10:45 skrev "Haim Ateya" <hateya at redhat.com 
> <mailto:hateya at redhat.com>>:
>
>     Hi Ricky,
>
>     its really interesting, the vm process failed to start as libvirt
>     identified double use of same PCI address:
>
>     Thread-3111::ERROR::2013-01-03
>     16:30:27,373::vm::617::vm.Vm::(_startUnderlyingVm)
>     vmId=`9741c58b-e7b2-41d8-9f35-8ea79ca81528`::The vm start process
>     failed
>     Traceback (most recent call last):
>       File "/usr/share/vdsm/vm.py", line 579, in _startUnderlyingVm
>         self._run()
>       File "/usr/share/vdsm/libvirtvm.py", line 1421, in _run
>         self._connection.createXML(domxml, flags),
>       File
>     "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py",
>     line 83, in wrapper
>         ret = f(*args, **kwargs)
>       File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2489,
>     in createXML
>         if ret is None:raise libvirtError('virDomainCreateXML()
>     failed', conn=self)
>     libvirtError: XML error: Attempted double use of PCI Address
>     '0:0:1.2' (may need "multifunction='on'" for device on function 0
>     Thread-3111::DEBUG::2013-01-03
>     16:30:27,377::vm::933::vm.Vm::(setDownStatus)
>     vmId=`9741c58b-e7b2-41d8-9f35-8ea79ca81528`::Changed state to
>     Down: XML error: Attempted double use of PCI Address '0:0:1.2'
>     (may need "multifunction='on'" for device on function 0
>
>     from the VM xml, I see you trying to use 6 devices of USB with
>     same PCI address:
>
>                     <controller type="usb">
>                             <address bus="0x00" domain="0x0000"
>     function="0x2" slot="0x01" type="pci"/>
>                     </controller>
>                     <controller type="usb">
>                             <address bus="0x00" domain="0x0000"
>     function="0x2" slot="0x01" type="pci"/>
>                     </controller>
>                     <controller type="usb">
>                             <address bus="0x00" domain="0x0000"
>     function="0x2" slot="0x01" type="pci"/>
>                     </controller>
>                     <controller type="usb">
>                             <address bus="0x00" domain="0x0000"
>     function="0x2" slot="0x01" type="pci"/>
>                     </controller>
>                     <controller type="usb">
>                             <address bus="0x00" domain="0x0000"
>     function="0x2" slot="0x01" type="pci"/>
>                     </controller>
>                     <controller type="usb">
>                             <address bus="0x00" domain="0x0000"
>     function="0x2" slot="0x01" type="pci"/>
>                     </controller>
>
>     need to understand what went wrong there, was it the export
>     attempt that created this problematic entry in the OVF file or was
>     it the import?
>     anyway, please open a bug for it.
>
>     Haim
>
>     ----- Original Message -----
>     > From: "Ricky" <rockybaloo at gmail.com <mailto:rockybaloo at gmail.com>>
>     > To: Users at ovirt.org <mailto:Users at ovirt.org>
>     > Sent: Thursday, January 3, 2013 7:00:21 PM
>     > Subject: [Users] Failed to import Vm from export to storagedomain
>     >
>     > Hi,
>     >
>     > So, Finally I reinstalled the whole cluster after I have exported
>     > every VM.
>     >
>     > I followed this wiki
>     > http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_start31.
>     >
>     > Everything went up except that I just have one host installed in the
>     > cluster. The other host is still serving the old cluster....
>     >
>     > When trying to import my old VMs I got problems with some of
>     them not
>     > beeing imported. But 3 of my VMs did and one of them was my
>     > mailserver... but when I try to start the VM I hit the wall again.
>     >
>     > I have attached the vdsm.log, right now I cant see the forest
>     for all
>     > the trees........
>     >
>     > Regards //Ricky
>     >
>     > _______________________________________________
>     > Users mailing list
>     > Users at ovirt.org <mailto:Users at ovirt.org>
>     > http://lists.ovirt.org/mailman/listinfo/users
>     >
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


-- 
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shuming at cn.ibm.com or shuming at linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130105/91e6ab97/attachment-0001.html>


More information about the Users mailing list