<div dir="ltr"><div>Hi <span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">Sylvain,</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">I mean launching "yum update" on compute nodes.</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">Now I am going to describe what happened.</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">We had an environment made up of 3 kvm nodes.</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">We added two new compute nodes.</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">Since the addition has been made after 3 or 4 months after the first openstack installation, the 2 new compute nodes are updated to most recent ocata packages.</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">So we launched a yum update also on the 3 old compute nodes.</span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD">After the above operations, the <span class="gmail-im">resource_providers table contains wrong uuid for the 3 old nodes and they stooped to work.<br></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD"><span class="gmail-im">Updating <span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD"><span class="gmail-im">resource_providers uuid getting them from <span class="gmail-im">compute_nodes table, the old 3 nodes return to work fine.<br></span></span></span></span></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD"><span class="gmail-im"><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD"><span class="gmail-im"><span class="gmail-im">Regards</span></span></span></span></span></span></span></div><div><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD"><span class="gmail-im"><span class="gmail-qu" tabindex="-1"><span name="Sylvain Bauza" class="gmail-gD"><span class="gmail-im"><span class="gmail-im">Ignazio<br></span></span></span></span></span></span></span></div></div><br><div class="gmail_quote"><div dir="ltr">Il giorno mar 16 ott 2018 alle ore 16:11 Sylvain Bauza <<a href="mailto:sbauza@redhat.com">sbauza@redhat.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 16, 2018 at 3:28 PM Ignazio Cassano <<a href="mailto:ignaziocassano@gmail.com" target="_blank">ignaziocassano@gmail.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"><div dir="ltr"><div dir="ltr"><div>Hi everybody,</div><div>when on my ocata installation based on centos7 I update (only update not changing openstack version) some kvm compute nodes, I diescovered uuid in resource_providers nova_api db table are different from uuid in compute_nodes nova db table.</div><div>This causes several errors in nova-compute service, because it not able to receive instances anymore.</div><div>Aligning uuid from compute_nodes solves this problem.</div><div>Could anyone tel me if it is a bug ?</div><div><br></div></div></div></blockquote><div><br></div><div>What do you mean by "updating some compute nodes" ? In Nova, we consider uniqueness of compute nodes by a tuple (host, hypervisor_hostname) where host is your nova-compute service name for this compute host, and hypervisor_hostname is in the case of libvirt the 'hostname' reported by the libvirt API [1]</div><div><br></div><div>If somehow one of the two values change, then the Nova Resource Tracker will consider this new record as a separate compute node, hereby creating a new compute_nodes table record, and then a new UUID.</div><div>Could you please check your compute_nodes table and see whether some entries were recently created ?</div><div><br></div><div>-Sylvain<br></div><div><br></div><div>[1] <a href="https://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Connections-Host_Info.html" target="_blank">https://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Connections-Host_Info.html</a><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div></div><div>Regards</div><div>Ignazio<br></div></div></div>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote></div></div></div>
</blockquote></div>