<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><span style="font-family:arial">On Sun, Sep 15, 2013 at 11:51 PM, Omer Frenkel </span><span dir="ltr" style="font-family:arial"><<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>></span><span style="font-family:arial"> wrote:</span><br>
</div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">
<div class="h5"><br>
<br>
----- Original Message -----<br>
> From: "Dan Kenigsberg" <<a href="mailto:danken@redhat.com">danken@redhat.com</a>><br>
> To: "Andrew Lau" <<a href="mailto:andrew@andrewklau.com">andrew@andrewklau.com</a>><br>
> Cc: <a href="mailto:libvir-list@redhat.com">libvir-list@redhat.com</a>, "users" <<a href="mailto:users@ovirt.org">users@ovirt.org</a>><br>
> Sent: Sunday, September 15, 2013 3:47:03 PM<br>
> Subject: Re: [Users] Live Migration failed oVirt 3.3 Nightly<br>
><br>
> On Sun, Sep 15, 2013 at 09:57:47PM +1000, Andrew Lau wrote:<br>
> > On Sun, Sep 15, 2013 at 9:34 PM, Dan Kenigsberg <<a href="mailto:danken@redhat.com">danken@redhat.com</a>> wrote:<br>
> ><br>
> > > On Sun, Sep 15, 2013 at 08:44:18PM +1000, Andrew Lau wrote:<br>
> > > > On Sun, Sep 15, 2013 at 8:00 PM, Dan Kenigsberg <<a href="mailto:danken@redhat.com">danken@redhat.com</a>><br>
> > > wrote:<br>
> > > ><br>
> > > > > On Sun, Sep 15, 2013 at 06:48:41PM +1000, Andrew Lau wrote:<br>
> > > > > > Hi Dan,<br>
> > > > > ><br>
> > > > > > Certainly, I've uploaded them to fedora's paste bin and tried to<br>
> > > > > > snip<br>
> > > > > just<br>
> > > > > > the relevant details.<br>
> > > > > ><br>
> > > > > > Sender (<a href="http://hv01.melb.domain.net" target="_blank">hv01.melb.domain.net</a>):<br>
> > > > > > <a href="http://paste.fedoraproject.org/39660/92339651/" target="_blank">http://paste.fedoraproject.org/39660/92339651/</a><br>
> > > > ><br>
> > > > > This one has<br>
> > > > ><br>
> > > > > libvirtError: operation failed: Failed to connect to remote<br>
> > > > > libvirt<br>
> > > > > URI qemu+tls://<a href="http://hv02.melb.domain.net/system" target="_blank">hv02.melb.domain.net/system</a><br>
> > > > ><br>
> > > > > which is most often related to firewall issues, and some time to key<br>
> > > > > mismatch.<br>
> > > > ><br>
> > > > > Does<br>
> > > > > virsh -c qemu+tls://<a href="http://hv02.melb.domain.net/system" target="_blank">hv02.melb.domain.net/system</a> capabilities<br>
> > > > > work when run from the command line of hv01?<br>
> > > > ><br>
> > > > > Dan.<br>
> > > > > > Receiver (<a href="http://hv02.melb.domain.net" target="_blank">hv02.melb.domain.net</a>): `<br>
> > > > > > <a href="http://paste.fedoraproject.org/39661/23406913/" target="_blank">http://paste.fedoraproject.org/39661/23406913/</a><br>
> > > > > ><br>
> > > > > > VM being transfered is ovirt_guest_vm<br>
> > > > > ><br>
> > > > > > Thanks,<br>
> > > > > > Andrew<br>
> > > > ><br>
> > > ><br>
> > > > virsh -c qemu+tls://<a href="http://hv02.melb.domain.net/system" target="_blank">hv02.melb.domain.net/system</a><br>
> > > > 2013-09-15 10:41:10.620+0000: 23994: info : libvirt version: 0.10.2,<br>
> > > > package: 18.el6_4.9 (CentOS BuildSystem <<a href="http://bugs.centos.org" target="_blank">http://bugs.centos.org</a>>,<br>
> > > > 2013-07-02-11:19:29, <a href="http://c6b8.bsys.dev.centos.org" target="_blank">c6b8.bsys.dev.centos.org</a>)<br>
> > > > 2013-09-15 10:41:10.620+0000: 23994: warning :<br>
> > > > virNetTLSContextCheckCertificate:1102 : Certificate check failed<br>
> > > > Certificate failed validation: The certificate hasn't got a known<br>
> > > > issuer.<br>
> > ><br>
> > > Would you share your<br>
> > ><br>
> > ><br>
> > > openssl x509 -in<br>
> > > /etc/pki/vdsm/certs/cacert.pem -text<br>
> > ><br>
> > > openssl x509 -in /etc/pki/vdsm/certs/vdsmcert.pem -text<br>
> > ><br>
> > > on both hosts? This content may be sensitive, and may not<br>
> > > provide an answer why libvirt on src cannot contact libvirtd on the<br>
> > > other host. So before you do that, would you test if<br>
> > ><br>
> > ><br>
> > > vdsClient -s <a href="http://hv02.melb.domain.net" target="_blank">hv02.melb.domain.net</a> getVdsCapabilities<br>
> > ><br>
> > > works when run on hv01? It may be that the certificates are fine, but<br>
> > > libvirt is not configured to use the correct ones.<br>
> > ><br>
> > > Dan.<br>
> > ><br>
> > ><br>
> > vdsClient -s <a href="http://hv02.melb.domain.net" target="_blank">hv02.melb.domain.net</a> getVdsCapabilities runs fine<br>
> ><br>
> > I did a quick comparison between the files on both hosts, they seem to have<br>
> > the right details (host names, authority etc.)<br>
> > cacert.pem matches<br>
> ><br>
> > /etc/libvirt/libvirtd.conf<br>
> ><br>
> > ca_file="/etc/pki/vdsm/certs/cacert.pem"<br>
> > cert_file="/etc/pki/vdsm/certs/vdsmcert.pem"<br>
> > key_file="/etc/pki/vdsm/keys/vdsmkey.pem"<br>
><br>
<br>
</div></div>this sounds a little like<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=996146" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=996146</a><br>
<br>
can you try to restart libvirt (on both hosts just to be sure) and try again?<br>
<div class="im"><br>
> Maybe someone on libvir-list could guess why this could be happening?<br>
</div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
</blockquote></div><br></div><div class="gmail_extra"><div class="gmail_default" style="font-family:tahoma,sans-serif">I did try that already</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div>
<div class="gmail_default" style="font-family:tahoma,sans-serif">service vdsmd restart</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default"><div class="gmail_default">
<font face="tahoma, sans-serif">[root@hv02 ~]# service vdsmd restart</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Shutting down vdsm daemon: </font></div><div class="gmail_default"><font face="tahoma, sans-serif">vdsm watchdog stop [ OK ]</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">vdsm stop [ OK ]</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Starting configure libvirt to VDSM ...</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">libvirt is already configured for vdsm</font></div><div class="gmail_default"><font face="tahoma, sans-serif">=Done configuring libvirt=</font></div><div class="gmail_default">
<font face="tahoma, sans-serif">libvir: Network Filter Driver error : Requested operation is not valid: nwfilter is in use</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Checking conflicts ...</font></div>
<div class="gmail_default"><font face="tahoma, sans-serif">SUCCESS: ssl configured to true. No conflicts</font></div><div class="gmail_default"><font face="tahoma, sans-serif">Starting up vdsm daemon: </font></div><div class="gmail_default">
<font face="tahoma, sans-serif">vdsm start [ OK ]</font></div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">
Migration still failed. Keep in mind, when I had oVirt 3.3 on these nodes migration was working fine. Only when I upgraded to the nightly and it picked up the new vdsm packages it started to fail.</div><div style="font-family:tahoma,sans-serif">
<br></div></div><br></div></div>