Advertisement
Guest User

Untitled

a guest
May 15th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 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-0d51ee61> The "physical_host" variable of "infra1" has been found to have a corresponding host entry in inventory.
  4. <infra1_keystone_container-0d51ee61> The "physical_host" variable of "infra1" terminates at "172.10.10.2" using the host variable "ansible_host".
  5. container_name: "infra1_keystone_container-0d51ee61"
  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-0d51ee61"
  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: EXEC ssh -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-0d51ee61 -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'sudo -H -S -n -u keystone /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jqbyzxxvpkdgtxfvbuhpzbqneqszpwwb; /usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' && sleep 0'"'"'"'"'"'"'"'"''"'"''
  16. Escalation succeeded
  17. <172.10.10.2> (1, '\n{"changed": true, "end": "2019-05-15 16:27:40.668699", "stdout": "", "cmd": ["/openstack/venvs/keystone-18.1.5/bin/keystone-manage", "db_sync", "--check"], "failed": true, "delta": "0:01:41.904812", "stderr": "", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/openstack/venvs/keystone-18.1.5/bin/keystone-manage db_sync --check", "removes": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-05-15 16:25:58.763887", "msg": "non-zero return code"}\n', 'mesg: ttyname failed: Inappropriate ioctl for device\n')
  18. fatal: [infra1_keystone_container-0d51ee61]: FAILED! => {
  19. "changed": true,
  20. "cmd": [
  21. "/openstack/venvs/keystone-18.1.5/bin/keystone-manage",
  22. "db_sync",
  23. "--check"
  24. ],
  25. "delta": "0:01:41.904812",
  26. "end": "2019-05-15 16:27:40.668699",
  27. "failed_when_result": true,
  28. "invocation": {
  29. "module_args": {
  30. "_raw_params": "/openstack/venvs/keystone-18.1.5/bin/keystone-manage db_sync --check",
  31. "_uses_shell": false,
  32. "chdir": null,
  33. "creates": null,
  34. "executable": null,
  35. "removes": null,
  36. "stdin": null,
  37. "warn": true
  38. }
  39. },
  40. "msg": "non-zero return code",
  41. "rc": 1,
  42. "start": "2019-05-15 16:25:58.763887",
  43. "stderr": "",
  44. "stderr_lines": [],
  45. "stdout": "",
  46. "stdout_lines": []
  47. }
  48.  
  49. NO MORE HOSTS LEFT **********************************************************************************************************************
  50.  
  51. PLAY RECAP ******************************************************************************************************************************
  52. infra1_keystone_container-0d51ee61 : ok=67 changed=26 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement