paulczar / docker-percona_galera

replicating mysql docker image
https://registry.hub.docker.com/u/paulczar/percona-galera/
Other
87 stars 30 forks source link

/bin/boot doesn't work if CLUSTER is empty... #4

Open brendandburns opened 9 years ago

brendandburns commented 9 years ago

confd hangs with:

2015-02-13T20:39:29Z mysql confd[3247]: ERROR 100: Key not found (/database/cluster) [323]
2015-02-13T20:39:29Z mysql confd[3247]: ERROR 100: Key not found (/database/cluster) [323]
...
mancvso commented 9 years ago

Same error here. Any hint?

fernandoneto commented 8 years ago

I think the problem is the variable with default value CLUSTER=${CLUSTER:-galera} is defined in bin/garbd and if you check the bin/boot the only file loaded is /bin/functions.

@mancvso you just define CLUSTER=something and you be able to run cluster without problems

@paulczar i can submit a PR to prevent this situation if you want