Charm holds in "waiting" state, "'shared-db' incomplete"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack API Layer |
Expired
|
Undecided
|
Unassigned | ||
OpenStack Octavia Charm |
Expired
|
Undecided
|
Unassigned | ||
mysql-shared charm interface |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi I just re-deployed for 3rd time the whole cloud looking to get Octavia up,
octavia/0* waiting idle 6 10.10.0.18 9876/tcp 'shared-
Our environment have 4 maas spaces:
- public: 10.50.0.0/24,
- admin: 10.100.0.0/24,
- internal: 10.101.0.0/24,
- cluster: 10.102.0.0/24
Then the percona-cluster charm is aliased as "mysql",
Octavia is being deployed in it is own baremetal node, to get the subordinate relation neutron-openvswitch map accordingly the bridges:
bond0.99:physnet1
bond0.104:external
The cloud is working, nova, cinder, ceph, keystone, glance, vault, barbican not a single problem in the current deployment, except for this charm which is not connecting to mysql. One thing I noticed is in the config file in the Octavia host (/etc/octavia/
-------
[DEFAULT]
debug = True
[house_keeping]
[controller_worker]
amp_secgroup_list = 0228955f-
amp_flavor_id = 0f8d7a93-
amp_boot_
amp_image_tag = octavia-amphora
amp_active_retries = 180
# This certificate is installed on the ``Amphorae`` and used for validating
# the authenticity of the ``Octavia`` controller.
client_ca = /etc/octavia/
network_driver = allowed_
compute_driver = compute_nova_driver
amphora_driver = amphora_
loadbalancer_
.
.
.
-------
I expect a database configuration line in the DEFAULT block, am I wrong? Seems the charm is not providing it. I was wondering if for some reason the network spaces or something else is breaking the charm to set the database configuration in the config file.
Octavia health-manager logs shows:
{{{
2019-03-16 11:22:03.698 4605 DEBUG futurist.periodics [-] Submitting periodic callback 'octavia.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics [-] Failed to call periodic 'octavia.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics Traceback (most recent call last):
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics context)
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics cursor.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics sqlite3.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics The above exception was the direct cause of the following exception:
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics Traceback (most recent call last):
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics work()
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics return self.callback(
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics return f(*args, **kwargs)
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics hm.health_check()
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics lock_session.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics self.force_
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics six.reraise(
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics raise value
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics lock_session)
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics self.model_
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics ret = list(self[0:1])
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics return list(res)
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics return self._execute_
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics result = conn.execute(
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics return meth(self, multiparams, params)
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics return connection.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics compiled_sql, distilled_params
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics context)
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics util.raise_
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics reraise(
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics raise value.with_
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics context)
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics File "/usr/lib/
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics cursor.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics oslo_db.
2019-03-16 11:22:03.702 4605 ERROR futurist.periodics
}}}
How can I help to debug this bug?
Thanks.
description: | updated |
tags: | added: rocky |
tags: | added: bionic lbaasv2 openstack |
description: | updated |
description: | updated |
description: | updated |
Changed in layer-openstack-api: | |
status: | New → Incomplete |
Changed in charm-interface-mysql-shared: | |
status: | New → Incomplete |
Can you share your bundle including network space bindings for all charms?
If the shared-db endpoint on the octavia charm and the associated endpoint on the percona-cluster charm are not bound to the same network space you might get this issue.