After solving the PVC error I encountered an additional error regarding Access denied for user 'root'@'localhost' occured during the startup phase of the secondary database server.
It seems that the locked chart version of mariadb does not like it if you either change the "root" password or use a different storage backend than local-path.
By upgrading the chart to version 11.5.6 I was able to resolve this Issue for me.
If you want to reproduce the Issue try to changing mariadb.auth.rootPassword and mariadb.secondary.persistence.storageClass.
For the storage class I am using ceph-rbd-sc so a RBD ceph backend.
Please not that trying this with a Ceph-FS backend also does not work but that is due to the MariaDB chart being unable to handle the storage backend.
After solving the PVC error I encountered an additional error regarding
Access denied for user 'root'@'localhost'
occured during the startup phase of the secondary database server.It seems that the locked chart version of mariadb does not like it if you either change the "root" password or use a different storage backend than
local-path
.By upgrading the chart to version
11.5.6
I was able to resolve this Issue for me.If you want to reproduce the Issue try to changing
mariadb.auth.rootPassword
andmariadb.secondary.persistence.storageClass
.For the storage class I am using
ceph-rbd-sc
so a RBD ceph backend. Please not that trying this with a Ceph-FS backend also does not work but that is due to the MariaDB chart being unable to handle the storage backend.