Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2021
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.77 KB | None | 0 0
  1. RUNNING HANDLER [loadbalancer : Check IP addresses on the API interface] *******************************************************************************************
  2. task path: /root/openstack/share/kolla-ansible/ansible/roles/loadbalancer/handlers/main.yml:9
  3. Using module file /root/openstack/lib/python3.8/site-packages/ansible/modules/command.py
  4. Pipelining is enabled.
  5. <localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
  6. <localhost> EXEC /bin/sh -c '/root/openstack/bin/python3 && sleep 0'
  7. ok: [localhost] => {
  8. "changed": false,
  9. "cmd": [
  10. "ip",
  11. "-4",
  12. "-o",
  13. "addr",
  14. "show",
  15. "dev",
  16. "enp0s20f0"
  17. ],
  18. "delta": "0:00:00.006261",
  19. "end": "2021-11-23 18:42:38.378045",
  20. "invocation": {
  21. "module_args": {
  22. "_raw_params": "ip -4 -o addr show dev enp0s20f0",
  23. "_uses_shell": false,
  24. "argv": null,
  25. "chdir": null,
  26. "creates": null,
  27. "executable": null,
  28. "removes": null,
  29. "stdin": null,
  30. "stdin_add_newline": true,
  31. "strip_empty_ends": true,
  32. "warn": false
  33. }
  34. },
  35. "msg": "",
  36. "rc": 0,
  37. "start": "2021-11-23 18:42:38.371784",
  38. "stderr": "",
  39. "stderr_lines": [],
  40. "stdout": "2: enp0s20f0 inet 192.168.2.2/24 brd 192.168.2.255 scope global dynamic enp0s20f0\\ valid_lft 62489sec preferred_lft 62489sec",
  41. "stdout_lines": [
  42. "2: enp0s20f0 inet 192.168.2.2/24 brd 192.168.2.255 scope global dynamic enp0s20f0\\ valid_lft 62489sec preferred_lft 62489sec"
  43. ]
  44. }
  45.  
  46. RUNNING HANDLER [loadbalancer : Group HA nodes by status] **********************************************************************************************************
  47. task path: /root/openstack/share/kolla-ansible/ansible/roles/loadbalancer/handlers/main.yml:22
  48. ok: [localhost] => {
  49. "add_group": "kolla_ha_is_master_False",
  50. "changed": false,
  51. "parent_groups": [
  52. "all"
  53. ]
  54. }
  55.  
  56. RUNNING HANDLER [loadbalancer : Stop backup keepalived container] **************************************************************************************************
  57. task path: /root/openstack/share/kolla-ansible/ansible/roles/loadbalancer/handlers/main.yml:34
  58. Using module file /root/openstack/share/kolla-ansible/ansible/library/kolla_docker.py
  59. Pipelining is enabled.
  60. <localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
  61. <localhost> EXEC /bin/sh -c '/root/openstack/bin/python3 && sleep 0'
  62. ok: [localhost] => {
  63. "changed": false,
  64. "invocation": {
  65. "module_args": {
  66. "action": "stop_container",
  67. "api_version": "auto",
  68. "auth_email": null,
  69. "auth_password": null,
  70. "auth_registry": "quay.io",
  71. "auth_username": null,
  72. "cap_add": [],
  73. "cgroupns_mode": null,
  74. "client_timeout": 120,
  75. "command": null,
  76. "detach": true,
  77. "dimensions": {},
  78. "environment": {
  79. "KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS"
  80. },
  81. "graceful_timeout": 10,
  82. "healthcheck": null,
  83. "ignore_missing": true,
  84. "image": null,
  85. "labels": {},
  86. "name": "keepalived",
  87. "privileged": false,
  88. "remove_on_exit": true,
  89. "restart_policy": "unless-stopped",
  90. "restart_retries": 10,
  91. "security_opt": [],
  92. "state": "running",
  93. "tls_cacert": null,
  94. "tls_cert": null,
  95. "tls_key": null,
  96. "tls_verify": false,
  97. "tmpfs": null,
  98. "tty": false,
  99. "volumes": null,
  100. "volumes_from": null
  101. }
  102. },
  103. "result": false
  104. }
  105.  
  106. RUNNING HANDLER [loadbalancer : Restart backup haproxy container] **************************************************************************************************
  107. task path: /root/openstack/share/kolla-ansible/ansible/roles/loadbalancer/handlers/main.yml:49
  108. Using module file /root/openstack/share/kolla-ansible/ansible/library/kolla_docker.py
  109. Pipelining is enabled.
  110. <localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
  111. <localhost> EXEC /bin/sh -c '/root/openstack/bin/python3 && sleep 0'
  112. NOTIFIED HANDLER loadbalancer : Wait for backup haproxy to start for localhost
  113. changed: [localhost] => {
  114. "changed": true,
  115. "invocation": {
  116. "module_args": {
  117. "action": "recreate_or_restart_container",
  118. "api_version": "auto",
  119. "auth_email": null,
  120. "auth_password": null,
  121. "auth_registry": "quay.io",
  122. "auth_username": null,
  123. "cap_add": [],
  124. "cgroupns_mode": null,
  125. "client_timeout": 120,
  126. "command": null,
  127. "detach": true,
  128. "dimensions": {},
  129. "environment": {
  130. "KOLLA_CONFIG_STRATEGY": "COPY_ALWAYS",
  131. "KOLLA_SERVICE_NAME": "haproxy"
  132. },
  133. "graceful_timeout": 10,
  134. "healthcheck": {
  135. "interval": "30",
  136. "retries": "3",
  137. "start_period": "5",
  138. "test": [
  139. "CMD-SHELL",
  140. "healthcheck_curl http://192.168.2.2:61313"
  141. ],
  142. "timeout": "30"
  143. },
  144. "ignore_missing": false,
  145. "image": "quay.io/openstack.kolla/ubuntu-source-haproxy:master",
  146. "labels": {},
  147. "name": "haproxy",
  148. "privileged": true,
  149. "remove_on_exit": true,
  150. "restart_policy": "unless-stopped",
  151. "restart_retries": 10,
  152. "security_opt": [],
  153. "state": "running",
  154. "tls_cacert": null,
  155. "tls_cert": null,
  156. "tls_key": null,
  157. "tls_verify": false,
  158. "tmpfs": null,
  159. "tty": false,
  160. "volumes": [
  161. "/etc/kolla/haproxy/:/var/lib/kolla/config_files/:ro",
  162. "/etc/localtime:/etc/localtime:ro",
  163. "/etc/timezone:/etc/timezone:ro",
  164. "haproxy_socket:/var/lib/kolla/haproxy/"
  165. ],
  166. "volumes_from": null
  167. }
  168. },
  169. "result": false
  170. }
  171.  
  172. RUNNING HANDLER [loadbalancer : Wait for backup haproxy to start] **************************************************************************************************
  173. task path: /root/openstack/share/kolla-ansible/ansible/roles/loadbalancer/handlers/main.yml:73
  174. Using module file /root/openstack/lib/python3.8/site-packages/ansible/modules/wait_for.py
  175. Pipelining is enabled.
  176. <localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
  177. <localhost> EXEC /bin/sh -c '/root/openstack/bin/python3 && sleep 0'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement