After series upgrade (bionic->focal) of gnocchi and its subordinate hacluster, hacluster hanode-relation-changed hook errors because the crm parameters are out of order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi Charm |
New
|
Undecided
|
Unassigned | ||
OpenStack HA Cluster Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Seen together with ~gabor.meszaros . After having upgraded gnocchi and its corresponding hacluster subordinate, the hacluster hanode-
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Configuring and (maybe) restarting corosync
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Writing file /etc/systemd/
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Writing file /etc/systemd/
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Writing file /etc/default/
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Writing file /etc/corosync/
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Changing permissions on existing content: 33024 -> 256
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Changing permissions on existing content: 33056 -> 288
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Found sufficient values in local config to populate corosync.conf
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Writing file /etc/corosync/
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Pacemaker is ready
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Applying global cluster configuration
2021-09-06 10:23:37 DEBUG juju-log hanode:20: Configuring no-quorum-policy to stop
2021-09-06 10:23:38 WARNING hanode-
2021-09-06 10:23:39 WARNING hanode-
2021-09-06 10:23:39 DEBUG juju-log hanode:20: Configuring cluster-
2021-09-06 10:23:39 WARNING hanode-
2021-09-06 10:23:39 DEBUG juju-log hanode:20: Checking monitor host configuration
2021-09-06 10:23:40 INFO juju-log hanode:20: Disabling STONITH
2021-09-06 10:23:41 INFO juju-log hanode:20: Setting cluster symmetry
2021-09-06 10:23:41 WARNING juju-log hanode:20: Inconsistent or absent enable-resources setting []
2021-09-06 10:23:41 WARNING juju-log hanode:20: Unable to calculated desired symmetric-cluster setting
2021-09-06 10:23:41 DEBUG juju-log hanode:20: Deleting Resources
2021-09-06 10:23:42 DEBUG juju-log hanode:20: Configuring Resources: {'res_gnocchi_
2021-09-06 10:23:43 INFO juju-log hanode:20: Updating resource res_gnocchi_
2021-09-06 10:23:43 DEBUG juju-log hanode:20: File content:
b'primitive res_gnocchi_
2021-09-06 10:23:43 INFO juju-log hanode:20: Update command: crm configure load update /tmp/tmpbfect71t
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING juju-log hanode:20: crm command exit code: 1
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 WARNING hanode-
2021-09-06 10:23:44 ERROR juju.worker.
$ juju run -u hacluster-gnocchi/4 -- relation-get -r 67 json_resource_
{"res_gnocchi_
A workaround is setting the data on the relation as follows:
{"res_gnocchi_
tags: |
added: series-upgrade removed: charm-upgrade |
summary: |
- After charm-upgrade of gnocchi and its subordinate hacluster, hacluster - hanode-relation-changed hook errors because the crm parameters are out - of order + After series upgrade (bionic->focal) of gnocchi and its subordinate + hacluster, hacluster hanode-relation-changed hook errors because the crm + parameters are out of order |
tags: | added: aubergine |
Gabor do you remember which revisions of these two charms were in place before and after the upgrade? Thanks!