attempt to use mysql before it is clustered results in failure

Bug #1830754 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard Charm
Invalid
High
Unassigned

Bug Description

the openstack-dashboard charm tried to connect to mysql before the cluster was ready, and this resulted in a failued hook:

from openstack-dashboard unit 2 log:
2019-05-27 20:46:39 DEBUG shared-db-relation-changed pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '192.168.33.11' ([Errno 113] No route to host)")

from mysql unit 0 log, shortly afterwards:
2019-05-27 20:46:41 DEBUG juju-log Waiting on hacluster to complete clustering, not clustered yet.

bundle:
http://paste.ubuntu.com/p/qNc2yN9srp/

Revision history for this message
Jason Hobbs (jason-hobbs) wrote :
Changed in charm-openstack-dashboard:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Konstantinos Kaskavelis (kaskavel) wrote :

Closing this due to inactivity (low number of occurrences, and no hit for more than one year)

Changed in charm-openstack-dashboard:
status: Triaged → Invalid
tags: added: solutions-qa-expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.