yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76485
[Bug 1809575] Re: Nova Hypervisor-list shows error
*** This bug is a duplicate of bug 1646255 ***
https://bugs.launchpad.net/bugs/1646255
Looks like a duplicate of bug 1646255. Note the comments in the fix
review for that bug:
https://review.openstack.org/#/c/406627/
When you destroy a compute service/compute node in the DB, as you have
in the steps above, if you don't actually stop the nova-compute service
it will re-create the compute_nodes table record but the services table
record will be missing which is what is causing the problem I think.
Also note the "important" note in the DELETE /os-services API:
https://developer.openstack.org/api-ref/compute/?expanded=delete-
compute-service-detail#delete-compute-service
** This bug has been marked a duplicate of bug 1646255
removing compute node causes ComputeHostNotFound in nova-api
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1809575
Title:
Nova Hypervisor-list shows error
Status in OpenStack Compute (nova):
New
Bug description:
Dears
After applying the compute removal procedure and during the post check we have 1 command shows error after the activity while it was fine before the activity
NAME=Mitaka on Ubuntu 14.04
The command
nova hypervisor-list
the output after action
root@cic-1:~# nova hypervisor-list
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'nova.exception.ComputeHostNotFound'> (HTTP 500) (Request-ID: req-dd42e342-fc0e-4143-bc1e-f02d012c1bde)
the output before action
root@cic-2:~# nova hypervisor-list
+-----+-------------------------+-------+---------+
| ID | Hypervisor hostname | State | Status |
+-----+-------------------------+-------+---------+
| 1 | compute-0-12.domain.tld | up | enabled |
| 4 | compute-0-9.domain.tld | up | enabled |
| 7 | compute-0-32.domain.tld | up | enabled |
| 10 | compute-0-14.domain.tld | up | enabled |
| 13 | compute-0-11.domain.tld | up | enabled |
| 16 | compute-0-16.domain.tld | up | enabled |
| 19 | compute-0-13.domain.tld | up | enabled |
| 22 | compute-0-15.domain.tld | up | enabled |
| 25 | compute-0-22.domain.tld | up | enabled |
| 28 | compute-0-19.domain.tld | up | enabled |
| 31 | compute-0-31.domain.tld | up | enabled |
| 34 | compute-0-35.domain.tld | up | enabled |
steps to produce
nova service-disable --reason scaledin compute-0-10.domain.tld nova-compute
nova service-delete 181
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1809575/+subscriptions
References