How can I remove Instance HA components from the controller nodes?
Issue
-
I decided to disable Instance HA and I want to remove the relative services and resources on the control plane
-
I tried to disable InstanceHA with Director by removing Instance HA compute nodes, but pacemaker still contains InstanceHA configuration:
(undercloud) [stack@instack ~]$ openstack stack list
+--------------------------------------+------------+----------------------------------+-----------------+----------------------+----------------------+
| ID | Stack Name | Project | Stack Status | Creation Time | Updated Time |
+--------------------------------------+------------+----------------------------------+-----------------+----------------------+----------------------+
| 99064cb8-46b3-4417-9d41-c29990da1924 | overcloud | 0756ea2488d547d3ac5e053471f0a0df | UPDATE_COMPLETE | 2019-11-01T09:09:32Z | 2019-11-04T03:23:58Z |
+--------------------------------------+------------+----------------------------------+-----------------+----------------------+----------------------+
(undercloud) [stack@instack ~]$ openstack server list
+--------------------------------------+------------------------+--------+------------------------+----------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------------------------+--------+------------------------+----------------+---------+
| b1443901-99eb-4ff8-b43b-a47a5216d81b | overcloud-compute-1 | ACTIVE | ctlplane=192.168.24.12 | overcloud-full | compute |
| b714973f-1fb5-4cc2-8a2d-2d658d10d2ec | overcloud-compute-2 | ACTIVE | ctlplane=192.168.24.9 | overcloud-full | compute |
| 4c3be5b8-1db9-4884-9364-4cf698f8ade2 | overcloud-controller-2 | ACTIVE | ctlplane=192.168.24.10 | overcloud-full | control |
| 993e1301-7436-4cb9-86b1-c8049ff44639 | overcloud-controller-0 | ACTIVE | ctlplane=192.168.24.8 | overcloud-full | control |
| f8dd39ff-3a92-4ea7-9996-2c34e998ce86 | overcloud-controller-1 | ACTIVE | ctlplane=192.168.24.6 | overcloud-full | control |
| 1694e8fa-d6e5-48a8-9a70-e3f68c3ef109 | overcloud-compute-0 | ACTIVE | ctlplane=192.168.24.7 | overcloud-full | compute |
+--------------------------------------+------------------------+--------+------------------------+----------------+---------+
[root@overcloud-controller-0 ~]# pcs status
Cluster name: tripleo_cluster
Stack: corosync
Current DC: overcloud-controller-1 (version 1.1.20-5.el7_7.1-3c4c782f70) - partition with quorum
Last updated: Mon Nov 11 02:55:20 2019
Last change: Mon Nov 4 05:09:55 2019 by root via cibadmin on overcloud-controller-1
14 nodes configured
60 resources configured
Online: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ]
RemoteOnline: [ overcloud-novacomputeiha-0 overcloud-novacomputeiha-1 ]
GuestOnline: [ galera-bundle-0@overcloud-controller-2 galera-bundle-1@overcloud-controller-0 galera-bundle-2@overcloud-controller-1 rabbitmq-bundle-0@overcloud-controller-2 rabbitmq-bundle-1@overcloud-controller-0 rabbitmq-bundle-2@overcloud-controller-1 redis-bundle-0@overcloud-controller-2 redis-bundle-1@overcloud-controller-0 redis-bundle-2@overcloud-controller-1 ]
Full list of resources:
overcloud-novacomputeiha-0 (ocf::pacemaker:remote): Starting overcloud-controller-0
overcloud-novacomputeiha-1 (ocf::pacemaker:remote): Started overcloud-controller-2 (Monitoring)
Environment
Red Hat OpenStack Platform 13
Red Hat OpenStack Platform 16
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.