<div dir="ltr"><div dir="ltr"><div>Hi Daniel,</div><div>thanks for the quick reply</div><div><br></div><div>we did try to override SMBIOS <br></div><div>host_uuid_source = "machine-id"</div><div><br></div><div>and it didn't work even that nodes have different <br></div><div><br></div><div>[root@modi01 kubevirt]# ./cluster-up/ssh.sh  kind-1.17.0-worker<br>root@kind-1:/# cat /etc/machine-id<br><br>[root@modi01 kubevirt]# ./cluster-up/ssh.sh  kind-1.17.0-control-plane<br>root@kind-1:/# cat /etc/machine-id <br>71ebb3fc051a48b2b45345b67bb1002b<br><br></div><div>Thanks<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 26, 2020 at 5:05 PM Daniel P. Berrangé <<a href="mailto:berrange@redhat.com" target="_blank">berrange@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, Mar 26, 2020 at 04:47:50PM +0200, Or Shoval wrote:<br>
> Hello<br>
> <br>
> On kubevirt project we are using IpV6 Kind cluster,<br>
> and trying to support migration,<br>
> <br>
> but since both of the containers are on the same host<br>
> we get this error<br>
> <br>
> {"component":"virt-launcher","level":"error","msg":"internal error: Attempt<br>
> to migrate guest to the same host<br>
> 32323136-3731-4247-3831-303946353338","pos":"virNetClientProgramDispatchError:172","subcomponent":"libvirt","thread":"44",<br>
> "timestamp":"2020-03-25T10:41:12.123000Z"}<br>
> <br>
> Is there a way to work around this please ?<br>
> <br>
> it comes of course from<br>
> <a href="https://github.com/libvirt/libvirt/blob/master/src/qemu/qemu_migration_cookie.c#L1254" rel="noreferrer" target="_blank">https://github.com/libvirt/libvirt/blob/master/src/qemu/qemu_migration_cookie.c#L1254</a><br>
> <br>
> (not sure what version of libvirt i have but it shows the uuid so i guess<br>
> this is the one)<br>
<br>
The link above points to git master, which only checks the UUID. This<br>
was released in 6.2.0<br>
<br>
All versions of libvirt before 6.2.0, will also check the hostname for<br>
equality.<br>
<br>
<br>
Since you're inside a container you should be able to set an arbitrary<br>
hostname for each container.<br>
<br>
For the UUID, we obtain the value from SMBIOS data tables. To override<br>
this there is a parameter in /etc/libvirt/libvirtd.conf.<br>
<br>
Regards,<br>
Daniel<br>
-- <br>
|: <a href="https://berrange.com" rel="noreferrer" target="_blank">https://berrange.com</a>      -o-    <a href="https://www.flickr.com/photos/dberrange" rel="noreferrer" target="_blank">https://www.flickr.com/photos/dberrange</a> :|<br>
|: <a href="https://libvirt.org" rel="noreferrer" target="_blank">https://libvirt.org</a>         -o-            <a href="https://fstop138.berrange.com" rel="noreferrer" target="_blank">https://fstop138.berrange.com</a> :|<br>
|: <a href="https://entangle-photo.org" rel="noreferrer" target="_blank">https://entangle-photo.org</a>    -o-    <a href="https://www.instagram.com/dberrange" rel="noreferrer" target="_blank">https://www.instagram.com/dberrange</a> :|<br>
<br>
</blockquote></div></div>