During mysqldb restore and backup mysql-innodb-cluster went to the unhealthy state and it is blocked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL InnoDB Cluster Charm |
Expired
|
Undecided
|
Unassigned |
Bug Description
Which impacts openstack services in the cluster. Here is the log attachment below.
2021-04-30 14:04:56 WARNING juju-log Cannot determine the cluster primary RW node for writes.
2021-04-30 14:04:56 WARNING juju-log No connection to the cluster primary RW node skipping DB creation.
2021-04-30 14:05:26 ERROR juju-log Cluster is unavailable: Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory
Traceback (most recent call last):
File "<string>", line 2, in <module>
mysqlsh.Error: Shell Error (51314): Dba.get_cluster: This function is not available through a session to a standalone instance (metadata exists, instance belongs to that metadata, but GR is not active)
2021-04-30 14:05:26 WARNING juju-log Cannot determine the cluster primary RW node for writes.
2021-04-30 14:05:26 WARNING juju-log No connection to the cluster primary RW node skipping DB creation.
2021-04-30 14:05:56 ERROR juju-log Cluster is unavailable: Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory
Traceback (most recent call last):
File "<string>", line 2, in <module>
mysqlsh.Error: Shell Error (51314): Dba.get_cluster: This function is not available through a session to a standalone instance (metadata exists, instance belongs to that metadata, but GR is not active)
2021-04-30 14:05:56 WARNING juju-log Cannot determine the cluster primary RW node for writes.
2021-04-30 14:05:56 WARNING juju-log No connection to the cluster primary RW node skipping DB creation.
2021-04-30 14:06:26 ERROR juju-log Cluster is unavailable: Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory
Traceback (most recent call last):
File "<string>", line 2, in <module>
mysqlsh.Error: Shell Error (51314): Dba.get_cluster: This function is not available through a session to a standalone instance (metadata exists, instance belongs to that metadata, but GR is not active)
2021-04-30 14:06:26 WARNING juju-log Cannot determine the cluster primary RW node for writes.
2021-04-30 14:06:26 WARNING juju-log No connection to the cluster primary RW node skipping DB creation.
2021-04-30 14:06:56 ERROR juju-log Cluster is unavailable: Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory
Traceback (most recent call last):
File "<string>", line 2, in <module>
mysqlsh.Error: Shell Error (51314): Dba.get_cluster: This function is not available through a session to a standalone instance (metadata exists, instance belongs to that metadata, but GR is not active)
2021-04-30 14:06:56 WARNING juju-log Cannot determine the cluster primary RW node for writes.
2021-04-30 14:06:56 WARNING juju-log No connection to the cluster primary RW node skipping DB creation.
Setting to incomplete; although this may be a real bug, it's been so long since it was reported, and we've not had additional information/reports of the issue (which may be because nobody is doing a restore from a backup). Please feel free to comment/re-set the bug to New if this issue is still being encountered.