Bug 1683357
| Summary: | After deleting compute nodes, instance uuid does not get removed from ironic node-list | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | vivek koul <vkoul> |
| Component: | openstack-ironic | Assignee: | Steve Baker <sbaker> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | mlammon |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 10.0 (Newton) | CC: | bfournie, dasmith, dtantsur, eglynn, ipetrova, jhakimra, jkreger, kchamart, mburns, sbaker, sbauza, sgordon, vromanso, ykulkarn |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-16 21:32:12 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
vivek koul
2019-02-26 16:33:56 UTC
I see these errors related to the the baremetal node being deleted (ea093024-b8d9-4e75-bb6f-663e4c755ac4) in ironic-api.log:
NodeAssociated: Node ea093024-b8d9-4e75-bb6f-663e4c755ac4 is associated with instance 0cec9b1d-f56c-422e-b645-bcc3ffcc5c70.
format_exception /usr/lib/python2.7/site-packages/wsme/api.py:222
2019-02-21 14:22:25.205 5019 INFO eventlet.wsgi.server [req-1b24bb6f-0827-4f3d-98a8-f09d88b7d430 admin admin - - -] 172.31.150.2 "DELETE /v1/nodes/ea093024-b8d9-4e75-bb6f-663e4c755ac4 HTTP/1.1" status: 409 len: 526 time: 0.1746671
2019-02-21 14:22:27.258 5019 DEBUG wsme.api [req-fcd6f847-e355-4712-9817-a80937f6f59b admin admin - - -] Client-side error: Node ea093024-b8d9-4e75-bb6f-663e4c755ac4 is associated with instance 0cec9b1d-f56c-422e-b645-bcc3ffcc5c70.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 199, in inner
return func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/ironic/conductor/manager.py", line 1472, in destroy_node
instance=node.instance_uuid)
Looks like the client is requesting to completely delete the node, so this is actually returning an error as designed. It almost looks like there was an attempt to delete the node as opposed to unprovision the node. The node must be unprovided before being deleted and it is the unprovision action that removes the associated instance UUID. |