Advertisement
Guest User

Untitled

a guest
Apr 5th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. TASK [os_keystone : Distribute the fernet key repository] ***********************************************************************************************************************************************************************************
  2. task path: /etc/ansible/roles/os_keystone/tasks/keystone_fernet_keys_distribute.yml:18
  3. <OpenStack-1_keystone_container-64aa967f> The "physical_host" variable of "OpenStack-1" has been found to have a corresponding host entry in inventory.
  4. <OpenStack-1_keystone_container-64aa967f> The "physical_host" variable of "OpenStack-1" terminates at "10.1.0.102" using the host variable "ansible_host".
  5. container_name: "OpenStack-1_keystone_container-64aa967f"
  6. physical_host: "OpenStack-1"
  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: "OpenStack-1_keystone_container-64aa967f"
  11. physical_host: "OpenStack-1"
  12. Container confirmed
  13. Container type "lxc"
  14. <10.1.0.102> ESTABLISH SSH CONNECTION FOR USER: root
  15. <10.1.0.102> 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/9677dd5e45 10.1.0.102 'lxc-attach --clear-env --name OpenStack-1_keystone_container-64aa967f -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'sudo -H -S -n -u keystone /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-nfgrnlfnkwxzxxtbcqukiwglaljanymn; /usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' && sleep 0'"'"'"'"'"'"'"'"''"'"''
  16. Escalation succeeded
  17. <10.1.0.102> (1, '\n{"changed": true, "end": "2019-04-05 08:00:07.668712", "stdout": "", "cmd": ["rsync", "-e", "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no", "-avz", "--delete", "/etc/keystone/fernet-keys/", "keystone@10.1.0.143:/etc/keystone/fernet-keys/"], "failed": true, "delta": "0:00:00.017582", "stderr": "ssh: connect to host 10.1.0.143 port 22: Connection refused\\r\\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\\nrsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]", "rc": 255, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "rsync -e \'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\'\\n -avz\\n --delete\\n /etc/keystone/fernet-keys/\\n keystone@10.1.0.143:/etc/keystone/fernet-keys/", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2019-04-05 08:00:07.651130", "msg": "non-zero return code"}\n', 'mesg: ttyname failed: Inappropriate ioctl for device\n')
  18. <10.1.0.102> Failed to connect to the host via ssh: mesg: ttyname failed: Inappropriate ioctl for device
  19. failed: [OpenStack-1_keystone_container-64aa967f] (item=OpenStack-2_keystone_container-200a290d) => {
  20. "changed": false,
  21. "cmd": [
  22. "rsync",
  23. "-e",
  24. "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no",
  25. "-avz",
  26. "--delete",
  27. "/etc/keystone/fernet-keys/",
  28. "keystone@10.1.0.143:/etc/keystone/fernet-keys/"
  29. ],
  30. "delta": "0:00:00.017582",
  31. "end": "2019-04-05 08:00:07.668712",
  32. "invocation": {
  33. "module_args": {
  34. "_raw_params": "rsync -e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'\n -avz\n --delete\n /etc/keystone/fernet-keys/\n keystone@10.1.0.143:/etc/keystone/fernet-keys/",
  35. "_uses_shell": false,
  36. "argv": null,
  37. "chdir": null,
  38. "creates": null,
  39. "executable": null,
  40. "removes": null,
  41. "stdin": null,
  42. "warn": true
  43. }
  44. },
  45. "item": "OpenStack-2_keystone_container-200a290d",
  46. "msg": "non-zero return code",
  47. "rc": 255,
  48. "start": "2019-04-05 08:00:07.651130",
  49. "stderr": "ssh: connect to host 10.1.0.143 port 22: Connection refused\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]",
  50. "stderr_lines": [
  51. "ssh: connect to host 10.1.0.143 port 22: Connection refused",
  52. "rsync: connection unexpectedly closed (0 bytes received so far) [sender]",
  53. "rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]"
  54. ],
  55. "stdout": "",
  56. "stdout_lines": []
  57. }
  58. container_name: "OpenStack-1_keystone_container-64aa967f"
  59. physical_host: "OpenStack-1"
  60. Container confirmed
  61. Container type "lxc"
  62. Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/commands/command.py
  63. container_name: "OpenStack-1_keystone_container-64aa967f"
  64. physical_host: "OpenStack-1"
  65. Container confirmed
  66. Container type "lxc"
  67. <10.1.0.102> ESTABLISH SSH CONNECTION FOR USER: root
  68. <10.1.0.102> 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/9677dd5e45 10.1.0.102 'lxc-attach --clear-env --name OpenStack-1_keystone_container-64aa967f -- su - root -c '"'"'/bin/sh -c '"'"'"'"'"'"'"'"'sudo -H -S -n -u keystone /bin/sh -c '"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-ewbuhefceaoittvsesnwsssliwarzwgl; /usr/bin/python'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"'"' && sleep 0'"'"'"'"'"'"'"'"''"'"''
  69. Escalation succeeded
  70. <10.1.0.102> (0, '\n{"changed": true, "end": "2019-04-05 08:00:08.177752", "stdout": "sending incremental file list\\ndeleting 6\\n./\\n0\\n12\\n\\nsent 356 bytes received 68 bytes 282.67 bytes/sec\\ntotal size is 308 speedup is 0.73", "cmd": ["rsync", "-e", "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no", "-avz", "--delete", "/etc/keystone/fernet-keys/", "keystone@10.1.0.139:/etc/keystone/fernet-keys/"], "rc": 0, "start": "2019-04-05 08:00:07.931359", "stderr": "Warning: Permanently added \'10.1.0.139\' (ECDSA) to the list of known hosts.", "delta": "0:00:00.246393", "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "rsync -e \'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\'\\n -avz\\n --delete\\n /etc/keystone/fernet-keys/\\n keystone@10.1.0.139:/etc/keystone/fernet-keys/", "removes": null, "argv": null, "creates": null, "chdir": null, "stdin": null}}}\n', 'mesg: ttyname failed: Inappropriate ioctl for device\n')
  71. ok: [OpenStack-1_keystone_container-64aa967f] => (item=OpenStack-3_keystone_container-e3e31f66) => {
  72. "changed": false,
  73. "cmd": [
  74. "rsync",
  75. "-e",
  76. "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no",
  77. "-avz",
  78. "--delete",
  79. "/etc/keystone/fernet-keys/",
  80. "keystone@10.1.0.139:/etc/keystone/fernet-keys/"
  81. ],
  82. "delta": "0:00:00.246393",
  83. "end": "2019-04-05 08:00:08.177752",
  84. "invocation": {
  85. "module_args": {
  86. "_raw_params": "rsync -e 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'\n -avz\n --delete\n /etc/keystone/fernet-keys/\n keystone@10.1.0.139:/etc/keystone/fernet-keys/",
  87. "_uses_shell": false,
  88. "argv": null,
  89. "chdir": null,
  90. "creates": null,
  91. "executable": null,
  92. "removes": null,
  93. "stdin": null,
  94. "warn": true
  95. }
  96. },
  97. "item": "OpenStack-3_keystone_container-e3e31f66",
  98. "rc": 0,
  99. "start": "2019-04-05 08:00:07.931359",
  100. "stderr": "Warning: Permanently added '10.1.0.139' (ECDSA) to the list of known hosts.",
  101. "stderr_lines": [
  102. "Warning: Permanently added '10.1.0.139' (ECDSA) to the list of known hosts."
  103. ],
  104. "stdout": "sending incremental file list\ndeleting 6\n./\n0\n12\n\nsent 356 bytes received 68 bytes 282.67 bytes/sec\ntotal size is 308 speedup is 0.73",
  105. "stdout_lines": [
  106. "sending incremental file list",
  107. "deleting 6",
  108. "./",
  109. "0",
  110. "12",
  111. "",
  112. "sent 356 bytes received 68 bytes 282.67 bytes/sec",
  113. "total size is 308 speedup is 0.73"
  114. ]
  115. }
  116.  
  117. PLAY RECAP **********************************************************************************************************************************************************************************************************************************
  118. OpenStack-1_keystone_container-64aa967f : ok=56 changed=1 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement