Bug 1591788 - [Docs] On split-stack setups, left over node information prevents a node from rejoin the cloud
Summary: [Docs] On split-stack setups, left over node information prevents a node from...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Irina
QA Contact: RHOS Documentation Team
URL:
Whiteboard: docs-accepted
: 1685766 (view as bug list)
Depends On: 1579785
Blocks: 1731150 1781142
TreeView+ depends on / blocked
 
Reported: 2018-06-15 14:52 UTC by Martin Schuppert
Modified: 2022-08-09 09:40 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1579785
: 1731150 (view as bug list)
Environment:
Last Closed: 2020-07-03 10:29:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-9167 0 None None None 2022-08-09 09:40:47 UTC

Comment 3 Martin Schuppert 2018-07-13 14:42:25 UTC
To summarize the doc change.

* existing instructions say [1]:
~~~
...

Finally, remove the node’s Compute service:

(undercloud) $ source ~/stack/overcloudrc
(overcloud) $ openstack compute service list
(overcloud) $ openstack compute service delete [service-id]
~~~

This needs a note which says that in case the compute is being re-deployed with the exact same name, those steps are not needed. 

The service can either be disable with a comment to know why it is down or leave it as is (detected as down) until the node is re-provisioned. When the service gets disabled it needs to be re-enabled after a node with the same hostname is up again.

e.g.
$ openstack compute service set --disable --disable-reason "gets re-provisioned" compute-1.localdomain nova-compute

$ openstack compute service list --long
...
| 80 | nova-compute     | compute-1.localdomain    | nova     | disabled | up    | 2018-07-13T14:35:04.000000 | gets re-provisioned |
+----+------------------+--------------------------+----------+----------+-------+----------------------------+---------------------+

Same for the neutron agent:
$ openstack network agent set --disable --description "gets re-provisioned" 3134ae01-f3d2-432c-886c-dcf4b4ac2a3c

When up again enable the services:
$ openstack compute service set --enable  compute-1.localdomain nova-compute
$ openstack network agent set --enable --description "gets re-provisioned" 3134ae01-f3d2-432c-886c-dcf4b4ac2a3c

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/12/html-single/director_installation_and_usage/#sect-Removing_Compute_Nodes

Comment 9 Irina 2019-07-01 10:17:25 UTC
*** Bug 1685766 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.