-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
-
False
-
ToDo
-
0
-
0
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
Description of problem: exec restore hooks are failing. Restore is completed successfully although `onError: Fail`` is set, but the expected behavior in which it will execute the command `mysql -u root -e source /var/lib/mysql/world.sql` and then a schema called world should exist is not satisfied.
Version-Release number of selected component (if applicable): 1.1.0
How reproducible: 100%
Steps to Reproduce:
https://polarion.engineering.redhat.com/polarion/redirect/project/OADP/workitem?id=OADP-196
Actual results:
oc -n mysql-persistent rsh $(oc get pods -n mysql-persistent -o name) mysql -uroot world -e "show tables;" returns `ERROR 1049 (42000): Unknown database 'world'`
Expected results:
database world should appear and the command should not return an error
Additional info: