Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TASK [os_keystone : Ensure service tenant] ******************************************************************************************************************************************
- task path: /etc/ansible/roles/os_keystone/tasks/keystone_service_setup.yml:65
- Tuesday 17 October 2017 18:22:35 -0500 (0:00:00.586) 0:03:09.946 *******
- container_name: "infra1_keystone_container-ee7d06fb"
- physical_host: "infra1"
- Container confirmed
- Using module file /etc/ansible/roles/plugins/library/keystone
- container_name: "infra1_keystone_container-ee7d06fb"
- physical_host: "infra1"
- Container confirmed
- <172.29.236.29> ESTABLISH SSH CONNECTION FOR USER: root
- <172.29.236.29> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
- <172.29.236.29> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
- <172.29.236.29> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(
- -o)(PasswordAuthentication=no)
- <172.29.236.29> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=root)
- <172.29.236.29> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
- <172.29.236.29> SSH: PlayContext set ssh_common_args: ()
- <172.29.236.29> SSH: PlayContext set ssh_extra_args: (-o)(UserKnownHostsFile=/dev/null)(-o)(StrictHostKeyChecking=no)(-o)(ServerAliveInterval=64)(-o)(ServerAliveCountMax=1024)(-o)(C
- ompression=no)(-o)(TCPKeepAlive=yes)(-o)(VerifyHostKeyDNS=no)(-o)(ForwardX11=no)(-o)(ForwardAgent=yes)(-T)
- <172.29.236.29> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/187be70905)
- <172.29.236.29> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-w
- ith-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInte
- rval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes -T -o ControlPath=/root/.ansible/cp/187be70905
- 172.29.236.29 'lxc-attach --clear-env --name infra1_keystone_container-ee7d06fb -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
- <172.29.236.29> (1, b'', b'OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line
- 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_clien
- t_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive:
- done pid = 4526\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nmesg: ttyname failed: Inappropriate ioctl
- for device\nTraceback (most recent call last):\n File "/tmp/ansible_tDKZjW/ansible_module_keystone.py", line 1468, in <module>\n main()\n File "/tmp/ansible_tDKZjW/ansible_mod
- ule_keystone.py", line 1462, in main\n km.command_router()\n File "/tmp/ansible_tDKZjW/ansible_module_keystone.py", line 487, in command_router\n facts = action(variables=act
- ion_command[\'variables\'])\n File "/tmp/ansible_tDKZjW/ansible_module_keystone.py", line 677, in ensure_tenant\n return self.ensure_project(variables)\n File "/tmp/ansible_tDK
- ZjW/ansible_module_keystone.py", line 687, in ensure_project\n self._authenticate()\n File "/tmp/ansible_tDKZjW/ansible_module_keystone.py", line 614, in _authenticate\n **cl
- ient_args)\n File "/usr/local/lib/python2.7/dist-packages/keystoneclient/client.py", line 62, in Client\n d = discover.Discover(session=session, **kwargs)\n File "/usr/local/li
- b/python2.7/dist-packages/positional/__init__.py", line 108, in inner\n return wrapped(*args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneclient/discover.py
- ", line 180, in __init__\n authenticated=authenticated)\n File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 108, in inner\n return wrapped(*args, **k
- wargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 147, in __init__\n authenticated=authenticated)\n File "/usr/local/lib/python2.7/dist-p
- ackages/positional/__init__.py", line 108, in inner\n return wrapped(*args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.py", line 41, in ge
- t_version_data\n resp = session.get(url, headers=headers, authenticated=authenticated)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 845, in get
- \n return self.request(url, \'GET\', **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 108, in inner\n return wrapped(*args, **kwargs)\n
- File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 578, in request\n auth_headers = self.get_auth_headers(auth)\n File "/usr/local/lib/python2.7/dist-
- packages/keystoneauth1/session.py", line 905, in get_auth_headers\n return auth.get_headers(self, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/plugin.p
- y", line 90, in get_headers\n token = self.get_token(session)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 89, in get_token\n return s
- elf.get_access(session).auth_token\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 135, in get_access\n self.auth_ref = self.get_auth_ref(se
- ssion)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref\n authenticated=False, log=False, **rkwargs)\n File "/usr/lo
- cal/lib/python2.7/dist-packages/keystoneauth1/session.py", line 853, in post\n return self.request(url, \'POST\', **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/positi
- onal/__init__.py", line 108, in inner\n return wrapped(*args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 742, in request\n raise
- exceptions.from_response(resp, method, url)\nkeystoneauth1.exceptions.http.GatewayTimeout: Gateway Timeout (HTTP 504)\ndebug3: mux_client_read_packet: read header failed: Broken pi
- pe\r\ndebug2: Received exit status from master 1\r\n')
- FAILED - RETRYING: Ensure service tenant (5 retries left).Result was: {
- "attempts": 1,
- "failed": true,
- "module_stderr": "OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: A
- pplying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_for
- wards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done
- pid = 4526\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\nmesg: ttyname failed: Inappropriate ioctl for
- device\nTraceback (most recent call last):\n File \"/tmp/ansible_tDKZjW/ansible_module_keystone.py\", line 1468, in <module>\n main()\n File \"/tmp/ansible_tDKZjW/ansible_modul
- e_keystone.py\", line 1462, in main\n km.command_router()\n File \"/tmp/ansible_tDKZjW/ansible_module_keystone.py\", line 487, in command_router\n facts = action(variables=ac
- tion_command['variables'])\n File \"/tmp/ansible_tDKZjW/ansible_module_keystone.py\", line 677, in ensure_tenant\n return self.ensure_project(variables)\n File \"/tmp/ansible_t
- DKZjW/ansible_module_keystone.py\", line 687, in ensure_project\n self._authenticate()\n File \"/tmp/ansible_tDKZjW/ansible_module_keystone.py\", line 614, in _authenticate\n
- **client_args)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/client.py\", line 62, in Client\n d = discover.Discover(session=session, **kwargs)\n File \"/usr/
- local/lib/python2.7/dist-packages/positional/__init__.py\", line 108, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/d
- iscover.py\", line 180, in __init__\n authenticated=authenticated)\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 108, in inner\n return wrapp
- ed(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.py\", line 147, in __init__\n authenticated=authenticated)\n File \"/usr/local/lib/
- python2.7/dist-packages/positional/__init__.py\", line 108, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/_discover.p
- y\", line 41, in get_version_data\n resp = session.get(url, headers=headers, authenticated=authenticated)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.p
- y\", line 845, in get\n return self.request(url, 'GET', **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 108, in inner\n return wrappe
- d(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 578, in request\n auth_headers = self.get_auth_headers(auth)\n File \"/usr/l
- ocal/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 905, in get_auth_headers\n return auth.get_headers(self, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packa
- ges/keystoneauth1/plugin.py\", line 90, in get_headers\n token = self.get_token(session)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py\", line 8
- 9, in get_token\n return self.get_access(session).auth_token\n File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py\", line 135, in get_access\n self.
- auth_ref = self.get_auth_ref(session)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py\", line 167, in get_auth_ref\n authenticated=False, log=F
- alse, **rkwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py\", line 853, in post\n return self.request(url, 'POST', **kwargs)\n File \"/usr/local/
- lib/python2.7/dist-packages/positional/__init__.py\", line 108, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.
- py\", line 742, in request\n raise exceptions.from_response(resp, method, url)\nkeystoneauth1.exceptions.http.GatewayTimeout: Gateway Timeout (HTTP 504)\ndebug3: mux_client_read_
- packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n",
- "module_stdout": "",
- "msg": "MODULE FAILURE",
- "rc": 1,
- "retries": 6
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement