Advertisement
SanabriaRusso

Untitled

May 16th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. TASK [os_keystone : Check current state of Keystone DB] *********************************************************************************
  2. task path: /etc/ansible/roles/os_keystone/tasks/keystone_db_setup.yml:44
  3. <infra1_keystone_container-041e69d2> The "physical_host" variable of "infra1" has been found to have a corresponding host entry in inventory.
  4. <infra1_keystone_container-041e69d2> The "physical_host" variable of "infra1" terminates at "172.10.10.2" using the host variable "ansible_host".
  5. container_name: "infra1_keystone_container-041e69d2"
  6. physical_host: "infra1"
  7. Container confirmed
  8. Container type "lxc"
  9. Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/commands/command.py
  10. container_name: "infra1_keystone_container-041e69d2"
  11. physical_host: "infra1"
  12. Container confirmed
  13. Container type "lxc"
  14. <172.10.10.2> ESTABLISH SSH CONNECTION FOR USER: root
  15. <172.10.10.2> SSH: ansible.cfg set ssh_args: (-C)(-o)(ControlMaster=auto)(-o)(ControlPersist=60s)
  16. <172.10.10.2> SSH: ANSIBLE_HOST_KEY_CHECKING/host_key_checking disabled: (-o)(StrictHostKeyChecking=no)
  17. <172.10.10.2> SSH: ansible_password/ansible_ssh_pass not set: (-o)(KbdInteractiveAuthentication=no)(-o)(PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey)(-o)(PasswordAuthentication=no)
  18. <172.10.10.2> SSH: ANSIBLE_REMOTE_USER/remote_user/ansible_user/user/-u set: (-o)(User=root)
  19. <172.10.10.2> SSH: ANSIBLE_TIMEOUT/timeout set: (-o)(ConnectTimeout=5)
  20. <172.10.10.2> SSH: PlayContext set ssh_extra_args: (-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)
  21. <172.10.10.2> SSH: found only ControlPersist; added ControlPath: (-o)(ControlPath=/root/.ansible/cp/c3728729b3)
  22. <172.10.10.2> 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/c3728729b3 172.10.10.2 'lxc-attach --clear-env --name infra1_keystone_container-041e69d2 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'sudo -H -S -n -u keystone /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-movfnmoeongbuywpvqlglhsjdqmzocrv; /usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' && sleep 0'"'"'"'"'"'"'"'"''"'"''
  23. Escalation succeeded
  24. <172.10.10.2> (1, '\n{"changed": true, "end": "2019-05-16 13:52:29.894012", "stdout": "", "cmd": ["/openstack/venvs/keystone-18.1.4/bin/keystone-manage", "db_sync", "--check"], "failed": true, "delta": "0:01:41.906057", "stderr": "", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/openstack/venvs/keystone-18.1.4/bin/keystone-manage db_sync --check", "removes": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-05-16 13:50:47.987955", "msg": "non-zero return code"}\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, 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 = 4439\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\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 1\r\n')
  25. fatal: [infra1_keystone_container-041e69d2]: FAILED! => {
  26. "changed": true,
  27. "cmd": [
  28. "/openstack/venvs/keystone-18.1.4/bin/keystone-manage",
  29. "db_sync",
  30. "--check"
  31. ],
  32. "delta": "0:01:41.906057",
  33. "end": "2019-05-16 13:52:29.894012",
  34. "failed_when_result": true,
  35. "invocation": {
  36. "module_args": {
  37. "_raw_params": "/openstack/venvs/keystone-18.1.4/bin/keystone-manage db_sync --check",
  38. "_uses_shell": false,
  39. "chdir": null,
  40. "creates": null,
  41. "executable": null,
  42. "removes": null,
  43. "stdin": null,
  44. "warn": true
  45. }
  46. },
  47. "msg": "non-zero return code",
  48. "rc": 1,
  49. "start": "2019-05-16 13:50:47.987955",
  50. "stderr": "",
  51. "stderr_lines": [],
  52. "stdout": "",
  53. "stdout_lines": []
  54. }
  55.  
  56. NO MORE HOSTS LEFT **********************************************************************************************************************
  57.  
  58. PLAY RECAP ******************************************************************************************************************************
  59. infra1_keystone_container-041e69d2 : ok=67 changed=26 unreachable=0 failed=1
  60. localhost : ok=3 changed=0 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement