-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mysql 5.7.5 breaks if user mounts a volume from a long running file system #3
Comments
our official images are there https://hub.docker.com/r/percona/percona-xtradb-cluster/tags/ |
I'm using those and I'm trying to change the datadir mysql uses so I've made the following change:
I have
But I'm only able to get so far before I run into the following error; after mysqld init process done, ready for startup
|
I do not see error messages here. |
Hi, I'm hesistant to open another issue so I'll post some more info:
At this point I can do Scenario 1:
When I try to restart
The other 2 pods in the cluster show:
Here are what I think are the relevant errors from
The ip it's trying to connect to
After
Also during the restart
which doesn't work. So in summary when starting a fresh percona cluster of 3 kubernetes pods, the grastate.dat seq_no get's stuck at -1. On deleting one pod and watching it restart, expecting it to rejoin the cluster, it sets it's inital position to
The cluster doesn't get started properly and I'm unable to restart the cluster. |
Fixed it with changing the entrypoint in the container to the following script:
Thanks. Ref -> https://www.claudiokuenzler.com/blog/494/galera-cluster-mysql-not-starting-failed-to-open-channel-reach-primary#.WNesDiF97Qo |
You are affected by this bug docker-library/mysql#69, which has been driving me nuts all day. Is it possible to either downgrade your base mysql to a higher or lower stable version?
The text was updated successfully, but these errors were encountered: