Advertisement
Guest User

Untitled

a guest
Feb 28th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 KB | None | 0 0
  1. I am following steps for scaling as per https://docs.openstack.org/openstack-ansible/pike/admin/maintenance-tasks/scale-environment.html
  2.  
  3. the command openstack-ansible setup-everything.yml --limit @/root/add_host.limit --vvv fails as:
  4.  
  5. RUNNING HANDLER [haproxy_server : Regenerate haproxy configuration] *******************************************************************
  6. Monday 26 February 2018 23:19:56 -0800 (0:00:01.208) 0:34:23.136 *******
  7. container_name: "infra4"
  8. physical_host: "infra4"
  9. Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/files/assemble.py
  10. container_name: "infra4"
  11. physical_host: "infra4"
  12. <ip infra4> ESTABLISH SSH CONNECTION FOR USER: root
  13. <ip infra4> 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/dbae8b1832 ip infra4 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
  14. <ip infra4> (0, '\n{"src": "/etc/haproxy/conf.d", "changed": true, "group": "root", "uid": 0, "dest": "/etc/haproxy/haproxy.cfg", "checksum": "163187ca91948fe996b36c4cd0a24881fcfee88b", "md5sum": "64b19f839c96d83311a58832805e00dc", "invocation": {"module_args": {"ignore_hidden": false, "src": "/etc/haproxy/conf.d", "directory_mode": null, "force": null, "remote_src": false, "unsafe_writes": null, "selevel": null, "seuser": null, "setype": null, "group": null, "content": null, "dest": "/etc/haproxy/haproxy.cfg", "serole": null, "delimiter": null, "mode": null, "regexp": null, "owner": null, "follow": false, "validate": null, "attributes": null, "backup": false}}, "state": "file", "gid": 0, "mode": "0644", "owner": "root", "size": 27327, "msg": "OK"}\n', '')
  15. NOTIFIED HANDLER Restart haproxy
  16. changed: [infra4] => {
  17. "changed": true,
  18. "checksum": "163187ca91948fe996b36c4cd0a24881fcfee88b",
  19. "dest": "/etc/haproxy/haproxy.cfg",
  20. "gid": 0,
  21. "group": "root",
  22. "invocation": {
  23. "module_args": {
  24. "attributes": null,
  25. "backup": false,
  26. "content": null,
  27. "delimiter": null,
  28. "dest": "/etc/haproxy/haproxy.cfg",
  29. "directory_mode": null,
  30. "follow": false,
  31. "force": null,
  32. "group": null,
  33. "ignore_hidden": false,
  34. "mode": null,
  35. "owner": null,
  36. "regexp": null,
  37. "remote_src": false,
  38. "selevel": null,
  39. "serole": null,
  40. "setype": null,
  41. "seuser": null,
  42. "src": "/etc/haproxy/conf.d",
  43. "unsafe_writes": null,
  44. "validate": null
  45. }
  46. },
  47. "md5sum": "64b19f839c96d83311a58832805e00dc",
  48. "mode": "0644",
  49. "msg": "OK",
  50. "owner": "root",
  51. "size": 27327,
  52. "src": "/etc/haproxy/conf.d",
  53. "state": "file",
  54. "uid": 0
  55. }
  56.  
  57. RUNNING HANDLER [haproxy_server : Restart haproxy] ************************************************************************************
  58. Monday 26 February 2018 23:19:57 -0800 (0:00:01.325) 0:34:24.462 *******
  59. container_name: "infra4"
  60. physical_host: "infra4"
  61. Using module file /opt/ansible-runtime/local/lib/python2.7/site-packages/ansible/modules/system/systemd.py
  62. container_name: "infra4"
  63. physical_host: "infra4"
  64. <ip infra4> ESTABLISH SSH CONNECTION FOR USER: root
  65. <ip infra4> 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/dbae8b1832 ip infra4 '/bin/sh -c '"'"'/usr/bin/python && sleep 0'"'"''
  66. <ip infra4> (1, '\n{"msg": "Unable to restart service haproxy: Job for haproxy.service failed because the control process exited with error code. See \\"systemctl status haproxy.service\\" and \\"journalctl -xe\\" for details.\\n", "failed": true, "invocation": {"module_args": {"no_block": false, "name": "haproxy", "enabled": true, "daemon_reload": true, "state": "restarted", "user": false, "masked": null}}}\n', '')
  67. fatal: [infra4]: FAILED! => {
  68. "changed": false,
  69. "failed": true,
  70. "invocation": {
  71. "module_args": {
  72. "daemon_reload": true,
  73. "enabled": true,
  74. "masked": null,
  75. "name": "haproxy",
  76. "no_block": false,
  77. "state": "restarted",
  78. "user": false
  79. }
  80. },
  81. "msg": "Unable to restart service haproxy: Job for haproxy.service failed because the control process exited with error code. See \"systemctl status haproxy.service\" and \"journalctl -xe\" for details.\n"
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement