_mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query')
Bug #1747498 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
Our HA deployment of percona cluster failed with this error:
http://
Crashdump is attached, bundle: http://
tags: | added: foundations-engine |
tags: | removed: cpe-foundations |
To post a comment you must log in.
This looks to me like an underlying network issue. The error in the charm occurred at 08:16:06. The mysql/0: /var/log/ mysql/error. log shows mysql terminating at this time with an error that appears to be synonymous with a split brain ( https:/ /severalnines. com/blog/ become- mysql-dba- blog-series- troubleshooting -galera- cluster- issues- part-1 ).
error.log message:
2018-02-05 08:16:06 106885 [Note] WSREP: evs::proto( 5d3d1403, LEAVING, view_id( REG,5d3d1403, 6)) suspecting node: c06cc037 5d3d1403, LEAVING, view_id( REG,5d3d1403, 6)) suspected node without join message, declaring inactive id(NON_ PRIM,5d3d1403, 6) memb {
2018-02-05 08:16:06 106885 [Note] WSREP: evs::proto(
2018-02-05 08:16:06 106885 [Note] WSREP: view(view_
5d3d1403,0
} joined {
} left {
} partitioned {
c06cc037,0
})
2018-02-05 08:16:06 106885 [Note] WSREP: view((empty))
2018-02-05 08:16:06 106885 [Note] WSREP: gcomm: closed
2018-02-05 08:16:06 106885 [Note] WSREP: New COMPONENT: primary = no, bootstrap = no, my_idx = 0, memb_num = 1
2018-02-05 08:16:06 106885 [Note] WSREP: Flow-control interval: [16, 16]
2018-02-05 08:16:06 106885 [Note] WSREP: Trying to continue unpaused monitor
2018-02-05 08:16:06 106885 [Note] WSREP: Received NON-PRIMARY.
2018-02-05 08:16:06 106885 [Note] WSREP: Shifting SYNCED -> OPEN (TO: 909)
2018-02-05 08:16:06 106885 [Note] WSREP: Received self-leave message.
2018-02-05 08:16:06 106885 [Note] WSREP: Flow-control interval: [0, 0]
2018-02-05 08:16:06 106885 [Note] WSREP: Trying to continue unpaused monitor
2018-02-05 08:16:06 106885 [Note] WSREP: Received SELF-LEAVE. Closing connection.
2018-02-05 08:16:06 106885 [Note] WSREP: Shifting OPEN -> CLOSED (TO: 909)
2018-02-05 08:16:06 106885 [Note] WSREP: RECV thread exiting 0: Success
2018-02-05 08:16:06 106885 [Note] WSREP: recv_thread() joined.
2018-02-05 08:16:06 106885 [Note] WSREP: Closing replication queue.
2018-02-05 08:16:06 106885 [Note] WSREP: Closing slave action queue.
2018-02-05 08:16:06 106885 [Note] WSREP: /usr/sbin/mysqld: Terminated.