non-default mysql/mariadb port not supported in kolla ansible
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Critical
|
Waldemar Znoinski | ||
Mitaka |
Won't Fix
|
Critical
|
Waldemar Znoinski |
Bug Description
when set non-default mariadb_port in all.yml many ansible steps fail, due to not connecting to the proper mysql server:
i.e.:
TASK: [nova | Creating Nova database user and setting permissions] ************
<localhost> REMOTE_MODULE command docker exec -t kolla_toolbox /usr/bin/ansible localhost -m mysql_user -a "login_
<localhost> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.
<localhost> PUT /tmp/tmp3fnMSb TO /root/.
<localhost> EXEC ['/bin/sh', '-c', u'LANG=en_US.UTF-8 LC_CTYPE=
failed: [localhost -> localhost] => {"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": "unable to connect to database, check login_user and login_password are correct or /home/ansible/
ansible yml files have to have a notion of login_port for 'mysql_user' module and in many other places
Changed in kolla: | |
assignee: | nobody → Waldemar Znoinski (wznoinsk) |
Changed in kolla: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
milestone: | none → newton-1 |
no longer affects: | kolla/liberty |
Fix proposed to branch: master /review. openstack. org/313595
Review: https:/