2021-06-22 11:41:52 |
Chris MacNaughton |
description |
I attempted to run the update-ring action to remove node1 on a freshly deployed OpenStack, but it remove all nodes except the juju leader:
before running the action:
$ juju ssh hacluster/0 sudo crm status
Cluster Summary:
* Stack: corosync
* Current DC: juju-875fec-zaza-fdb2897b5f67-4 (version 2.0.3-4b1f869f0f) - partition with quorum
* Last updated: Tue Jun 22 09:20:19 2021
* Last change: Tue Jun 22 08:43:07 2021 by root via cibadmin on juju-875fec-zaza-fdb2897b5f67-3
* 4 nodes configured
* 3 resource instances configured
Node List:
* Online: [ juju-875fec-zaza-fdb2897b5f67-3 juju-875fec-zaza-fdb2897b5f67-4 juju-875fec-zaza-fdb2897b5f67-5 ]
* OFFLINE: [ node1 ]
Full List of Resources:
* res_ganesha_997cc80_vip (ocf::heartbeat:IPaddr2): Started juju-875fec-zaza-fdb2897b5f67-3
* res_manila_share_manila_share (systemd:manila-share): Started juju-875fec-zaza-fdb2897b5f67-4
* res_nfs_ganesha_nfs_ganesha (systemd:nfs-ganesha): FAILED juju-875fec-zaza-fdb2897b5f67-5
Failed Resource Actions:
* res_nfs_ganesha_nfs_ganesha_start_0 on juju-875fec-zaza-fdb2897b5f67-5 'error' (1): call=373, status='complete', exitreason='', last-rc-
change='2021-06-22 09:20:16Z', queued=0ms, exec=2681ms
Connection to 10.5.1.98 closed.
----
$ juju run-action hacluster/0 update-ring --wait i-really-mean-it=true
unit-hacluster-0:
UnitId: hacluster/0
id: "8"
results:
result: noop
status: completed
timing:
completed: 2021-06-22 09:23:40 +0000 UTC
enqueued: 2021-06-22 09:21:31 +0000 UTC
started: 2021-06-22 09:23:39 +0000 UTC
after running the action:
$ juju ssh hacluster/0 sudo crm status
Cluster Summary:
* Stack: corosync
* Current DC: NONE
* Last updated: Tue Jun 22 09:23:46 2021
* Last change: Tue Jun 22 09:23:29 2021 by root via crm_node on juju-875fec-zaza-fdb2897b5f67-3
* 1 node configured
* 3 resource instances configured
Node List:
* Online: [ juju-875fec-zaza-fdb2897b5f67-3 ]
Full List of Resources:
* res_ganesha_997cc80_vip (ocf::heartbeat:IPaddr2): Started juju-875fec-zaza-fdb2897b5f67-3
* res_manila_share_manila_share (systemd:manila-share): Started juju-875fec-zaza-fdb2897b5f67-3
* res_nfs_ganesha_nfs_ganesha (systemd:nfs-ganesha): Stopped
Failed Resource Actions:
* res_nfs_ganesha_nfs_ganesha_start_0 on juju-875fec-zaza-fdb2897b5f67-3 'error' (1): call=311, status='complete', exitreason='', last-rc-change='2021-06-22 09:23:43Z', queued=0ms, exec=2705ms
Connection to 10.5.1.98 closed. |
I attempted to run the update-ring action to remove node1 on a freshly deployed OpenStack, but it remove all nodes except the juju leader.
Versions:
charm-hacluster from openstack-charmers-next rev 176
focal-victoria deploy
juju controller: 2.8.10
juju client: 2.8.11-bionic-amd64
before running the action:
$ juju ssh hacluster/0 sudo crm status
Cluster Summary:
* Stack: corosync
* Current DC: juju-875fec-zaza-fdb2897b5f67-4 (version 2.0.3-4b1f869f0f) - partition with quorum
* Last updated: Tue Jun 22 09:20:19 2021
* Last change: Tue Jun 22 08:43:07 2021 by root via cibadmin on juju-875fec-zaza-fdb2897b5f67-3
* 4 nodes configured
* 3 resource instances configured
Node List:
* Online: [ juju-875fec-zaza-fdb2897b5f67-3 juju-875fec-zaza-fdb2897b5f67-4 juju-875fec-zaza-fdb2897b5f67-5 ]
* OFFLINE: [ node1 ]
Full List of Resources:
* res_ganesha_997cc80_vip (ocf::heartbeat:IPaddr2): Started juju-875fec-zaza-fdb2897b5f67-3
* res_manila_share_manila_share (systemd:manila-share): Started juju-875fec-zaza-fdb2897b5f67-4
* res_nfs_ganesha_nfs_ganesha (systemd:nfs-ganesha): FAILED juju-875fec-zaza-fdb2897b5f67-5
Failed Resource Actions:
* res_nfs_ganesha_nfs_ganesha_start_0 on juju-875fec-zaza-fdb2897b5f67-5 'error' (1): call=373, status='complete', exitreason='', last-rc-
change='2021-06-22 09:20:16Z', queued=0ms, exec=2681ms
Connection to 10.5.1.98 closed.
----
$ juju run-action hacluster/0 update-ring --wait i-really-mean-it=true
unit-hacluster-0:
UnitId: hacluster/0
id: "8"
results:
result: noop
status: completed
timing:
completed: 2021-06-22 09:23:40 +0000 UTC
enqueued: 2021-06-22 09:21:31 +0000 UTC
started: 2021-06-22 09:23:39 +0000 UTC
after running the action:
$ juju ssh hacluster/0 sudo crm status
Cluster Summary:
* Stack: corosync
* Current DC: NONE
* Last updated: Tue Jun 22 09:23:46 2021
* Last change: Tue Jun 22 09:23:29 2021 by root via crm_node on juju-875fec-zaza-fdb2897b5f67-3
* 1 node configured
* 3 resource instances configured
Node List:
* Online: [ juju-875fec-zaza-fdb2897b5f67-3 ]
Full List of Resources:
* res_ganesha_997cc80_vip (ocf::heartbeat:IPaddr2): Started juju-875fec-zaza-fdb2897b5f67-3
* res_manila_share_manila_share (systemd:manila-share): Started juju-875fec-zaza-fdb2897b5f67-3
* res_nfs_ganesha_nfs_ganesha (systemd:nfs-ganesha): Stopped
Failed Resource Actions:
* res_nfs_ganesha_nfs_ganesha_start_0 on juju-875fec-zaza-fdb2897b5f67-3 'error' (1): call=311, status='complete', exitreason='', last-rc-change='2021-06-22 09:23:43Z', queued=0ms, exec=2705ms
Connection to 10.5.1.98 closed. |
|