Skip to content

Instantly share code, notes, and snippets.

Created September 7, 2016 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/82c187dd45918b954bc39f1bda82a4af to your computer and use it in GitHub Desktop.
Save anonymous/82c187dd45918b954bc39f1bda82a4af to your computer and use it in GitHub Desktop.
TASK: [os_heat | Ensure heat_stack_user role] *********************************
<192.168.0.159> ESTABLISH CONNECTION FOR USER: root
skipping: [infra1_heat_engine_container-97d4570f]
<192.168.0.159> REMOTE_MODULE keystone login_project_name=admin login_password=VALUE_HIDDEN command=ensure_role role_name=heat_stack_user insecure=False login_user=admin endpoint=http://172.30.10.10:35357/v3
<192.168.0.159> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.159 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341 && echo $HOME/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341'
<192.168.0.159> PUT /tmp/tmpyU92xf TO /root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/keystone
<192.168.0.159> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.0.159 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/keystone; rm -rf /root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/ >/dev/null 2>&1'
failed: [infra1_heat_apis_container-f6282de7] => {"failed": true, "parsed": false}
Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/keystone", line 2934, in <module>
main()
File "/root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/keystone", line 1316, in main
km.command_router()
File "/root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/keystone", line 462, in command_router
facts = action(variables=action_command['variables'])
File "/root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/keystone", line 842, in ensure_role
self._authenticate()
File "/root/.ansible/tmp/ansible-tmp-1473252470.95-59104613219341/keystone", line 570, in _authenticate
project_name=login_project_name
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py", line 226, in __init__
self.authenticate()
File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 94, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py", line 584, in authenticate
resp = self.get_raw_token_from_identity_service(**kwargs)
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py", line 311, in get_raw_token_from_identity_service
_('Authorization failed: %s') % e)
keystoneauth1.exceptions.auth.AuthorizationFailure: Authorization failed: An unexpected error prevented the server from fulfilling your request. (HTTP 500) (Request-ID: req-ffee7776-ba3b-45a0-83e0-72a90a34ca63)
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: auto-mux: Trying existing master
debug1: mux_client_request_session: master session id: 2
Shared connection to 192.168.0.159 closed.
FATAL: all hosts have already failed -- aborting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment