"Failed to connect to MySQL" if mysql-innodb-cluster is momentarily unavailable.
Bug #1973177 reported by
Liam Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Router Charm |
Fix Committed
|
High
|
Liam Young | ||
OpenStack Bundles |
New
|
Undecided
|
Unassigned |
Bug Description
One of the causes of a charm going into a "Failed to connect to MySQL" state is that a connection to the database failed when the db-router charm attempted to restart the db-router service. Currently the charm will only retry the connection in response to one return code from the mysql. The return code is 2013 which is "Message: Lost connection to MySQL server during query" *1. However, if the connection fails to be established in the first place then the error returned is 2003 "Can't connect to MySQL server on...".
*1 https:/
Changed in charm-mysql-router: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
status: | Triaged → Confirmed |
status: | Confirmed → In Progress |
Changed in charm-mysql-router: | |
status: | Fix Committed → Confirmed |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- mysql-router/ +/841708
Review: https:/