
--_47c6ed94-d6e9-4300-b120-dd2552a8a89d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Date: Fri=2C 26 Jul 2013 05:52:44 +0300 From: iheim@redhat.com To: cybertimber2000@hotmail.com CC: danken@redhat.com=3B users@ovirt.org Subject: Re: [Users] oVirt 3.2 - Migration failed due to error: migrateer= r =20 On 07/26/2013 05:40 AM=2C Nicholas Kesick wrote:
Replies inline.
Date: Thu=2C 25 Jul 2013 22:27:17 +0300 From: danken@redhat.com To: cybertimber2000@hotmail.com CC: users@ovirt.org Subject: Re: [Users] oVirt 3.2 - Migration failed due to error: migrateerr
On Thu=2C Jul 25=2C 2013 at 11:54:40AM -0400=2C Nicholas Kesick wrot=
When I try to migrate a VM=2C any VM=2C between my two hosts=2C I = receive an error that says Migration failed due to error: migrateerr. Looking i= n the log I don't see any thing that jumps out other than the final messa= ge
VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS= =2C error =3D Fatal error during migration
Ovirt-engine is version 3.2.2-1.1.fc18.noarch=2C firewalld is disabled=2C and selinux is permissive.
Please do not say this in public=2C you're hurting Dan Walsh's feeli= ngs =3B-)
ovirt-node version is 2.6.1 on both hosts.
Any suggestions would be welcome!
I'd love to see /etc/vdsm/vdsm.log from source and destination. The intersting parts start with vmMigrate at the source and with vmMigrationCreate at the destination. Hmm=2C I probably should have pulled that sooner. So=2C I cleared the a= ctive VDSM (while nothing was running) and libvirtd.log=2C booted one vm=2C a= nd
I recall seeing his blog posts=2C and I agree. Not sure when I set it t= o permissive... maybe to get the 3.2 install w/ Firewalld setup to complete? I remember that was fixed in 3.2.1. I'll set it back to enfor= cing. tried to migrate it. Attached are the logs. It looks like it boils down to (from the source): Traceback (most recent call last): File "/usr/share/vdsm/vm.py"=2C line 271=2C in run File "/usr/share/vdsm/libvirtvm.py"=2C line 505=2C in _startUnderlyingMigration File "/usr/share/vdsm/libvirtvm.py"=2C line 541=2C in f File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py"= =2C line 111=2C in wrapper File "/usr/lib64/python2.7/site-packages/libvirt.py"=2C line 1178=2C= in migrateToURI2 libvirtError: internal error Attempt to migrate guest to the same host localhost Does this mean my UUIDs are the same? http://vaunaspada.babel.it/blog/?p=3D613 As far as the destination=2C I'm really not understanding what's going = on on the destination between "Destination VM creation succeeded" and ":destroy Called" that would lead to it failing=2C except for what's af= ter the traceback: Traceback (most recent call last): File "/usr/share/vdsm/vm.py"=2C line 696=2C in _startUnderlyingVm File "/usr/share/vdsm/libvirtvm.py"=2C line 1907=2C in _waitForIncomingMigrationFinish File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py"= =2C line 111=2C in wrapper File "/usr/lib64/python2.7/site-packages/libvirt.py"=2C line 2822=2C= in lookupByUUIDString libvirtError: Domain not found: no domain with matching uuid '50171e1b-cf21-41d8-80f3-88ab1b980091' But that is the ID of the VM by the looks of it. Sorry Itamar=2C nothing was written to libvirtd.log after I cleared it. =20 Thread-800::ERROR::2013-07-26 01:57:16=2C198::vm::198::vm.Vm::(_recover)= =20 vmId=3D`50171e1b-cf21-41d8-80f3-88ab1b980091`::internal error Attempt to= =20 migrate guest to the same host localhost Thread-800::ERROR::2013-07-26 01:57:16=2C377::vm::286::vm.Vm::(run)=20 vmId=3D`50171e1b-cf21-41d8-80f3-88ab1b980091`::Failed to migrate Traceback (most recent call last): File "/usr/share/vdsm/vm.py"=2C line 271=2C in run File "/usr/share/vdsm/libvirtvm.py"=2C line 505=2C in=20 _startUnderlyingMigration File "/usr/share/vdsm/libvirtvm.py"=2C line 541=2C in f File "/usr/lib64/python2.7/site-packages/vdsm/libvirtconnection.py"=2C= =20
e: line 111=2C in wrapper File "/usr/lib64/python2.7/site-packages/libvirt.py"=2C line 1178=2C i= n=20 migrateToURI2 libvirtError: internal error Attempt to migrate guest to the same host=20 localhost =20 what are your hostnames?
>=3B >=3B ":destroy Called" that would lead to it failing=2C except fo= r what's after<br>>=3B >=3B the traceback:<br>>=3B >=3B Traceback (= most recent call last):<br>>=3B >=3B File "/usr/share/vdsm/vm.py"=2C=
"host001" on 192.168.0.103 and "host002" on 192.168.0.104 Even tried changing it=2C no luck. Could it be because the oVirt Node - Network tab - does not have any DNS se= rvers specified? = --_47c6ed94-d6e9-4300-b120-dd2552a8a89d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>>=3B Date: Fri=2C 26 Jul 2013 = 05:52:44 +0300<br><div>>=3B From: iheim@redhat.com<br>>=3B To: cybertim= ber2000@hotmail.com<br>>=3B CC: danken@redhat.com=3B users@ovirt.org<br>&= gt=3B Subject: Re: [Users] oVirt 3.2 - Migration failed due to error: migra= teerr<br>>=3B <br>>=3B On 07/26/2013 05:40 AM=2C Nicholas Kesick wrote:= <br>>=3B >=3B<br>>=3B >=3B Replies inline.<br>>=3B >=3B >=3B= Date: Thu=2C 25 Jul 2013 22:27:17 +0300<br>>=3B >=3B >=3B From: dan= ken@redhat.com<br>>=3B >=3B >=3B To: cybertimber2000@hotmail.com<br>= >=3B >=3B >=3B CC: users@ovirt.org<br>>=3B >=3B >=3B Subject:= Re: [Users] oVirt 3.2 - Migration failed due to error:<br>>=3B >=3B mi= grateerr<br>>=3B >=3B >=3B<br>>=3B >=3B >=3B On Thu=2C Jul 25= =2C 2013 at 11:54:40AM -0400=2C Nicholas Kesick wrote:<br>>=3B >=3B &g= t=3B >=3B When I try to migrate a VM=2C any VM=2C between my two hosts=2C= I receive<br>>=3B >=3B an error that says Migration failed due to erro= r: migrateerr. Looking in<br>>=3B >=3B the log I don't see any thing th= at jumps out other than the final message<br>>=3B >=3B >=3B >=3B<b= r>>=3B >=3B >=3B >=3B VDSGenericException: VDSErrorException: Fail= ed to MigrateStatusVDS=2C<br>>=3B >=3B error =3D Fatal error during mig= ration<br>>=3B >=3B >=3B >=3B<br>>=3B >=3B >=3B >=3B Ovir= t-engine is version 3.2.2-1.1.fc18.noarch=2C firewalld is<br>>=3B >=3B = disabled=2C and selinux is permissive.<br>>=3B >=3B >=3B<br>>=3B &= gt=3B >=3B Please do not say this in public=2C you're hurting Dan Walsh'= s feelings =3B-)<br>>=3B >=3B >=3B<br>>=3B >=3B I recall seeing = his blog posts=2C and I agree. Not sure when I set it to<br>>=3B >=3B p= ermissive... maybe to get the 3.2 install w/ Firewalld setup to<br>>=3B &= gt=3B complete? I remember that was fixed in 3.2.1. I'll set it back to enf= orcing.<br>>=3B >=3B >=3B >=3B<br>>=3B >=3B >=3B >=3B ovi= rt-node version is 2.6.1 on both hosts.<br>>=3B >=3B >=3B >=3B<br>= >=3B >=3B >=3B >=3B Any suggestions would be welcome!<br>>=3B &g= t=3B >=3B >=3B<br>>=3B >=3B >=3B<br>>=3B >=3B >=3B I'd l= ove to see /etc/vdsm/vdsm.log from source and destination. The<br>>=3B &g= t=3B >=3B intersting parts start with vmMigrate at the source and with<b= r>>=3B >=3B >=3B vmMigrationCreate at the destination.<br>>=3B >= =3B Hmm=2C I probably should have pulled that sooner. So=2C I cleared the a= ctive<br>>=3B >=3B VDSM (while nothing was running) and libvirtd.log=2C= booted one vm=2C and<br>>=3B >=3B tried to migrate it. Attached are th= e logs. It looks like it boils down<br>>=3B >=3B to (from the source):<= br>>=3B >=3B Traceback (most recent call last):<br>>=3B >=3B Fil= e "/usr/share/vdsm/vm.py"=2C line 271=2C in run<br>>=3B >=3B File "/= usr/share/vdsm/libvirtvm.py"=2C line 505=2C in<br>>=3B >=3B _startUnder= lyingMigration<br>>=3B >=3B File "/usr/share/vdsm/libvirtvm.py"=2C l= ine 541=2C in f<br>>=3B >=3B File "/usr/lib64/python2.7/site-package= s/vdsm/libvirtconnection.py"=2C<br>>=3B >=3B line 111=2C in wrapper<br>= >=3B >=3B File "/usr/lib64/python2.7/site-packages/libvirt.py"=2C li= ne 1178=2C in<br>>=3B >=3B migrateToURI2<br>>=3B >=3B libvirtError:= internal error Attempt to migrate guest to the same host<br>>=3B >=3B = localhost<br>>=3B >=3B Does this mean my UUIDs are the same?<br>>=3B = >=3B http://vaunaspada.babel.it/blog/?p=3D613<br>>=3B >=3B As far as = the destination=2C I'm really not understanding what's going on<br>>=3B &= gt=3B on the destination between "Destination VM creation succeeded" and<br= line 696=2C in _startUnderlyingVm<br>>=3B >=3B File "/usr/share/vds= m/libvirtvm.py"=2C line 1907=2C in<br>>=3B >=3B _waitForIncomingMigrati= onFinish<br>>=3B >=3B File "/usr/lib64/python2.7/site-packages/vdsm/= libvirtconnection.py"=2C<br>>=3B >=3B line 111=2C in wrapper<br>>=3B = >=3B File "/usr/lib64/python2.7/site-packages/libvirt.py"=2C line 2822= =2C in<br>>=3B >=3B lookupByUUIDString<br>>=3B >=3B libvirtError: D= omain not found: no domain with matching uuid<br>>=3B >=3B '50171e1b-cf= 21-41d8-80f3-88ab1b980091'<br>>=3B >=3B But that is the ID of the VM by= the looks of it.<br>>=3B >=3B Sorry Itamar=2C nothing was written to l= ibvirtd.log after I cleared it.<br>>=3B <br>>=3B Thread-800::ERROR::201= 3-07-26 01:57:16=2C198::vm::198::vm.Vm::(_recover) <br>>=3B vmId=3D`50171= e1b-cf21-41d8-80f3-88ab1b980091`::internal error Attempt to <br>>=3B migr= ate guest to the same host localhost<br>>=3B Thread-800::ERROR::2013-07-2= 6 01:57:16=2C377::vm::286::vm.Vm::(run) <br>>=3B vmId=3D`50171e1b-cf21-41= d8-80f3-88ab1b980091`::Failed to migrate<br>>=3B Traceback (most recent c= all last):<br>>=3B File "/usr/share/vdsm/vm.py"=2C line 271=2C in run<= br>>=3B File "/usr/share/vdsm/libvirtvm.py"=2C line 505=2C in <br>>= =3B _startUnderlyingMigration<br>>=3B File "/usr/share/vdsm/libvirtvm.= py"=2C line 541=2C in f<br>>=3B File "/usr/lib64/python2.7/site-packag= es/vdsm/libvirtconnection.py"=2C <br>>=3B line 111=2C in wrapper<br>>= =3B File "/usr/lib64/python2.7/site-packages/libvirt.py"=2C line 1178=2C= in <br>>=3B migrateToURI2<br>>=3B libvirtError: internal error Attempt= to migrate guest to the same host <br>>=3B localhost<br>>=3B <br>>= =3B what are your hostnames?<br><br>"host001" on 192.168.0.103 and "host002= " on 192.168.0.104<br>Even tried changing it=2C no luck.<br><br>Could it be= because the oVirt Node - Network tab - does not have any DNS servers speci= fied?<br></div> </div></body> </html>= --_47c6ed94-d6e9-4300-b120-dd2552a8a89d_--