Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.02 KB | None | 0 0
  1. TASK [os_glance : Load glance metadata definitions] ****************************
  2. task path: /etc/ansible/roles/os_glance/tasks/glance_db_setup.yml:22
  3. Tuesday 11 July 2017 16:29:13 -0500 (0:00:04.132) 0:02:36.226 **********
  4. container_name: "deploy_glance_container-b862d6e6"
  5. physical_host: "deploy"
  6. Container confirmed
  7. Using module file /opt/ansible-runtime/lib/python2.7/site-packages/ansible/modules/core/commands/command.py
  8. container_name: "deploy_glance_container-b862d6e6"
  9. physical_host: "deploy"
  10. Container confirmed
  11. <172.29.236.11> ESTABLISH SSH CONNECTION FOR USER: root
  12. <172.29.236.11> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=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/ansible-ssh-%h-%p-%r 172.29.236.11 'lxc-attach --clear-env --name deploy_glance_container-b862d6e6 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'sudo -H -S -n -u glance /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-oipzaampxrimlbzfbjbovbnzpqdkfqel; /usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' && sleep 0'"'"'"'"'"'"'"'"''"'"''
  13. ok: [deploy_glance_container-b862d6e6] => {
  14. "changed": false,
  15. "cmd": [
  16. "/openstack/venvs/glance-15.1.6/bin/glance-manage",
  17. "db_load_metadefs",
  18. "/openstack/venvs/glance-15.1.6/etc/glance/metadefs"
  19. ],
  20. "delta": "0:00:02.566310",
  21. "end": "2017-07-11 16:29:16.638054",
  22. "invocation": {
  23. "module_args": {
  24. "_raw_params": "/openstack/venvs/glance-15.1.6/bin/glance-manage db_load_metadefs /openstack/venvs/glance-15.1.6/etc/glance/metadefs",
  25. "_uses_shell": false,
  26. "chdir": null,
  27. "creates": null,
  28. "executable": null,
  29. "removes": null,
  30. "warn": true
  31. },
  32. "module_name": "command"
  33. },
  34. "rc": 0,
  35. "start": "2017-07-11 16:29:14.071744",
  36. "stderr": "/openstack/venvs/glance-15.1.6/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py:1241: OsloDBDeprecationWarning: EngineFacade is deprecated; please use oslo_db.sqlalchemy.enginefacade\n expire_on_commit=expire_on_commit, _conf=conf)",
  37. "stdout": "",
  38. "stdout_lines": [],
  39. "warnings": []
  40. }
  41.  
  42. TASK [os_glance : Ensure glance service] ***************************************
  43. task path: /etc/ansible/roles/os_glance/tasks/glance_service_setup.yml:17
  44. Tuesday 11 July 2017 16:29:16 -0500 (0:00:02.753) 0:02:38.979 **********
  45. container_name: "deploy_glance_container-b862d6e6"
  46. physical_host: "deploy"
  47. Container confirmed
  48. Using module file /etc/ansible/roles/plugins/library/keystone
  49. container_name: "deploy_glance_container-b862d6e6"
  50. physical_host: "deploy"
  51. Container confirmed
  52. <172.29.236.11> ESTABLISH SSH CONNECTION FOR USER: root
  53. <172.29.236.11> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=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/ansible-ssh-%h-%p-%r 172.29.236.11 'lxc-attach --clear-env --name deploy_glance_container-b862d6e6 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
  54. FAILED - RETRYING: TASK: os_glance : Ensure glance service (5 retries left).Result was: {
  55. "attempts": 1,
  56. "failed": true,
  57. "invocation": {
  58. "module_name": "keystone"
  59. },
  60. "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: 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_client_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 = 32592\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_diq5e0/ansible_module_keystone.py\", line 1458, in <module>\n main()\n File \"/tmp/ansible_diq5e0/ansible_module_keystone.py\", line 1452, in main\n km.command_router()\n File \"/tmp/ansible_diq5e0/ansible_module_keystone.py\", line 484, in command_router\n facts = action(variables=action_command['variables'])\n File \"/tmp/ansible_diq5e0/ansible_module_keystone.py\", line 1029, in ensure_service\n self._authenticate()\n File \"/tmp/ansible_diq5e0/ansible_module_keystone.py\", line 606, in _authenticate\n self.keystone = client.Client(**client_args)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 238, in __init__\n self.authenticate()\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\", line 581, in authenticate\n resp = self.get_raw_token_from_identity_service(**kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 324, in get_raw_token_from_identity_service\n _('Authorization failed: %s') % e)\nkeystoneauth1.exceptions.auth.AuthorizationFailure: Authorization failed: Unable to establish connection to http://172.29.236.11:35357/v3/auth/tokens\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n",
  61. "module_stdout": "",
  62. "msg": "MODULE FAILURE",
  63. "retries": 6
  64. }
  65. Using module file /etc/ansible/roles/plugins/library/keystone
  66. container_name: "deploy_glance_container-b862d6e6"
  67. physical_host: "deploy"
  68. Container confirmed
  69. <172.29.236.11> ESTABLISH SSH CONNECTION FOR USER: root
  70. <172.29.236.11> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=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/ansible-ssh-%h-%p-%r 172.29.236.11 'lxc-attach --clear-env --name deploy_glance_container-b862d6e6 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
  71. FAILED - RETRYING: TASK: os_glance : Ensure glance service (4 retries left).Result was: {
  72. "attempts": 2,
  73. "failed": true,
  74. "invocation": {
  75. "module_name": "keystone"
  76. },
  77. "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: 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_client_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 = 32592\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_Eo8vII/ansible_module_keystone.py\", line 1458, in <module>\n main()\n File \"/tmp/ansible_Eo8vII/ansible_module_keystone.py\", line 1452, in main\n km.command_router()\n File \"/tmp/ansible_Eo8vII/ansible_module_keystone.py\", line 484, in command_router\n facts = action(variables=action_command['variables'])\n File \"/tmp/ansible_Eo8vII/ansible_module_keystone.py\", line 1029, in ensure_service\n self._authenticate()\n File \"/tmp/ansible_Eo8vII/ansible_module_keystone.py\", line 606, in _authenticate\n self.keystone = client.Client(**client_args)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 238, in __init__\n self.authenticate()\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\", line 581, in authenticate\n resp = self.get_raw_token_from_identity_service(**kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 324, in get_raw_token_from_identity_service\n _('Authorization failed: %s') % e)\nkeystoneauth1.exceptions.auth.AuthorizationFailure: Authorization failed: Unable to establish connection to http://172.29.236.11:35357/v3/auth/tokens\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n",
  78. "module_stdout": "",
  79. "msg": "MODULE FAILURE",
  80. "retries": 6
  81. }
  82. Using module file /etc/ansible/roles/plugins/library/keystone
  83. container_name: "deploy_glance_container-b862d6e6"
  84. physical_host: "deploy"
  85. Container confirmed
  86. <172.29.236.11> ESTABLISH SSH CONNECTION FOR USER: root
  87. <172.29.236.11> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=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/ansible-ssh-%h-%p-%r 172.29.236.11 'lxc-attach --clear-env --name deploy_glance_container-b862d6e6 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
  88. FAILED - RETRYING: TASK: os_glance : Ensure glance service (3 retries left).Result was: {
  89. "attempts": 3,
  90. "failed": true,
  91. "invocation": {
  92. "module_name": "keystone"
  93. },
  94. "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: 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_client_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 = 32592\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_n0Aivf/ansible_module_keystone.py\", line 1458, in <module>\n main()\n File \"/tmp/ansible_n0Aivf/ansible_module_keystone.py\", line 1452, in main\n km.command_router()\n File \"/tmp/ansible_n0Aivf/ansible_module_keystone.py\", line 484, in command_router\n facts = action(variables=action_command['variables'])\n File \"/tmp/ansible_n0Aivf/ansible_module_keystone.py\", line 1029, in ensure_service\n self._authenticate()\n File \"/tmp/ansible_n0Aivf/ansible_module_keystone.py\", line 606, in _authenticate\n self.keystone = client.Client(**client_args)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 238, in __init__\n self.authenticate()\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\", line 581, in authenticate\n resp = self.get_raw_token_from_identity_service(**kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 324, in get_raw_token_from_identity_service\n _('Authorization failed: %s') % e)\nkeystoneauth1.exceptions.auth.AuthorizationFailure: Authorization failed: Unable to establish connection to http://172.29.236.11:35357/v3/auth/tokens\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n",
  95. "module_stdout": "",
  96. "msg": "MODULE FAILURE",
  97. "retries": 6
  98. }
  99. Using module file /etc/ansible/roles/plugins/library/keystone
  100. container_name: "deploy_glance_container-b862d6e6"
  101. physical_host: "deploy"
  102. Container confirmed
  103. <172.29.236.11> ESTABLISH SSH CONNECTION FOR USER: root
  104. <172.29.236.11> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=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/ansible-ssh-%h-%p-%r 172.29.236.11 'lxc-attach --clear-env --name deploy_glance_container-b862d6e6 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
  105. FAILED - RETRYING: TASK: os_glance : Ensure glance service (2 retries left).Result was: {
  106. "attempts": 4,
  107. "failed": true,
  108. "invocation": {
  109. "module_name": "keystone"
  110. },
  111. "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: 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_client_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 = 32592\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_CmwEIM/ansible_module_keystone.py\", line 1458, in <module>\n main()\n File \"/tmp/ansible_CmwEIM/ansible_module_keystone.py\", line 1452, in main\n km.command_router()\n File \"/tmp/ansible_CmwEIM/ansible_module_keystone.py\", line 484, in command_router\n facts = action(variables=action_command['variables'])\n File \"/tmp/ansible_CmwEIM/ansible_module_keystone.py\", line 1029, in ensure_service\n self._authenticate()\n File \"/tmp/ansible_CmwEIM/ansible_module_keystone.py\", line 606, in _authenticate\n self.keystone = client.Client(**client_args)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 238, in __init__\n self.authenticate()\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\", line 581, in authenticate\n resp = self.get_raw_token_from_identity_service(**kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 324, in get_raw_token_from_identity_service\n _('Authorization failed: %s') % e)\nkeystoneauth1.exceptions.auth.AuthorizationFailure: Authorization failed: Unable to establish connection to http://172.29.236.11:35357/v3/auth/tokens\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n",
  112. "module_stdout": "",
  113. "msg": "MODULE FAILURE",
  114. "retries": 6
  115. }
  116. Using module file /etc/ansible/roles/plugins/library/keystone
  117. container_name: "deploy_glance_container-b862d6e6"
  118. physical_host: "deploy"
  119. Container confirmed
  120. <172.29.236.11> ESTABLISH SSH CONNECTION FOR USER: root
  121. <172.29.236.11> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=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/ansible-ssh-%h-%p-%r 172.29.236.11 'lxc-attach --clear-env --name deploy_glance_container-b862d6e6 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
  122. FAILED - RETRYING: TASK: os_glance : Ensure glance service (1 retries left).Result was: {
  123. "attempts": 5,
  124. "failed": true,
  125. "invocation": {
  126. "module_name": "keystone"
  127. },
  128. "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: 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_client_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 = 32592\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_ngzO2g/ansible_module_keystone.py\", line 1458, in <module>\n main()\n File \"/tmp/ansible_ngzO2g/ansible_module_keystone.py\", line 1452, in main\n km.command_router()\n File \"/tmp/ansible_ngzO2g/ansible_module_keystone.py\", line 484, in command_router\n facts = action(variables=action_command['variables'])\n File \"/tmp/ansible_ngzO2g/ansible_module_keystone.py\", line 1029, in ensure_service\n self._authenticate()\n File \"/tmp/ansible_ngzO2g/ansible_module_keystone.py\", line 606, in _authenticate\n self.keystone = client.Client(**client_args)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 238, in __init__\n self.authenticate()\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\", line 581, in authenticate\n resp = self.get_raw_token_from_identity_service(**kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 324, in get_raw_token_from_identity_service\n _('Authorization failed: %s') % e)\nkeystoneauth1.exceptions.auth.AuthorizationFailure: Authorization failed: Unable to establish connection to http://172.29.236.11:35357/v3/auth/tokens\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n",
  129. "module_stdout": "",
  130. "msg": "MODULE FAILURE",
  131. "retries": 6
  132. }
  133. Using module file /etc/ansible/roles/plugins/library/keystone
  134. container_name: "deploy_glance_container-b862d6e6"
  135. physical_host: "deploy"
  136. Container confirmed
  137. <172.29.236.11> ESTABLISH SSH CONNECTION FOR USER: root
  138. <172.29.236.11> SSH: EXEC ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=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/ansible-ssh-%h-%p-%r 172.29.236.11 'lxc-attach --clear-env --name deploy_glance_container-b862d6e6 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'/usr/bin/python && sleep 0'"'"'"'"'"'"'"'"''"'"''
  139. fatal: [deploy_glance_container-b862d6e6]: FAILED! => {
  140. "attempts": 5,
  141. "changed": false,
  142. "failed": true,
  143. "invocation": {
  144. "module_name": "keystone"
  145. },
  146. "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: 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_client_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 = 32592\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_6Butgt/ansible_module_keystone.py\", line 1458, in <module>\n main()\n File \"/tmp/ansible_6Butgt/ansible_module_keystone.py\", line 1452, in main\n km.command_router()\n File \"/tmp/ansible_6Butgt/ansible_module_keystone.py\", line 484, in command_router\n facts = action(variables=action_command['variables'])\n File \"/tmp/ansible_6Butgt/ansible_module_keystone.py\", line 1029, in ensure_service\n self._authenticate()\n File \"/tmp/ansible_6Butgt/ansible_module_keystone.py\", line 606, in _authenticate\n self.keystone = client.Client(**client_args)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 238, in __init__\n self.authenticate()\n File \"/usr/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\n return wrapped(*args, **kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\", line 581, in authenticate\n resp = self.get_raw_token_from_identity_service(**kwargs)\n File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v3/client.py\", line 324, in get_raw_token_from_identity_service\n _('Authorization failed: %s') % e)\nkeystoneauth1.exceptions.auth.AuthorizationFailure: Authorization failed: Unable to establish connection to http://172.29.236.11:35357/v3/auth/tokens\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n",
  147. "module_stdout": "",
  148. "msg": "MODULE FAILURE"
  149. }
  150.  
  151. NO MORE HOSTS LEFT *************************************************************
  152.  
  153. NO MORE HOSTS LEFT *************************************************************
  154.  
  155. PLAY RECAP *********************************************************************
  156. deploy_glance_container-b862d6e6 : ok=64 changed=2 unreachable=0 failed=1
  157. deploy_keystone_container-ad839eb8 : ok=124 changed=13 unreachable=0 failed=0
  158.  
  159. Tuesday 11 July 2017 16:29:31 -0500 (0:00:14.563) 0:02:53.543 **********
  160. ===============================================================================
  161. os_keystone : Wait for services to be up ------------------------------- 34.89s
  162. /etc/ansible/roles/os_keystone/tasks/keystone_service_setup.yml:16 ------------
  163. os_glance : Ensure glance service -------------------------------------- 14.56s
  164. /etc/ansible/roles/os_glance/tasks/glance_service_setup.yml:17 ----------------
  165. pip_install : Install UCA repository key -------------------------------- 8.09s
  166. /etc/ansible/roles/pip_install/tasks/pre_install_apt.yml:17 -------------------
  167. os_keystone : Bootstrap keystone admin and endpoint --------------------- 4.76s
  168. /etc/ansible/roles/os_keystone/tasks/keystone_service_setup.yml:32 ------------
  169. os_glance : Perform a Glance DB sync ------------------------------------ 4.13s
  170. /etc/ansible/roles/os_glance/tasks/glance_db_setup.yml:16 ---------------------
  171. os_glance : Drop Glance Config(s) --------------------------------------- 4.01s
  172. /etc/ansible/roles/os_glance/tasks/glance_post_install.yml:16 -----------------
  173. os_glance : Install requires pip packages ------------------------------- 2.76s
  174. /etc/ansible/roles/os_glance/tasks/glance_install.yml:37 ----------------------
  175. os_glance : Load glance metadata definitions ---------------------------- 2.75s
  176. /etc/ansible/roles/os_glance/tasks/glance_db_setup.yml:22 ---------------------
  177. pip_install : Install PIP ----------------------------------------------- 2.59s
  178. /etc/ansible/roles/pip_install/tasks/install_source.yml:17 --------------------
  179. os_keystone : Install required pip packages ----------------------------- 2.50s
  180. /etc/ansible/roles/os_keystone/tasks/keystone_install.yml:74 ------------------
  181. os_keystone : Create keystone dir --------------------------------------- 2.46s
  182. /etc/ansible/roles/os_keystone/tasks/keystone_pre_install.yml:65 --------------
  183. pip_install : Install UCA repository ------------------------------------ 2.25s
  184. /etc/ansible/roles/pip_install/tasks/pre_install_apt.yml:28 -------------------
  185. os_keystone : Ensure newest key is used for credential in Keystone ------ 2.23s
  186. /etc/ansible/roles/os_keystone/tasks/keystone_credential_create.yml:85 --------
  187. os_keystone : Rotate credential keys for Keystone ----------------------- 2.23s
  188. /etc/ansible/roles/os_keystone/tasks/keystone_credential_create.yml:94 --------
  189. os_keystone : Perform a Keystone DB sync expand ------------------------- 2.13s
  190. /etc/ansible/roles/os_keystone/tasks/keystone_db_setup.yml:63 -----------------
  191. test proxy URL for connectivity ----------------------------------------- 2.09s
  192. /opt/openstack-ansible/playbooks/common-tasks/package-cache-proxy.yml:16 ------
  193. os_keystone : Perform a Keystone DB sync migrate ------------------------ 1.88s
  194. /etc/ansible/roles/os_keystone/tasks/keystone_db_setup.yml:71 -----------------
  195. Perform a Keystone DB sync contract ------------------------------------- 1.87s
  196. /opt/openstack-ansible/playbooks/os-keystone-install.yml:200 ------------------
  197. os_keystone : Check current state of Keystone DB ------------------------ 1.71s
  198. /etc/ansible/roles/os_keystone/tasks/keystone_db_setup.yml:16 -----------------
  199. os_keystone : Ensure service tenant ------------------------------------- 1.71s
  200. /etc/ansible/roles/os_keystone/tasks/keystone_service_setup.yml:53 ------------
  201. root@deploy:/opt/openstack-ansible/playbooks#
  202. root@deploy:/opt/openstack-ansible/playbooks#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement