openstack ansible- Execution of setup-openstack.yml fails
TASK [os_keystone : Wait for services to be up] *****************************
task path: /etc/ansible/roles/os_keystone/tasks/keystone_service_update.yml:31
<infra2_keystone_container-dbb53b56> Task is delegated to localhost.
<infra2_keystone_container-dbb53b56> The "physical_host" variable of "infra2" has been found to have a corresponding host entry in inventory.
<infra2_keystone_container-dbb53b56> The "physical_host" variable of "infra2" terminates at "172.29.236.12" using the host variable "ansible_host".
<infra2_keystone_container-dbb53b56> Because this is a task using "delegate_to" pipelining has been disabled. but will be restored upon completion of this task.
Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/net_tools/basics/uri.py
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp/ansible-tmp-1548697858.92-229119174354010
" && echo ansible-tmp-1548697858.92-229119174354010="echo /root/.ansible/tmp/ansible-tmp-1548697858.92-229119174354010
" ) && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-11534FoBgRO/tmpOSvaRo TO /root/.ansible/tmp/ansible-tmp-1548697858.92-229119174354010/uri.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1548697858.92-229119174354010/ /root/.ansible/tmp/ansible-tmp-1548697858.92-229119174354010/uri.py && sleep 0'
<localhost> EXEC /bin/sh -c '/opt/ansible-runtime/bin/python2 /root/.ansible/tmp/ansible-tmp-1548697858.92-229119174354010/uri.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1548697858.92-229119174354010/ > /dev/null 2>&1 && sleep 0'
feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
FAILED - RETRYING: Wait for services to be up (120 retries left).Result was: {
"attempts": 1,
"changed": false,
"content": "",
"invocation": {
"module_args": {
"attributes": null,
"backup": null,
"body": null,
"body_format": "raw",
"client_cert": null,
"client_key": null,
"content": null,
"creates": null,
"delimiter": null,
"dest": null,
"directory_mode": null,
"follow": false,
"follow_redirects": "safe",
"force": false,
"force_basic_auth": false,
"group": null,
"headers": {},
"http_agent": "ansible-httpget",
"method": "HEAD",
"mode": null,
"owner": null,
"regexp": null,
"remote_src": null,
"removes": null,
"return_content": false,
"selevel": null,
"serole": null,
"setype": null,
"seuser": null,
"src": null,
"status_code": [
"300"
],
"timeout": 30,
"unsafe_writes": null,
"url": "http://172.29.236.11:5000",
"url_password": null,
"url_username": null,
"use_proxy": true,
"validate_certs": true
}
},
"msg": "Status code was -1 and not [300]: An unknown error occurred: ''",
"redirected": false,
"retries": 121,
"status": -1,
"url": "http://172.29.236.11:5000"
}
Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/net_tools/basics/uri.py
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "echo /root/.ansible/tmp/ansible-tmp-1548697864.43-28759509910718
" && echo ansible-tmp-1548697864.43-28759509910718="echo /root/.ansible/tmp/ansible-tmp-1548697864.43-28759509910718
" ) && sleep 0'
<localhost> PUT /root/.ansible/tmp/ansible-local-11534FoBgRO/tmp7eiPG0 TO /root/.ansible/tmp/ansible-tmp-1548697864.43-28759509910718/uri.py
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1548697864.43-28759509910718/ /root/.ansible/tmp/ansible-tmp-1548697864.43-28759509910718/uri.py && sleep 0'
<localhost> EXEC /bin/sh -c '/opt/ansible-runtime/bin/python2 /root/.ansible/tmp/ansible-tmp-1548697864.43-28759509910718/uri.py && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1548697864.43-28759509910718/ > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: Wait for services to be up (119 retries left).Result was: {
"attempts": 2,
"changed": false,
"content": "",
"invocation ...