Re: [Openstack-operators] Fwd: Nova hypervisor uuid

2018-11-29 Thread Ignazio Cassano
Many thks Matt. If the issue will happen again I hope openstack commands will show duplicate entries and let me clean them. When happened nova-hypervisor list command did not show duplcated entries but I saw them only in the database. Regards Ignazio Il giorno Gio 29 Nov 2018 17:28 Matt Riedemann

Re: [Openstack-operators] Fwd: Nova hypervisor uuid

2018-11-29 Thread Ignazio Cassano
Hi Matt, I did in the DB directly. I am using queens now. Any python client command to delete hold records or I must use api ? Thanks & Regards Ignazio Il giorno gio 29 nov 2018 alle ore 16:28 Matt Riedemann ha scritto: > On 11/29/2018 12:49 AM, Ignazio Cassano wrote: > > Hello Mattm > > Yes I

Re: [Openstack-operators] Fwd: Nova hypervisor uuid

2018-11-29 Thread Matt Riedemann
On 11/29/2018 10:27 AM, Ignazio Cassano wrote: I did in the DB directly. I am using queens now. Any python client command to delete hold records or I must use api ? You can use the CLI: https://docs.openstack.org/python-novaclient/latest/cli/nova.html#nova-service-delete https://docs.openstac

Re: [Openstack-operators] Fwd: Nova hypervisor uuid

2018-11-29 Thread Matt Riedemann
On 11/29/2018 12:49 AM, Ignazio Cassano wrote: Hello Mattm Yes I mean sometimes I have same host/node names with different uuid in compute_nodes table in nova database I must delete nodes with uuid those not match with nova-hypervisor list command. At this time I have the following: MariaDB [n

Re: [Openstack-operators] Fwd: Nova hypervisor uuid

2018-11-28 Thread Ignazio Cassano
Hello Mattm Yes I mean sometimes I have same host/node names with different uuid in compute_nodes table in nova database I must delete nodes with uuid those not match with nova-hypervisor list command. At this time I have the following: MariaDB [nova]> select hypervisor_hostname,uuid,deleted from c

Re: [Openstack-operators] Fwd: Nova hypervisor uuid

2018-11-28 Thread Matt Riedemann
On 11/28/2018 4:19 AM, Ignazio Cassano wrote: Hi Matt, sorry but I lost your answer and Gianpiero forwarded it to me. I am sure kvm nodes names are note changed. Tables where uuid are duplicated are: dataresource_providers in nova_api db compute_nodes in nova db Regards Ignazio It would be easi

Re: [Openstack-operators] Fwd: Nova hypervisor uuid

2018-11-28 Thread Ignazio Cassano
Hi Matt, sorry but I lost your answer and Gianpiero forwarded it to me. I am sure kvm nodes names are note changed. Tables where uuid are duplicated are: dataresource_providers in nova_api db compute_nodes in nova db Regards Ignazio Il 28/Nov/2018 11:09 AM, "Gianpiero Ardissono" ha scritto: > >