Following upgrading a controller from 2.8.10 to 2.9 multiple applications within a model on that controller lost their leader, resulting in hook errors which are not recoverable.
ubuntu@prodymcprodface-cpe-f4b88f49-d1a9-4d98-b8c1-db1b25e5d641:~$ juju status -m controller
Model Controller Cloud/Region Version SLA Timestamp
controller foundations-maas maas_cloud 2.9.0 unsupported 12:54:59Z
Machine State DNS Inst id Series AZ Message
0 started 10.246.64.200 ybxnk6 bionic zone1 Deployed
1 started 10.246.64.201 juju-2 bionic zone2 Deployed
2 started 10.246.64.202 juju-3 bionic zone3 Deployed
ubuntu@prodymcprodface-cpe-f4b88f49-d1a9-4d98-b8c1-db1b25e5d641:~$ juju status keystone
Model Controller Cloud/Region Version SLA Timestamp
openstack foundations-maas maas_cloud 2.8.10 unsupported 12:55:14Z
App Version Status Scale Charm Store Rev OS Notes
hacluster-keystone active 3 hacluster jujucharms 76 ubuntu
keystone 17.0.0 active 3 keystone jujucharms 323 ubuntu
keystone-ldap 17.0.0 active 3 keystone-ldap jujucharms 35 ubuntu
logrotated active 3 logrotated jujucharms 3 ubuntu
public-policy-routing active 3 advanced-routing jujucharms 4 ubuntu
Unit Workload Agent Machine Public address Ports Message
keystone/0 error idle 0/lxd/7 10.244.8.176 5000/tcp hook failed: "config-changed"
hacluster-keystone/2 active idle 10.244.8.176 Unit is ready and clustered
keystone-ldap/2 active executing 10.244.8.176 Unit is ready
logrotated/47 active idle 10.244.8.176 Unit is ready.
public-policy-routing/30 active idle 10.244.8.176 Unit is ready
keystone/1 active executing 2/lxd/5 10.244.8.152 5000/tcp Unit is ready
hacluster-keystone/0 active idle 10.244.8.152 Unit is ready and clustered
keystone-ldap/0 active idle 10.244.8.152 Unit is ready
logrotated/15 active idle 10.244.8.152 Unit is ready.
public-policy-routing/6 active idle 10.244.8.152 Unit is ready
keystone/2 active executing 4/lxd/5 10.244.8.179 5000/tcp Unit is ready
hacluster-keystone/1 active idle 10.244.8.179 Unit is ready and clustered
keystone-ldap/1* active idle 10.244.8.179 Unit is ready
logrotated/39 active idle 10.244.8.179 Unit is ready.
public-policy-routing/23 active idle 10.244.8.179 Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.244.8.128 azurill bionic zone1 Deployed
0/lxd/7 started 10.244.8.176 juju-5f5691-0-lxd-7 bionic zone1 Container started
2 started 10.244.8.130 meowth bionic zone2 Deployed
2/lxd/5 started 10.244.8.152 juju-5f5691-2-lxd-5 bionic zone2 Container started
4 started 10.244.8.131 taillow bionic zone3 Deployed
4/lxd/5 started 10.244.8.179 juju-5f5691-4-lxd-5 bionic zone3 Container started
Occasionally the keystone application will seemingly elect a leader, then immediately error:
Unit Workload Agent Machine Public address Ports Message
keystone/0 error idle 0/lxd/7 10.244.8.176 5000/tcp hook failed: "leader-elected"
hacluster-keystone/2* active idle 10.244.8.176 Unit is ready and clustered
keystone-ldap/2 active idle 10.244.8.176 Unit is ready
logrotated/47 active executing 10.244.8.176 Unit is ready.
public-policy-routing/30 active idle 10.244.8.176 Unit is ready
keystone/1 error idle 2/lxd/5 10.244.8.152 5000/tcp hook failed: "leader-elected"
hacluster-keystone/0 active idle 10.244.8.152 Unit is ready and clustered
keystone-ldap/0* active idle 10.244.8.152 Unit is ready
logrotated/15 active idle 10.244.8.152 Unit is ready.
public-policy-routing/6 active idle 10.244.8.152 Unit is ready
keystone/2* error idle 4/lxd/5 10.244.8.179 5000/tcp hook failed: "leader-elected"
hacluster-keystone/1 active idle 10.244.8.179 Unit is ready and clustered
keystone-ldap/1 active idle 10.244.8.179 Unit is ready
logrotated/39 active idle 10.244.8.179 Unit is ready.
public-policy-routing/23* active idle 10.244.8.179 Unit is ready
Openstack model crashdump