mariadb.pid checking after mariadb container starts fails deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
High
|
Steven Dake | ||
Mitaka |
Fix Released
|
High
|
Steven Dake |
Bug Description
I'm playing with kolla on 10 hosts. I had a working setup untill recently when I cleaned the hosts and redeployed. The deployment fails at mariadb.
Here are some logs
Deploy log:
...
...
TASK: [mariadb | Waiting for MariaDB service to be ready] *******
ok: [opst3]
failed: [opst1] => {"attempts": 6, "changed": false, "cmd": ["docker", "exec", "mariadb", "ls", "/var/lib/
stderr: ls: cannot access /var/lib/
msg: Task failed as maximum retries was encountered
TASK: [mariadb | Creating haproxy mysql user] *******
failed: [opst3] => {"attempts": 10, "changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "/usr/bin/ansible", "localhost", "-m", "mysql_user", "-a", "login_
stdout: localhost | FAILED! => {
"changed": false,
"failed": true,
"msg": "(1047, 'WSREP has not yet prepared node for application use')"
}
msg: Task failed as maximum retries was encountered
FATAL: all hosts have already failed -- aborting
===========
$ docker exec heka cat /var/log/
WSREP_SST: [INFO] Streaming with xbstream (20160326 19:43:00.952)
WSREP_SST: [INFO] Using socat as streamer (20160326 19:43:00.954)
WSREP_SST: [INFO] Using /tmp/tmp.JhFMycZXyl as xtrabackup temporary directory (20160326 19:43:00.984)
WSREP_SST: [INFO] Using /tmp/tmp.KSTtd4nr8L as innobackupex temporary directory (20160326 19:43:00.987)
WSREP_SST: [INFO] Streaming GTID file before SST (20160326 19:43:00.992)
WSREP_SST: [INFO] Evaluating xbstream -c ${INFO_FILE} | socat -u stdio TCP:10.
WSREP_SST: [INFO] Sleeping before data transfer for SST (20160326 19:43:01.188)
WSREP_SST: [INFO] Streaming the backup to joiner at 10.0.112.63 4444 (20160326 19:43:11.192)
WSREP_SST: [INFO] Evaluating innobackupex --defaults-
160326 19:43:12 [Note] WSREP: Provider paused at e8f55b0f-
160326 19:43:12 [Note] WSREP: resuming provider at 5
160326 19:43:12 [Note] WSREP: Provider resumed.
160326 19:43:12 [Note] WSREP: 0.0 (opst1): State transfer to 1.0 (opst3) complete.
160326 19:43:12 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 5)
160326 19:...
summary: |
- mariadb.pid causes mariadb container from starting + mariadb.pid checking after mariadb container starts fails deployment |
This was reported in https:/ /bugs.launchpad .net/kolla/ +bug/1546789 but that bug was a different issue. I have also seen this issue occur with my own eyeballs on multinode, but I'm not sure what the root cause is.