Re: [Users] Failed to import Vm from export to storagedomain

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

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

This is a multi-part message in MIME format. --------------000101070405090508030303 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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@redhat.com <mailto:hateya@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@gmail.com <mailto:rockybaloo@gmail.com>> > To: Users@ovirt.org <mailto:Users@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@ovirt.org <mailto:Users@ovirt.org> > http://lists.ovirt.org/mailman/listinfo/users >
_______________________________________________ Users mailing list Users@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@cn.ibm.com or shuming@linux.vnet.ibm.com Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC --------------000101070405090508030303 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="moz-cite-prefix">How did you export the old VMs to ovf files? Was it a exporting bug causing wrong ovf file entries?<br> <br> 2013-1-5 19:47, Ricky :<br> </div> <blockquote cite="mid:CAAEHobAn1QfOHVCsx2Sa2NYEbXNHK8x6dMLR9J+4QL7zNeeeDg@mail.gmail.com" type="cite"> <p dir="ltr">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. </p> <p dir="ltr">Regards Ricky</p> <div class="gmail_quote">Den 5 jan 2013 10:45 skrev "Haim Ateya" <<a moz-do-not-send="true" href="mailto:hateya@redhat.com">hateya@redhat.com</a>>:<br type="attribution"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi Ricky,<br> <br> its really interesting, the vm process failed to start as libvirt identified double use of same PCI address:<br> <br> 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<br> Traceback (most recent call last):<br> File "/usr/share/vdsm/vm.py", line 579, in _startUnderlyingVm<br> self._run()<br> File "/usr/share/vdsm/libvirtvm.py", line 1421, in _run<br> self._connection.createXML(domxml, flags),<br> File "/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py", line 83, in wrapper<br> ret = f(*args, **kwargs)<br> File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2489, in createXML<br> if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)<br> libvirtError: XML error: Attempted double use of PCI Address '0:0:1.2' (may need "multifunction='on'" for device on function 0<br> 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<br> <br> from the VM xml, I see you trying to use 6 devices of USB with same PCI address:<br> <br> <controller type="usb"><br> <address bus="0x00" domain="0x0000" function="0x2" slot="0x01" type="pci"/><br> </controller><br> <controller type="usb"><br> <address bus="0x00" domain="0x0000" function="0x2" slot="0x01" type="pci"/><br> </controller><br> <controller type="usb"><br> <address bus="0x00" domain="0x0000" function="0x2" slot="0x01" type="pci"/><br> </controller><br> <controller type="usb"><br> <address bus="0x00" domain="0x0000" function="0x2" slot="0x01" type="pci"/><br> </controller><br> <controller type="usb"><br> <address bus="0x00" domain="0x0000" function="0x2" slot="0x01" type="pci"/><br> </controller><br> <controller type="usb"><br> <address bus="0x00" domain="0x0000" function="0x2" slot="0x01" type="pci"/><br> </controller><br> <br> 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?<br> anyway, please open a bug for it.<br> <br> Haim<br> <br> ----- Original Message -----<br> > From: "Ricky" <<a moz-do-not-send="true" href="mailto:rockybaloo@gmail.com">rockybaloo@gmail.com</a>><br> > To: <a moz-do-not-send="true" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> > Sent: Thursday, January 3, 2013 7:00:21 PM<br> > Subject: [Users] Failed to import Vm from export to storagedomain<br> ><br> > Hi,<br> ><br> > So, Finally I reinstalled the whole cluster after I have exported<br> > every VM.<br> ><br> > I followed this wiki<br> > <a moz-do-not-send="true" href="http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_start31" target="_blank">http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_start31</a>.<br> ><br> > Everything went up except that I just have one host installed in the<br> > cluster. The other host is still serving the old cluster....<br> ><br> > When trying to import my old VMs I got problems with some of them not<br> > beeing imported. But 3 of my VMs did and one of them was my<br> > mailserver... but when I try to start the VM I hit the wall again.<br> ><br> > I have attached the vdsm.log, right now I cant see the forest for all<br> > the trees........<br> ><br> > Regards //Ricky<br> ><br> > _______________________________________________<br> > Users mailing list<br> > <a moz-do-not-send="true" href="mailto:Users@ovirt.org">Users@ovirt.org</a><br> > <a moz-do-not-send="true" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br> ><br> </blockquote> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- --- 舒明 Shu Ming Open Virtualization Engineerning; CSTL, IBM Corp. Tel: 86-10-82451626 Tieline: 9051626 E-mail: <a class="moz-txt-link-abbreviated" href="mailto:shuming@cn.ibm.com">shuming@cn.ibm.com</a> or <a class="moz-txt-link-abbreviated" href="mailto:shuming@linux.vnet.ibm.com">shuming@linux.vnet.ibm.com</a> Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC</pre> </body> </html> --------------000101070405090508030303--

I did the export with ovirt webadmin. Ricky Den 5 jan 2013 15:04 skrev "Shu Ming" <shuming@linux.vnet.ibm.com>:
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@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@gmail.com> To: Users@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
-- --- 舒明 Shu Ming Open Virtualization Engineerning; CSTL, IBM Corp. Tel: 86-10-82451626 Tieline: 9051626 E-mail: shuming@cn.ibm.com or shuming@linux.vnet.ibm.com Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC
participants (3)
-
Haim Ateya
-
Ricky
-
Shu Ming