Came across this bug in AIO CentOS setup.
TASK [mariadb : Creating haproxy mysql user] *********************************** FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (9 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (8 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (7 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (6 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (5 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (4 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (3 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (2 retries left). FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (1 retries left). fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "/usr/bin/ansible", "localhost", "-m", "mysql_user", "-a", "login_host='10.0.3.15' login_port='3306' login_user='root' login_password='lbKnSiQT3xOWbsvrDuPdvnJuHGmTMTCXun2SHhc9' name='haproxy' password='' host='%' priv=*.*:USAGE"], "delta": "0:00:01.311719", "end": "2016-07-15 01:13:55.112196", "failed": true, "rc": 2, "start": "2016-07-15 01:13:53.800477", "stderr": "", "stdout": "localhost | FAILED! => {\r\n \"changed\": false, \r\n \"failed\": true, \r\n \"msg\": \"unable to connect to database, check login_user and login_password are correct or /home/ansible/.my.cnf has the credentials. Exception message: (1045, \\\"Access denied for user 'root'@'localhost.localdomain' (using password: YES)\\\")\"\r\n}", "stdout_lines": ["localhost | FAILED! => {", " \"changed\": false, ", " \"failed\": true, ", " \"msg\": \"unable to connect to database, check login_user and login_password are correct or /home/ansible/.my.cnf has the credentials. Exception message: (1045, \\\"Access denied for user 'root'@'localhost.localdomain' (using password: YES)\\\")\"", "}"], "warnings": []} to retry, use: --limit @/usr/share/kolla/ansible/site.retry
PLAY RECAP ********************************************************************* localhost : ok=55 changed=9 unreachable=0 failed=1
Command failed ansible-playbook -i /usr/share/kolla/ansible/inventory/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/site.yml
Came across this bug in AIO CentOS setup.
TASK [mariadb : Creating haproxy mysql user] ******* ******* ******* ******* ******* host='10. 0.3.15' login_port='3306' login_user='root' login_password= 'lbKnSiQT3xOWbs vrDuPdvnJuHGmTM TCXun2SHhc9' name='haproxy' password='' host='%' priv=*.*:USAGE"], "delta": "0:00:01.311719", "end": "2016-07-15 01:13:55.112196", "failed": true, "rc": 2, "start": "2016-07-15 01:13:53.800477", "stderr": "", "stdout": "localhost | FAILED! => {\r\n \"changed\": false, \r\n \"failed\": true, \r\n \"msg\": \"unable to connect to database, check login_user and login_password are correct or /home/ansible/ .my.cnf has the credentials. Exception message: (1045, \\\"Access denied for user 'root'@ 'localhost. localdomain' (using password: YES)\\\")\"\r\n}", "stdout_lines": ["localhost | FAILED! => {", " \"changed\": false, ", " \"failed\": true, ", " \"msg\": \"unable to connect to database, check login_user and login_password are correct or /home/ansible/ .my.cnf has the credentials. Exception message: (1045, \\\"Access denied for user 'root'@ 'localhost. localdomain' (using password: YES)\\\")\"", "}"], "warnings": []} kolla/ansible/ site.retry
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (9 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (8 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (7 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (6 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (5 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (4 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (3 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (2 retries left).
FAILED - RETRYING: TASK: mariadb : Creating haproxy mysql user (1 retries left).
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "/usr/bin/ansible", "localhost", "-m", "mysql_user", "-a", "login_
to retry, use: --limit @/usr/share/
PLAY RECAP ******* ******* ******* ******* ******* ******* ******* ******* ******* ******
localhost : ok=55 changed=9 unreachable=0 failed=1
Command failed ansible-playbook -i /usr/share/ kolla/ansible/ inventory/ 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/ site.yml