Cloud provider or hardware configuration: 6 nodes (1 master, 5 worker), each 56xCPU, 256GB RAM
OS (e.g. from /etc/os-release): Red Hat Enterprise Linux Server release 7.3
Kernel (e.g. uname -a): 3.10.0-327.el7.x86_64
Others:
What happened?
MySQL database does not start. I checked issue #181 , but it looks like dirfferent issue.
I created MySQL cluster without any PVC and it ran without issues. After that I tried to create cluster with PV.
I have created Persistent Volume with Gluster plugin, using following YAML:
Versions
MySQL Operator Version: 0.3.0
Environment:
kubectl version
): v1.13.1uname -a
): 3.10.0-327.el7.x86_64What happened?
MySQL database does not start. I checked issue #181 , but it looks like dirfferent issue. I created MySQL cluster without any PVC and it ran without issues. After that I tried to create cluster with PV. I have created Persistent Volume with Gluster plugin, using following YAML:
For setting up cluster, I created simple 1 node cluster, using following YAML:
What I see is that both
PersistentVolume
andPersistentVolumeClaim
are successfully created and bound, but MySQL pod is crashing.MySQL agent container within pod is running ok, waiting for database to be set up. MySQL container itself is failing with database failing to start:
What you expected to happen?
Cluster to start normally without any issues while using GlusterFS for PV.
How to reproduce it (as minimally and precisely as possible)?
Create GlusterFS PV and run MySQL cluster with mysql-operator.
Anything else we need to know?
I am not sure if this is the issue or I am in the end doing something wrong myself, in that case I apologise for causing a stir.