kolla-ansible未在mariadb容器中设置密码

时间:2019-01-22 19:14:27

标签: ansible mariadb

执行可lla-ansible部署时,我得到:

TASK [mariadb : Creating haproxy mysql user] ***************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "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'@'staczek' (using password: YES)\")"}

我已经在passwords.yml上设置了密码-database_password 并登录到容器,它不起作用-该怎么办?

我看到的日志中唯一的问题是

2019-01-22 20:06:04 139816544783104 [ERROR] WSREP: Process completed with error: /usr/local/bin/wsrep-notify.sh --status Joined --uuid 44d05286-1e5c-11e9-8689-2fc751c4e13d --primary yes --index 0 --members 44cfd7a8-1e5c-11e9-9cc2-1b4e15720ddb/staczek/10.15.15.2:3306: 1 (Operation not permitted)
2019-01-22 20:06:04 139816544783104 [ERROR] WSREP: Notification command failed: 1 (Operation not permitted): "/usr/local/bin/wsrep-notify.sh --status Joined --uuid 44d05286-1e5c-11e9-8689-2fc751c4e13d --primary yes --index 0 --members 44cfd7a8-1e5c-11e9-9cc2-1b4e15720ddb/staczek/10.15.15.2:3306"

最新版本

0 个答案:

没有答案