[Users] Failed to import Vm from export to storagedomain

Haim Ateya hateya at redhat.com
Sat Jan 5 04:45:09 EST 2013


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>
> To: 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
> http://lists.ovirt.org/mailman/listinfo/users
> 


More information about the Users mailing list