-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
-
False
-
?
-
?
-
?
-
?
-
None
-
-
Known Issue
-
Done
-
-
-
Moderate
We've observed that the mysqlcheck on source DB during adoption can sometimes fail. Initially we suspected incompatibility between the running DB version and the version of mariadb in the container image used for the check, but this is likely not the cause, because the the failure is intermittent.
See the discussion at:
https://github.com/openstack-k8s-operators/data-plane-adoption/pull/654
And at:
https://redhat-internal.slack.com/archives/C03MD4LG22Z/p1729238412855609
Also noting that this issue was originally discussed and addressed as a CIX with https://issues.redhat.com/browse/OSPCIX-521
Attempted workaround by re-running mysqlcheck multiple times did not seem to work:
TASK [get_services_configuration : run mysqlcheck on the original DB to look for things that are not OK] *** FAILED - RETRYING: [localhost]: run mysqlcheck on the original DB to look for things that are not OK (6 retries left). FAILED - RETRYING: [localhost]: run mysqlcheck on the original DB to look for things that are not OK (5 retries left). FAILED - RETRYING: [localhost]: run mysqlcheck on the original DB to look for things that are not OK (4 retries left). FAILED - RETRYING: [localhost]: run mysqlcheck on the original DB to look for things that are not OK (3 retries left). FAILED - RETRYING: [localhost]: run mysqlcheck on the original DB to look for things that are not OK (2 retries left). FAILED - RETRYING: [localhost]: run mysqlcheck on the original DB to look for things that are not OK (1 retries left).
Running `mysql_upgrade` currently seems to work but this is not something that can be recommended in the docs because we're dealing with the source DB environment which we should treat as read-only.