Comment 4 for bug 1630770

Revision history for this message
zhubingbing (zhubingbing) wrote :

ASK [magnum : Creating Magnum trustee user role] ******************************
task path: /usr/share/kolla/ansible/roles/magnum/tasks/register.yml:75
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1476177792.4-243574607737858 `" && echo ansible-tmp-1476177792.4-243574607737858="` echo $HOME/.ansible/tmp/ansible-tmp-1476177792.4-243574607737858 `" ) && sleep 0'
<localhost> PUT /tmp/tmpTa2eVV TO /root/.ansible/tmp/ansible-tmp-1476177792.4-243574607737858/command
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1476177792.4-243574607737858/ /root/.ansible/tmp/ansible-tmp-1476177792.4-243574607737858/command && sleep 0'
<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1476177792.4-243574607737858/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1476177792.4-243574607737858/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: magnum : Creating Magnum trustee user role (10 retries left).Result was: {"attempts": 1, "changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "/usr/bin/ansible", "localhost", "-m", "os_user_role", "-a", "domain=39d6b059d8d7431c9629c11cb514f419 user=magnum_trustee_domain_admin role=admin auth={{ openstack_magnum_auth }}", "-e", "{'openstack_magnum_auth':{'username': 'admin', 'project_name': 'admin', 'password': 'yI2MnMSHSwk6auqZ4cMvl0Z6zG9uHDdH4skAtkqm', 'auth_url': 'http://192.168.23.251:35357'}}"], "delta": "0:00:01.348780", "end": "2016-10-11 09:23:13.887184", "failed": true, "invocation": {"module_args": {"_raw_params": "docker exec -t kolla_toolbox /usr/bin/ansible localhost -m os_user_role -a \"domain=39d6b059d8d7431c9629c11cb514f419 user=magnum_trustee_domain_admin role=admin auth={{ openstack_magnum_auth }}\" -e \"{'openstack_magnum_auth':{'username': 'admin', 'project_name': 'admin', 'password': 'yI2MnMSHSwk6auqZ4cMvl0Z6zG9uHDdH4skAtkqm', 'auth_url': 'http://192.168.23.251:35357'}}\"", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "retries": 11, "start": "2016-10-11 09:23:12.538404", "stderr": "", "stdout": "localhost | FAILED! => {\r\n \"changed\": false, \r\n \"failed\": true, \r\n \"msg\": \"shade 1.5.0 or higher is required for this module\"\r\n}", "stdout_lines": ["localhost | FAILED! => {", " \"changed\": false, ", " \"failed\": true, ", " \"msg\": \"shade 1.5.0 or higher is required for this module\"", "}"], "warnings": []}
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1476177798.92-34725433608141 `" && echo ansible-tmp-1476177798.92-34725433608141="` echo $HOME/.ansible/tmp/ansible-tmp-1476177798.92-34725433608141 `" ) && sleep 0'
<localhost> PUT /tmp/tmpgt2eAI TO /root/.ansible/tmp/ansible-tmp-1476177798.92-34725433608141/command
<localhost> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1476177798.92-34725433608141/ /root/.ansible/tmp/ansible-tmp-1476177798.92-34725433608141/command && sleep 0'
<localhost> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1476177798.92-34725433608141/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1476177798.92-34725433608141/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: magnum : Creating Magnum trustee user role (9 retries left).Result was: {"attempts": 2, "changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "/usr/bin/ansible", "localhost", "-m", "os_user_role", "-a", "domain=39d6b059d8d7431c9629c11cb514f419 user=magnum_trustee_domain_admin role=admin auth={{ openstack_magnum_auth }}", "-e", "{'openstack_magnum_auth':{'username': 'admin', 'project_name': 'admin', 'password': 'yI2MnMSHSwk6auqZ4cMvl0Z6zG9uHDdH4skAtkqm', 'auth_url': 'http://192.168.23.251:35357'}}"], "delta": "0:00:01.345026", "end": "2016-10-11 09:23:20.448824", "failed": true, "invocation": {"module_args": {"_raw_params": "docker exec -t kolla_toolbox /usr/bin/ansible localhost -m os_user_role -a \"domain=39d6b059d8d7431c9629c11cb514f419 user=magnum_trustee_domain_admin role=admin auth={{ openstack_magnum_auth }}\" -e \"{'openstack_magnum_auth':{'username': 'admin', 'project_name': 'admin', 'password': 'yI2MnMSHSwk6auqZ4cMvl0Z6zG9uHDdH4skAtkqm', 'auth_url': 'http://192.168.23.251:35357'}}\"", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 1, "retries": 11, "start": "2016-10-11 09:23:19.103798", "stderr": "", "stdout": "localhost | FAILED! => {\r\n \"changed\": false, \r\n \"failed\": true, \r\n \"msg\": \"shade 1.5.0 or higher is required for this module\"\r\n}", "stdout_lines": ["localhost | FAILED! => {", " \"changed\": false, ", " \"failed\": true, ", " \"msg\": \"shade 1.5.0 or higher is required for this module\"", "}"], "warnings": []}