rejoin-instance action should have "address" parameter mandatory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL InnoDB Cluster Charm |
Fix Released
|
Medium
|
Liam Young |
Bug Description
Currently it's possible to run "rejoin-instance" action without specifying "address" parameter, resulting in following error:
unit-mysql-
UnitId: mysql-innodb-
id: "14"
message: Rejoin instance failed
results:
output: "Cannot set LC_ALL to locale en_US.UTF-8: No such file or directory\
\e[0mUnable to connect to the target instance 'None'. Please verify the connection
settings, make sure the instance is available and try again.\nTraceback (most
recent call last):\n File \"<string>\", line 3, in <module>
MySQL Error (2005): Cluster.
Unknown MySQL server host 'None' (11)\n"
traceback: |
Traceback (most recent call last):
File "/var/lib/
output = instance.
File "/var/lib/
raise e
File "/var/lib/
output = self.run_
File "/var/lib/
return subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subproces
status: failed
Changed in charm-mysql-innodb-cluster: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
assignee: | nobody → Liam Young (gnuoy) |
milestone: | none → 22.04 |
Changed in charm-mysql-innodb-cluster: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- mysql-innodb- cluster/ +/821976
Review: https:/