Comment 5 for bug 1661965

Revision history for this message
Taeha Kim (kthguru) wrote :

This issue has occurred on master branch. When the deployment VM deploys to other VM using all-in-one, it has been occurred as following logs.
In the mariadb container, we can use mysql console without password. For example,
# mysql
# mysql -u root
# mysql -u haproxy
These are all okay.

But the deployment VM cannot connectto the mariadb container's mysql.
I don't understand why this issue cannot be reproduced on your side.

TASK [mariadb : include] *********************************************************************************************************************************************************************
skipping: [192.168.122.112]

TASK [mariadb : include] *********************************************************************************************************************************************************************
skipping: [192.168.122.112]

TASK [mariadb : include] *********************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/mariadb/tasks/start.yml for 192.168.122.112

TASK [mariadb : Starting mariadb container] **************************************************************************************************************************************************
ok: [192.168.122.112]

TASK [mariadb : Waiting for MariaDB service to be ready] *************************************************************************************************************************************
ok: [192.168.122.112]

TASK [mariadb : include] *********************************************************************************************************************************************************************
included: /usr/share/kolla-ansible/ansible/roles/mariadb/tasks/register.yml for 192.168.122.112

TASK [mariadb : Creating haproxy mysql user] *************************************************************************************************************************************************
fatal: [192.168.122.112]: FAILED! => {"changed": false, "failed": true, "msg": "unable to connect to database, check login_user and login_password are correct or /var/lib/ansible/.my.cnf has the credentials. Exception message: (1045, \"Access denied for user 'root'@'nova2' (using password: YES)\")"}

NO MORE HOSTS LEFT ***************************************************************************************************************************************************************************
 to retry, use: --limit @/usr/share/kolla-ansible/ansible/site.retry

PLAY RECAP ***********************************************************************************************************************************************************************************
192.168.122.112 : ok=52 changed=0 unreachable=0 failed=1