kolla-ansible deploy fails when waiting for mariadb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
Low
|
Unassigned |
Bug Description
kolla version : 3.0.0.0b1-
What am i trying to do: Deploy openstack using kolla, 'all-in-one' deployment type. Followed the instructions in http://
The error: In short, 'kolla-ansible deploy' fails when waiting for MariaDB service to be ready. Here's a direct output with '-vvvv':
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (2 retries left).Result was: {"attempts": 8, "exception": "Traceback (most recent call last):\n File \"/tmp/
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.
<localhost> PUT /tmp/tmpu_28P6 TO /home/antonio/
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-
FAILED - RETRYING: TASK: mariadb : Waiting for MariaDB service to be ready (1 retries left).Result was: {"attempts": 9, "elapsed": 60, "failed": true, "invocation": {"module_args": {"connect_timeout": 1, "delay": 0, "exclude_hosts": null, "host": "192.168.8.17", "path": null, "port": 3306, "search_regex": "MariaDB", "state": "started", "timeout": 60}, "module_name": "wait_for"}, "msg": "Timeout when waiting for search string MariaDB in 192.168.8.17:3306", "retries": 10}
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.
<localhost> PUT /tmp/tmpXddRj0 TO /home/antonio/
<localhost> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_
main()
File "/tmp/ansible_
response = s.recv(1024)
socket.error: [Errno 104] Connection reset by peer
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_name": "wait_for"}, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/
[ERROR]: Could not create retry file '/usr/local/
[Errno 13] Permission denied: '/usr/local/
Here's the content of the mariadb container logs:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMINFO:
7/7/2016 2:27:31 PMRunning command: '/usr/bin/
7/7/2016 2:27:31 PM160707 14:27:31 mysqld_safe Logging to '/var/log/
7/7/2016 2:27:31 PM160707 14:27:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/
7/7/2016 2:27:31 PM160707 14:27:31 mysqld_safe WSREP: Running position recovery with --log_error=
7/7/2016 2:27:34 PM160707 14:27:34 mysqld_safe WSREP: Recovered position 00000000-
7/7/2016 2:27:34 PM160707 14:27:34 mysqld_safe mysqld from pid file /var/lib/
Please advise if further information is required.
Thanks!
Changed in kolla: | |
status: | New → Triaged |
milestone: | none → newton-rc2 |
Changed in kolla: | |
importance: | Undecided → Low |
status: | Triaged → Incomplete |
Changed in kolla: | |
status: | Incomplete → Invalid |
I nend more information,for exemple /etc/kolla/ globals. yml