FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (1 retries left)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Expired
|
Undecided
|
Unassigned |
Bug Description
always retry ,but not ok
system centos7.2 ocata release image :centos source registry
ok: [node02]
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (10 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (9 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (8 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (7 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (6 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (5 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (4 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (3 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (2 retries left).
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (1 retries left).
fatal: [node01]: FAILED! => {"changed": false, "elapsed": 60, "failed": true, "msg": "Timeout when waiting for search string MariaDB in 10.5.11.16:3306"}
TASK [mariadb : Creating haproxy mysql user] *******
fatal: [node02]: FAILED! => {"changed": false, "failed": true, "msg": "(1047, 'WSREP has not yet prepared node for application use')"}
NO MORE HOSTS LEFT *******
to retry, use: --limit @/usr/share/
PLAY RECAP *******
node01 : ok=113 changed=62 unreachable=0 failed=1
node02 : ok=109 changed=59 unreachable=0 failed=1
all mariadb is ok
[root@node01 ~]# docker ps |grep maria
45b989f52473 localhost:
[root@node01 ~]#
[root@node01 kolla-ansible]# docker ps |grep mar
45b989f52473 localhost:
【maradb log】
[root@node01 mariadb]# ls
mariadb.log
[root@node01 mariadb]# grep -rn "failed"
mariadb.
mariadb.
mariadb.
mariadb.
mariadb.
mariadb.
I also meet this issue:
TASK [mariadb : Waiting for MariaDB service to be ready] ******* ******* ******* ******* ******* ******* ******* ******* ******* ***** kolla-ansible/ ansible/ site.retry
FAILED - RETRYING: Waiting for MariaDB service to be ready (10 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (9 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (8 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (7 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (6 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (5 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (4 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (3 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (2 retries left).
FAILED - RETRYING: Waiting for MariaDB service to be ready (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 10, "changed": false, "elapsed": 60, "failed": true, "msg": "Timeout when waiting for search string MariaDB in 10.19.0.24:3306"}
to retry, use: --limit @/usr/share/
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* **
localhost : ok=63 changed=7 unreachable=0 failed=1
Command failed ansible-playbook -i /root/all-in-one -e @/etc/kolla/ globals. yml -e @/etc/kolla/ passwords. yml -e CONFIG_ DIR=/etc/ kolla -e action=deploy /usr/share/ kolla-ansible/ ansible/ site.yml