Deployment blocked with "Cluster is inaccessible from this instance"
Bug #1926449 reported by
Marian Gasparovic
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL InnoDB Cluster Charm |
New
|
Undecided
|
Unassigned |
Bug Description
All three units are blocked with a message "Cluster is inaccessible from this instance. Please check logs for details."
Logs show
RuntimeError: Unable to find a primary member in the cluster
and later
RuntimeError: Dba.get_cluster: Group replication does not seem to be active in instance '192.168.
Ussuri-focal setup, mysql-innodb-
This is the first time we encountered it in our tests
Other artifacts
https:/
Changed in charm-mysql-innodb-cluster: | |
status: | New → Incomplete |
To post a comment you must log in.
Initial log parsing
The cluster comes up fine before vault sends out certificates. Once the cluster receives certificates the cluster goes into a rolling restart as expected.
However, the first node to restart reports problems immediately with "Failed to stop the group replication applier thread" during shutdown
Here is a sorted (interleaved grep from the mysql error logs: /pastebin. ubuntu. com/p/xf572df7v D/
Formatted version: https:/
mysql-innodb- cluster_ 0/var/log/ mysql/error. log 2021-04- 28T11:20: 44.880786Z 0 [System] [MY-013172] [Server] Received SHUTDOWN from user <via user signal>. Shutting down mysqld (Version: 8.0.23- 0ubuntu0. 20.04.1) .: cluster_ 0/var/log/ mysql/error. log 2021-04- 28T11:20: 45.073488Z 11 [ERROR] [MY-011535] [Repl] Plugin group_replication reported: 'Failed to stop the group replication applier thread.': cluster_ 1/var/log/ mysql/error. log 2021-04- 28T11:20: 48.510785Z 0 [Warning] [MY-011499] [Repl] Plugin group_replication reported: 'Members removed from the group: 192.168.33.54 cluster_ 1/var/log/ mysql/error. log 2021-04- 28T11:20: 48.515514Z 0 [System] [MY-011503] [Repl] Plugin group_replication reported: 'Group membership changed to 192.168.33.52:3306, 192.168.33.55 cluster_ 2/var/log/ mysql/error. log 2021-04- 28T11:20: 48.526308Z 0 [Warning] [MY-011499] [Repl] Plugin group_replication reported: 'Members removed from the group: 192.168.33.54 cluster_ 2/var/log/ mysql/error. log 2021-04- 28T11:20: 48.527036Z 0 [System] [MY-011503] [Repl] Plugin group_replication reported: 'Group membership changed to 192.168.33.52:3306, 192.168.33.55 cluster_ 0/var/log/ mysql/error. log 2021-04- 28T11:20: 50.688199Z 0 [System] [MY-011504] [Repl] Plugin group_replication reported: 'Group membership changed: This member has left the group.' cluster_ 0/var/log/ mysql/error. log 2021-04- 28T11:20: 50.695954Z 0 [System] [MY-011651] [Repl] Plugin group_replication reported: 'Plugin 'group_replication' has been stopped.': cluster_ 0/var/log/ mysql/error. log 2021-04- 28T11:20: 56.752996Z 0 [System] [MY-013587] [Repl] Plugin group_replication reported: 'Plugin 'group_replication' is starting.': cluster_ 0/var/log/ mysql/error. log 2021-04- 28T11:20: 58.223924Z 10 [System] [MY-010597] [Repl] 'CHANGE MASTER TO FOR CHANNEL 'group_ replication_ applier' executed'. Previous state master_ host='< NULL>', master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''. New state master_ host='< NULL>', master_port= 0, master_log_file='', master_log_pos= 4, master_bind=''.:: cluster_ 1/var/log/ mysql/error. log 2021-04- 28T11:21: 00.623164Z 0 [System] [MY-011503] [Repl] Plugin group_replication reported: 'Group membership changed to 192.168.33.52:3306, 192.168.33.55 cluster_ 0/var/log/ mysql/error. log 2021-04- 28T11:21: 00.626408Z 2 [System] [MY-011511] [Repl] Plugin group_replication reported: 'This server is working as secondary member with primary member address 192.168. 33.52:3306. ' cluster_ 2/var/log/ mysql/error. log 2021-04- 28T11:21: 00.630934Z 0 [System] [MY-011503] [Repl] Plugin group_replication reported: 'Group membership changed to 192.1...
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-
mysql-innodb-