Hi, I am stuck after trying several different builds of Openstack-telemetry.
My deployment goes fine until applications try to connect to MySQL.
The three nodes for MySQL are up and running without issue and can be connected to through localhost on port 3306 internally.
Other applications, namely: AODH, Cinder, Glance, Gnocchi, Keystone, Neutron, Nova, cannot connect to the MySQL nodes.
In the logs on each of these failing applications, it shows that they were unable to connect to MySQL at 127.0.0.1:3306. In their MySQL conf file it is pointed towards 127.0.0.1.
Why are they trying to connect using 127.0.0.1?
Is there some special mapping back to the actual active IP of the MySQL cluster?
So you’re running OpenStack Xena on Focal nodes. You also appear to be mixing legacy charms (cs: prefix) that do not support channels with channel configuration:
charm: cs:mysql-innodb-cluster
channel: stable
I recommend that you use actual channel charms (ch: prefix). Here are some example charm configurations from the major charm groups (MySQL, OpenStack, Ceph, OVN) to get you going:
The stable bundles are going to be updated soon. In the meantime, you can just replace the charm: values and add channel: lines as per my earlier comment.