hook failed: "leader-elected"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi Charm |
New
|
Undecided
|
Unassigned |
Bug Description
hook failed: "leader-elected"
---
/var/log/
2021-09-26 19:22:11,106 [295842] INFO gnocchi.service: Gnocchi version 4.3.4
2021-09-26 19:22:11,331 [295842] INFO gnocchi.cli.manage: Upgrading indexer SQLAlchemyIndexer: mysql+pymysql:
2021-09-26 19:22:11,337 [295842] WARNING py.warnings: /usr/lib/
result = self._query(query)
2021-09-26 19:22:11,347 [295842] WARNING oslo_db.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
cursor.
File "/usr/lib/
result = self._query(query)
File "/usr/lib/
conn.query(q)
File "/usr/lib/
self.
File "/usr/lib/
result.read()
File "/usr/lib/
first_packet = self.connection
File "/usr/lib/
packet.
File "/usr/lib/
err.
File "/usr/lib/
raise errorclass(errno, errval)
pymysql.
2021-09-26 19:22:11,349 [295842] CRITICAL root: Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
cursor.
File "/usr/lib/
result = self._query(query)
File "/usr/lib/
conn.query(q)
File "/usr/lib/
self.
File "/usr/lib/
result.read()
File "/usr/lib/
first_packet = self.connection
File "/usr/lib/
packet.
File "/usr/lib/
err.
File "/usr/lib/
raise errorclass(errno, errval)
pymysql.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
index.upgrade()
File "/usr/lib/
Base.
File "/usr/lib/
bind.
File "/usr/lib/
visitorcall
File "/usr/lib/
return meth(obj, **kw)
File "/usr/lib/
self.
File "/usr/lib/
return meth(obj, **kw)
File "/usr/lib/
self.
File "/usr/lib/
return meth(self, multiparams, params)
File "/usr/lib/
return connection.
File "/usr/lib/
ret = self._execute_
File "/usr/lib/
self.
File "/usr/lib/
util.
File "/usr/lib/
reraise(
File "/usr/lib/
raise value.with_
File "/usr/lib/
self.
File "/usr/lib/
cursor.
File "/usr/lib/
result = self._query(query)
File "/usr/lib/
conn.query(q)
File "/usr/lib/
self.
File "/usr/lib/
result.read()
File "/usr/lib/
first_packet = self.connection
File "/usr/lib/
packet.
File "/usr/lib/
err.
File "/usr/lib/
raise errorclass(errno, errval)
oslo_db.
[SQL:
CREATE TABLE archive_policy (
name VARCHAR(255) NOT NULL,
back_window INTEGER NOT NULL,
definition TEXT NOT NULL,
aggregation_
PRIMARY KEY (name)
)CHARSET=utf8 ENGINE=InnoDB
]
(Background on this error at: http://
---
juju status
Model Controller Cloud/Region Version SLA Timestamp
openstack maas-controller maas/default 2.8.10 unsupported 19:21:44Z
App Version Status Scale Charm Store Channel Rev OS Message
ceilometer 14.0.0 blocked 3 ceilometer charmstore 284 ubuntu Run the ceilometer-upgrade action on the leader to initialize ceilometer and gnocchi
ceilometer-
ceph-mon 15.2.12 active 3 ceph-mon charmstore 55 ubuntu Unit is ready and clustered
ceph-osd 15.2.12 active 3 ceph-osd charmstore 308 ubuntu Unit is ready (1 OSD)
ceph-radosgw 15.2.12 active 3 ceph-radosgw charmstore 296 ubuntu Unit is ready
cinder 16.2.1 active 3 cinder charmstore 310 ubuntu Unit is ready
cinder-ceph 16.2.1 active 3 cinder-ceph charmstore 262 ubuntu Unit is ready
cinder-hacluster active 3 hacluster charmstore 76 ubuntu Unit is ready and clustered
cinder-mysql-router 8.0.26 active 3 mysql-router charmstore 8 ubuntu Unit is ready
dashboard-
easyrsa 3.0.1 active 1 easyrsa charmstore 342 ubuntu Certificate Authority connected.
etcd 3.1.10 active 3 etcd charmstore 569 ubuntu Healthy with 3 known peers
glance 20.0.1 active 3 glance charmstore 305 ubuntu Unit is ready
glance-hacluster active 3 hacluster charmstore 76 ubuntu Unit is ready and clustered
glance-mysql-router 8.0.26 active 3 mysql-router charmstore 8 ubuntu Unit is ready
glance-
gnocchi 4.3.4 error 3 gnocchi charmstore 48 ubuntu hook failed: "leader-elected"
gnocchi-hacluster active 3 hacluster charmstore 78 ubuntu Unit is ready and clustered
gnocchi-
keystone 17.0.0 active 3 keystone charmstore 323 ubuntu Application Ready
keystone-hacluster active 3 hacluster charmstore 76 ubuntu Unit is ready and clustered
keystone-
memcached active 1 memcached charmstore 32 ubuntu Unit is ready
mongodb unknown 0 mongodb charmstore 60 ubuntu
mysql-innodb-
neutron-api 16.3.0 active 3 neutron-api charmstore 294 ubuntu Unit is ready
neutron-
neutron-
neutron-
nova-cloud-
nova-cloud-
nova-compute 21.2.0 active 3 nova-compute charmstore 327 ubuntu Unit is ready
nova-mysql-router 8.0.26 active 3 mysql-router charmstore 8 ubuntu Unit is ready
ntp 3.5 active 3 ntp charmstore 45 ubuntu chrony: Ready
openstack-dashboard 18.3.2 active 3 openstack-dashboard charmstore 313 ubuntu Unit is ready
openstack-
openstack-trove unknown 0 openstack-trove charmstore 4 ubuntu
ovn-central 20.03.1 active 3 ovn-central charmstore 7 ubuntu Unit is ready
ovn-chassis 20.03.2 active 3 ovn-chassis charmstore 14 ubuntu Unit is ready
placement 3.0.0 active 3 placement charmstore 19 ubuntu Unit is ready
placement-hacluster active 3 hacluster charmstore 76 ubuntu Unit is ready and clustered
placement-
rabbitmq-server 3.8.2 active 3 rabbitmq-server charmstore 110 ubuntu Unit is ready and clustered
radosgw-hacluster active 3 hacluster charmstore 76 ubuntu Unit is ready and clustered
vault 1.5.4 active 3 vault charmstore 46 ubuntu Unit is ready (active: false, mlock: disabled)
vault-hacluster active 3 hacluster charmstore 76 ubuntu Unit is ready and clustered
vault-mysql-router 8.0.26 active 3 mysql-router charmstore 8 ubuntu Unit is ready
Unit Workload Agent Machine Public address Ports Message
ceilometer/4 blocked idle 9/lxd/54 10.11.11.186 Run the ceilometer-upgrade action on the leader to initialize ceilometer and gnocchi
ceilometer-
ceilometer/5* blocked idle 10/lxd/33 10.11.11.187 Run the ceilometer-upgrade action on the leader to initialize ceilometer and gnocchi
ceilometer-
ceilometer/6 blocked idle 13/lxd/29 10.11.11.188 Run the ceilometer-upgrade action on the leader to initialize ceilometer and gnocchi
ceilometer-
ceph-mon/8* active idle 10/lxd/4 10.11.11.45 Unit is ready and clustered
ceph-mon/9 active idle 9/lxd/35 10.11.11.122 Unit is ready and clustered
ceph-mon/10 active idle 13/lxd/4 10.11.11.128 Unit is ready and clustered
ceph-osd/3* active idle 9 10.11.11.55 Unit is ready (1 OSD)
ceph-osd/4 active idle 10 10.11.11.40 Unit is ready (1 OSD)
ceph-osd/5 active idle 13 10.11.11.123 Unit is ready (1 OSD)
ceph-radosgw/3 active idle 9/lxd/4 10.11.11.1 443/tcp Unit is ready
radosgw-
ceph-radosgw/5 active idle 10/lxd/5 10.11.11.46 443/tcp Unit is ready
radosgw-
ceph-radosgw/6* active idle 13/lxd/5 10.11.11.129 443/tcp Unit is ready
radosgw-
cinder/4* active idle 9/lxd/5 10.11.11.2 8776/tcp Unit is ready
cinder-ceph/12 active idle 10.11.11.2 Unit is ready
cinder-
cinder-
cinder/5 active idle 10/lxd/6 10.11.11.47 8776/tcp Unit is ready
cinder-ceph/17* active idle 10.11.11.47 Unit is ready
cinder-
cinder-
cinder/6 active idle 13/lxd/8 10.11.11.132 8776/tcp Unit is ready
cinder-ceph/18 active idle 10.11.11.132 Unit is ready
cinder-
cinder-
easyrsa/3* active idle 9/lxd/32 10.11.11.39 Certificate Authority connected.
etcd/12* active idle 13/lxd/16 10.11.11.142 2379/tcp Healthy with 3 known peers
etcd/13 active idle 9/lxd/37 10.11.11.143 2379/tcp Healthy with 3 known peers
etcd/14 active idle 10/lxd/19 10.11.11.144 2379/tcp Healthy with 3 known peers
glance-
glance/11 active idle 13/lxd/9 10.11.11.133 9292/tcp Unit is ready
glance-
glance-
glance/12 active idle 9/lxd/47 10.11.11.167 9292/tcp Unit is ready
glance-
glance-
glance/13* active idle 10/lxd/26 10.11.11.168 9292/tcp Unit is ready
glance-
glance-
gnocchi/8* error idle 9/lxd/52 10.11.11.182 8041/tcp hook failed: "leader-elected"
gnocchi-
gnocchi-
gnocchi/9 active idle 10/lxd/31 10.11.11.180 8041/tcp Unit is ready
gnocchi-
gnocchi-
gnocchi/10 active idle 13/lxd/27 10.11.11.181 8041/tcp Unit is ready
gnocchi-
gnocchi-
keystone/16 active idle 9/lxd/34 10.11.11.118 5000/tcp Unit is ready
keystone-
keystone-
keystone/17* active idle 10/lxd/15 10.11.11.119 5000/tcp Unit is ready
keystone-
keystone-
keystone/18 active idle 13/lxd/3 10.11.11.127 5000/tcp Unit is ready
keystone-
keystone-
memcached/4* active idle 9/lxd/31 10.11.11.38 11211/tcp Unit is ready
mysql-innodb-
mysql-innodb-
mysql-innodb-
neutron-api/5 active idle 9/lxd/19 10.11.11.9 9696/tcp Unit is ready
neutron-
neutron-
neutron-
neutron-api/6 active idle 10/lxd/7 10.11.11.48 9696/tcp Unit is ready
neutron-
neutron-
neutron-
neutron-api/7* active idle 13/lxd/7 10.11.11.131 9696/tcp Unit is ready
neutron-
neutron-
neutron-
nova-cloud-
nova-
nova-
nova-cloud-
nova-
nova-
nova-cloud-
nova-
nova-
nova-compute/5 active idle 9 10.11.11.55 Unit is ready
ntp/24* active idle 10.11.11.55 123/udp chrony: Ready
ovn-chassis/30 active idle 10.11.11.55 Unit is ready
nova-compute/6* active idle 10 10.11.11.40 Unit is ready
ntp/46 active idle 10.11.11.40 123/udp chrony: Ready
ovn-chassis/29 active idle 10.11.11.40 Unit is ready
nova-compute/7 active idle 13 10.11.11.123 Unit is ready
ntp/54 active idle 10.11.11.123 123/udp chrony: Ready
ovn-chassis/31* active idle 10.11.11.123 Unit is ready
openstack-
dashboard-
openstack-
openstack-
dashboard-
openstack-
openstack-
dashboard-
openstack-
ovn-central/28 active idle 9/lxd/46 10.11.11.165 6641/tcp,6642/tcp Unit is ready
ovn-central/29 active idle 10/lxd/25 10.11.11.166 6641/tcp,6642/tcp Unit is ready (leader: ovnnb_db northd: active)
ovn-central/30* active idle 13/lxd/23 10.11.11.164 6641/tcp,6642/tcp Unit is ready (leader: ovnsb_db)
placement/6 active idle 9/lxd/24 10.11.11.16 8778/tcp Unit is ready
placement-
placement-
placement/7 active idle 10/lxd/13 10.11.11.113 8778/tcp Unit is ready
placement-
placement-
placement/8* active idle 13/lxd/14 10.11.11.138 8778/tcp Unit is ready
placement-
placement-
rabbitmq-server/3* active idle 9/lxd/1 10.11.11.65 5672/tcp Unit is ready and clustered
rabbitmq-server/4 active idle 10/lxd/12 10.11.11.112 5672/tcp Unit is ready and clustered
rabbitmq-server/5 active idle 13/lxd/6 10.11.11.130 5672/tcp Unit is ready and clustered
vault/11* active idle 9/lxd/38 10.11.11.145 8200/tcp Unit is ready (active: false, mlock: disabled)
vault-
vault-
vault/12 active idle 10/lxd/20 10.11.11.146 8200/tcp Unit is ready (active: true, mlock: disabled)
vault-hacluster/8 active idle 10.11.11.146 Unit is ready and clustered
vault-
vault/13 active idle 13/lxd/17 10.11.11.147 8200/tcp Unit is ready (active: false, mlock: disabled)
vault-
vault-
Machine State DNS Inst id Series AZ Message
9 started 10.11.11.55 orcus focal NL-Dronten Deployed
9/lxd/1 started 10.11.11.65 juju-16c2c5-9-lxd-1 focal NL-Dronten Container started
9/lxd/4 started 10.11.11.1 juju-16c2c5-9-lxd-4 focal NL-Dronten Container started
9/lxd/5 started 10.11.11.2 juju-16c2c5-9-lxd-5 focal NL-Dronten Container started
9/lxd/19 started 10.11.11.9 juju-16c2c5-
9/lxd/20 started 10.11.11.10 juju-16c2c5-
9/lxd/21 started 10.11.11.11 juju-16c2c5-
9/lxd/24 started 10.11.11.16 juju-16c2c5-
9/lxd/26 started 10.11.11.18 juju-16c2c5-
9/lxd/31 started 10.11.11.38 juju-16c2c5-
9/lxd/32 started 10.11.11.39 juju-16c2c5-
9/lxd/34 started 10.11.11.118 juju-16c2c5-
9/lxd/35 started 10.11.11.122 juju-16c2c5-
9/lxd/37 started 10.11.11.143 juju-16c2c5-
9/lxd/38 started 10.11.11.145 juju-16c2c5-
9/lxd/46 started 10.11.11.165 juju-16c2c5-
9/lxd/47 started 10.11.11.167 juju-16c2c5-
9/lxd/52 started 10.11.11.182 juju-16c2c5-
9/lxd/54 started 10.11.11.186 juju-16c2c5-
10 started 10.11.11.40 titan focal default Deployed
10/lxd/4 started 10.11.11.45 juju-16c2c5-
10/lxd/5 started 10.11.11.46 juju-16c2c5-
10/lxd/6 started 10.11.11.47 juju-16c2c5-
10/lxd/7 started 10.11.11.48 juju-16c2c5-
10/lxd/10 started 10.11.11.110 juju-16c2c5-
10/lxd/11 started 10.11.11.111 juju-16c2c5-
10/lxd/12 started 10.11.11.112 juju-16c2c5-
10/lxd/13 started 10.11.11.113 juju-16c2c5-
10/lxd/15 started 10.11.11.119 juju-16c2c5-
10/lxd/17 started 10.11.11.121 juju-16c2c5-
10/lxd/19 started 10.11.11.144 juju-16c2c5-
10/lxd/20 started 10.11.11.146 juju-16c2c5-
10/lxd/25 started 10.11.11.166 juju-16c2c5-
10/lxd/26 started 10.11.11.168 juju-16c2c5-
10/lxd/31 started 10.11.11.180 juju-16c2c5-
10/lxd/33 started 10.11.11.187 juju-16c2c5-
13 started 10.11.11.123 makemake focal default Deployed
13/lxd/1 started 10.11.11.125 juju-16c2c5-
13/lxd/3 started 10.11.11.127 juju-16c2c5-
13/lxd/4 started 10.11.11.128 juju-16c2c5-
13/lxd/5 started 10.11.11.129 juju-16c2c5-
13/lxd/6 started 10.11.11.130 juju-16c2c5-
13/lxd/7 started 10.11.11.131 juju-16c2c5-
13/lxd/8 started 10.11.11.132 juju-16c2c5-
13/lxd/9 started 10.11.11.133 juju-16c2c5-
13/lxd/10 started 10.11.11.134 juju-16c2c5-
13/lxd/11 started 10.11.11.135 juju-16c2c5-
13/lxd/14 started 10.11.11.138 juju-16c2c5-
13/lxd/16 started 10.11.11.142 juju-16c2c5-
13/lxd/17 started 10.11.11.147 juju-16c2c5-
13/lxd/23 started 10.11.11.164 juju-16c2c5-
13/lxd/24 started 10.11.11.170 juju-16c2c5-
13/lxd/27 started 10.11.11.181 juju-16c2c5-
13/lxd/29 started 10.11.11.188 juju-16c2c5-