Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2022
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 83.32 KB | None | 0 0
  1. root@deployer:/opt/openstack-ansible/playbooks# ansible-playbook setup-infrastructure.yml
  2. Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
  3. [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source
  4. [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks instead. This feature will be removed in version 2.16. Deprecation warnings can be disabled by setting
  5. deprecation_warnings=False in ansible.cfg.
  6.  
  7. PLAY [Gather unbound facts] ********************************************************************************************************************************************************************************
  8. skipping: no hosts matched
  9.  
  10. PLAY [Install unbound DNS resolvers] ***********************************************************************************************************************************************************************
  11. skipping: no hosts matched
  12.  
  13. PLAY [Install unbound DNS resolver client configurations] **************************************************************************************************************************************************
  14.  
  15. TASK [include_tasks] ***************************************************************************************************************************************************************************************
  16.  
  17. PLAY [Gather repo facts] ***********************************************************************************************************************************************************************************
  18.  
  19. PLAY [Setup repo servers] **********************************************************************************************************************************************************************************
  20.  
  21. TASK [End playbook] ****************************************************************************************************************************************************************************************
  22.  
  23. PLAY [Setup repo server gluster cluster] *******************************************************************************************************************************************************************
  24.  
  25. TASK [Create gluster cluster] ******************************************************************************************************************************************************************************
  26.  
  27. TASK [openstack.osa.glusterfs : Gather variables for each operating system] ********************************************************************************************************************************
  28. ok: [controller1_repo_container-aa601a15]
  29. ok: [controller2_repo_container-ad989103]
  30. ok: [controller3_repo_container-aec6a371]
  31.  
  32. TASK [openstack.osa.glusterfs : Enable extra repositories] *************************************************************************************************************************************************
  33. skipping: [controller1_repo_container-aa601a15]
  34. skipping: [controller2_repo_container-ad989103]
  35. skipping: [controller3_repo_container-aec6a371]
  36.  
  37. TASK [openstack.osa.glusterfs : Install gluster repo packages] *********************************************************************************************************************************************
  38.  
  39. TASK [openstack.osa.glusterfs : Fix repo mirrorlist] *******************************************************************************************************************************************************
  40.  
  41. TASK [systemd_service : Pull systemd version] **************************************************************************************************************************************************************
  42. skipping: [controller1_repo_container-aa601a15]
  43. skipping: [controller2_repo_container-ad989103]
  44. skipping: [controller3_repo_container-aec6a371]
  45.  
  46. TASK [systemd_service : Set systemd version] ***************************************************************************************************************************************************************
  47.  
  48. TASK [systemd_service : Create TEMP run dir] ***************************************************************************************************************************************************************
  49. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  50. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  51. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  52.  
  53. TASK [systemd_service : Create TEMP service lock dir] ******************************************************************************************************************************************************
  54. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  55. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  56. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  57.  
  58. TASK [systemd_service : Create service.d overrides dir] ****************************************************************************************************************************************************
  59. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  60. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  61. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  62.  
  63. TASK [systemd_service : Create tmpfiles.d entry] ***********************************************************************************************************************************************************
  64. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  65. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  66. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  67.  
  68. TASK [systemd_service : Place the systemd service] *********************************************************************************************************************************************************
  69. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  70. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  71. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  72.  
  73. TASK [systemd_service : Place the systemd override] ********************************************************************************************************************************************************
  74. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  75. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  76. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  77.  
  78. TASK [systemd_service : Place the systemd timer] ***********************************************************************************************************************************************************
  79. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  80. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  81. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'systemd-tmpfiles-setup-dev', 'load': False, 'systemd_overrides_only': True, 'systemd_overrides': {'Unit': {'ConditionCapability': ''}}})
  82.  
  83. TASK [systemd_service : Place the systemd socket] **********************************************************************************************************************************************************
  84.  
  85. TASK [systemd_service : Reload systemd on unit change] *****************************************************************************************************************************************************
  86.  
  87. TASK [systemd_service : include_tasks] *********************************************************************************************************************************************************************
  88.  
  89. TASK [systemd_service : Load socket] ***********************************************************************************************************************************************************************
  90.  
  91. TASK [openstack.osa.glusterfs : Install glusterfs server packages] *****************************************************************************************************************************************
  92. ok: [controller2_repo_container-ad989103]
  93. ok: [controller1_repo_container-aa601a15]
  94. ok: [controller3_repo_container-aec6a371]
  95.  
  96. TASK [openstack.osa.glusterfs : Drop glusterfs-wait.sh script] *********************************************************************************************************************************************
  97. ok: [controller3_repo_container-aec6a371]
  98. ok: [controller2_repo_container-ad989103]
  99. ok: [controller1_repo_container-aa601a15]
  100.  
  101. TASK [systemd_service : Pull systemd version] **************************************************************************************************************************************************************
  102. ok: [controller2_repo_container-ad989103]
  103. ok: [controller3_repo_container-aec6a371]
  104. ok: [controller1_repo_container-aa601a15]
  105.  
  106. TASK [systemd_service : Set systemd version] ***************************************************************************************************************************************************************
  107. ok: [controller1_repo_container-aa601a15]
  108. ok: [controller2_repo_container-ad989103]
  109. ok: [controller3_repo_container-aec6a371]
  110.  
  111. TASK [systemd_service : Create TEMP run dir] ***************************************************************************************************************************************************************
  112. ok: [controller1_repo_container-aa601a15] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  113. ok: [controller2_repo_container-ad989103] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  114. ok: [controller3_repo_container-aec6a371] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  115.  
  116. TASK [systemd_service : Create TEMP service lock dir] ******************************************************************************************************************************************************
  117. ok: [controller1_repo_container-aa601a15] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  118. ok: [controller2_repo_container-ad989103] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  119. ok: [controller3_repo_container-aec6a371] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  120.  
  121. TASK [systemd_service : Create service.d overrides dir] ****************************************************************************************************************************************************
  122. ok: [controller1_repo_container-aa601a15] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  123. ok: [controller2_repo_container-ad989103] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  124. ok: [controller3_repo_container-aec6a371] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  125.  
  126. TASK [systemd_service : Create tmpfiles.d entry] ***********************************************************************************************************************************************************
  127. ok: [controller1_repo_container-aa601a15] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  128. ok: [controller2_repo_container-ad989103] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  129. ok: [controller3_repo_container-aec6a371] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  130.  
  131. TASK [systemd_service : Place the systemd service] *********************************************************************************************************************************************************
  132. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  133. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  134. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  135.  
  136. TASK [systemd_service : Place the systemd override] ********************************************************************************************************************************************************
  137. ok: [controller1_repo_container-aa601a15] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  138. ok: [controller2_repo_container-ad989103] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  139. ok: [controller3_repo_container-aec6a371] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  140.  
  141. TASK [systemd_service : Place the systemd timer] ***********************************************************************************************************************************************************
  142. skipping: [controller1_repo_container-aa601a15] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  143. skipping: [controller2_repo_container-ad989103] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  144. skipping: [controller3_repo_container-aec6a371] => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  145.  
  146. TASK [systemd_service : Place the systemd socket] **********************************************************************************************************************************************************
  147.  
  148. TASK [systemd_service : Reload systemd on unit change] *****************************************************************************************************************************************************
  149.  
  150. TASK [systemd_service : include_tasks] *********************************************************************************************************************************************************************
  151. included: /etc/ansible/roles/systemd_service/tasks/systemd_load.yml for controller1_repo_container-aa601a15, controller2_repo_container-ad989103, controller3_repo_container-aec6a371 => (item={'service_name': 'glusterd', 'systemd_overrides_only': True, 'systemd_overrides': {'Service': {'ExecStartPost': '/usr/local/sbin/glusterfs-wait.sh'}}})
  152.  
  153. TASK [systemd_service : Load service glusterd] *************************************************************************************************************************************************************
  154. ok: [controller3_repo_container-aec6a371] => (item=)
  155. ok: [controller1_repo_container-aa601a15] => (item=)
  156. ok: [controller2_repo_container-ad989103] => (item=)
  157.  
  158. TASK [systemd_service : Load timer glusterd] ***************************************************************************************************************************************************************
  159. skipping: [controller1_repo_container-aa601a15] => (item=)
  160. skipping: [controller2_repo_container-ad989103] => (item=)
  161. skipping: [controller3_repo_container-aec6a371] => (item=)
  162.  
  163. TASK [systemd_service : Load socket] ***********************************************************************************************************************************************************************
  164.  
  165. TASK [openstack.osa.glusterfs : Configure systemd-tmpfiles to create /dev/fuse at boot] ********************************************************************************************************************
  166. ok: [controller2_repo_container-ad989103]
  167. ok: [controller3_repo_container-aec6a371]
  168. ok: [controller1_repo_container-aa601a15]
  169.  
  170. TASK [openstack.osa.glusterfs : Restart systemd-tmpfiles-setup-dev] ****************************************************************************************************************************************
  171.  
  172. TASK [openstack.osa.glusterfs : Start glusterfs server] ****************************************************************************************************************************************************
  173. ok: [controller1_repo_container-aa601a15]
  174. ok: [controller2_repo_container-ad989103]
  175. ok: [controller3_repo_container-aec6a371]
  176.  
  177. TASK [openstack.osa.glusterfs : Create gluster peers] ******************************************************************************************************************************************************
  178. ok: [controller3_repo_container-aec6a371]
  179.  
  180. TASK [openstack.osa.glusterfs : Ensure glusterfs backing directory exists] *********************************************************************************************************************************
  181. ok: [controller1_repo_container-aa601a15]
  182. ok: [controller2_repo_container-ad989103]
  183. ok: [controller3_repo_container-aec6a371]
  184.  
  185. TASK [openstack.osa.glusterfs : Check brick status] ********************************************************************************************************************************************************
  186. ok: [controller1_repo_container-aa601a15]
  187. ok: [controller2_repo_container-ad989103]
  188. ok: [controller3_repo_container-aec6a371]
  189.  
  190. TASK [openstack.osa.glusterfs : Reset brick for a replaced node] *******************************************************************************************************************************************
  191. skipping: [controller1_repo_container-aa601a15] => (item=gluster volume reset-brick gfs-repo controller1-repo-container-aa601a15:/gluster/bricks/1 start)
  192. skipping: [controller1_repo_container-aa601a15] => (item=gluster volume reset-brick gfs-repo controller1-repo-container-aa601a15:/gluster/bricks/1 controller1-repo-container-aa601a15:/gluster/bricks/1 commit force)
  193. skipping: [controller2_repo_container-ad989103] => (item=gluster volume reset-brick gfs-repo controller2-repo-container-ad989103:/gluster/bricks/1 start)
  194. skipping: [controller2_repo_container-ad989103] => (item=gluster volume reset-brick gfs-repo controller2-repo-container-ad989103:/gluster/bricks/1 controller2-repo-container-ad989103:/gluster/bricks/1 commit force)
  195. skipping: [controller3_repo_container-aec6a371] => (item=gluster volume reset-brick gfs-repo controller3-repo-container-aec6a371:/gluster/bricks/1 start)
  196. skipping: [controller3_repo_container-aec6a371] => (item=gluster volume reset-brick gfs-repo controller3-repo-container-aec6a371:/gluster/bricks/1 controller3-repo-container-aec6a371:/gluster/bricks/1 commit force)
  197.  
  198. TASK [openstack.osa.glusterfs : Create gluster volume] *****************************************************************************************************************************************************
  199. ok: [controller3_repo_container-aec6a371]
  200.  
  201. PLAY [Setup repo servers] **********************************************************************************************************************************************************************************
  202.  
  203. TASK [apt_package_pinning : Add apt pin preferences] *******************************************************************************************************************************************************
  204.  
  205. TASK [repo_server : Gather variables for each operating system] ********************************************************************************************************************************************
  206. ok: [controller1_repo_container-aa601a15]
  207.  
  208. TASK [repo_server : Check rsyncd status] *******************************************************************************************************************************************************************
  209. ok: [controller1_repo_container-aa601a15]
  210.  
  211. TASK [repo_server : Stop rsyncd] ***************************************************************************************************************************************************************************
  212. ok: [controller1_repo_container-aa601a15]
  213.  
  214. TASK [repo_server : Uninstall rsyncd] **********************************************************************************************************************************************************************
  215.  
  216. TASK [repo_server : Check lsyncd status] *******************************************************************************************************************************************************************
  217. ok: [controller1_repo_container-aa601a15]
  218.  
  219. TASK [repo_server : Stop lsyncd] ***************************************************************************************************************************************************************************
  220.  
  221. TASK [repo_server : Uninstall lsyncd] **********************************************************************************************************************************************************************
  222.  
  223. TASK [repo_server : Remove ssh keys and certificates] ******************************************************************************************************************************************************
  224. changed: [controller1_repo_container-aa601a15]
  225.  
  226. TASK [repo_server : create the system group] ***************************************************************************************************************************************************************
  227. ok: [controller1_repo_container-aa601a15]
  228.  
  229. TASK [repo_server : Create the nginx system user] **********************************************************************************************************************************************************
  230. ok: [controller1_repo_container-aa601a15]
  231.  
  232. TASK [repo_server : Test if /var/www/repo exists] **********************************************************************************************************************************************************
  233. ok: [controller1_repo_container-aa601a15]
  234.  
  235. TASK [repo_server : Test if /var/www is a mountpoint] ******************************************************************************************************************************************************
  236. ok: [controller1_repo_container-aa601a15]
  237.  
  238. TASK [repo_server : Ensure tar is present for repo server shared filesystem migration] *********************************************************************************************************************
  239. ok: [controller1_repo_container-aa601a15]
  240.  
  241. TASK [repo_server : Archive existing content from repo server for migration from lsync to shared filesystem] ***********************************************************************************************
  242.  
  243. TASK [repo_server : file] **********************************************************************************************************************************************************************************
  244.  
  245. TASK [Mount any remote volumes] ****************************************************************************************************************************************************************************
  246.  
  247. TASK [systemd_mount : Gather variables for each operating system] ******************************************************************************************************************************************
  248. ok: [controller1_repo_container-aa601a15]
  249.  
  250. TASK [systemd_mount : include_tasks] ***********************************************************************************************************************************************************************
  251. included: /etc/ansible/roles/systemd_mount/tasks/systemd_install.yml for controller1_repo_container-aa601a15
  252.  
  253. TASK [systemd_mount : Download EPEL gpg keys] **************************************************************************************************************************************************************
  254. skipping: [controller1_repo_container-aa601a15]
  255.  
  256. TASK [systemd_mount : Install EPEL gpg keys] ***************************************************************************************************************************************************************
  257.  
  258. TASK [systemd_mount : Install the EPEL repository] *********************************************************************************************************************************************************
  259. skipping: [controller1_repo_container-aa601a15]
  260.  
  261. TASK [systemd_mount : Install required distro packages for mounts] *****************************************************************************************************************************************
  262. ok: [controller1_repo_container-aa601a15]
  263.  
  264. TASK [systemd_mount : Make boolean flag for setting up glusterfs] ******************************************************************************************************************************************
  265. ok: [controller1_repo_container-aa601a15]
  266.  
  267. TASK [systemd_mount : Configure systemd-tmpfiles to create /dev/fuse at boot] ******************************************************************************************************************************
  268. ok: [controller1_repo_container-aa601a15]
  269.  
  270. TASK [Apply systemctl overrides] ***************************************************************************************************************************************************************************
  271.  
  272. TASK [systemd_mount : Restart systemd-tmpfiles-setup-dev] **************************************************************************************************************************************************
  273.  
  274. TASK [systemd_mount : include_tasks] ***********************************************************************************************************************************************************************
  275. included: /etc/ansible/roles/systemd_mount/tasks/systemd_mounts.yml for controller1_repo_container-aa601a15 => (item={'what': 'controller1-repo-container-aa601a15:gfs-repo', 'where': '/var/www/repo', 'type': 'glusterfs', 'state': 'started', 'enabled': True})
  276.  
  277. TASK [systemd_mount : Set mount facts] *********************************************************************************************************************************************************************
  278. ok: [controller1_repo_container-aa601a15]
  279.  
  280. TASK [systemd_mount : Escape mount service file name] ******************************************************************************************************************************************************
  281. ok: [controller1_repo_container-aa601a15]
  282.  
  283. TASK [systemd_mount : Create mount target(s)] **************************************************************************************************************************************************************
  284. changed: [controller1_repo_container-aa601a15]
  285.  
  286. TASK [systemd_mount : Place mount credentials when required] ***********************************************************************************************************************************************
  287.  
  288. TASK [systemd_mount : Create systemd mount services(s)] ****************************************************************************************************************************************************
  289. ok: [controller1_repo_container-aa601a15]
  290.  
  291. TASK [systemd_mount : Load or Unload mount(s)] *************************************************************************************************************************************************************
  292. ok: [controller1_repo_container-aa601a15]
  293.  
  294. TASK [systemd_mount : Set the state of the mount] **********************************************************************************************************************************************************
  295. fatal: [controller1_repo_container-aa601a15]: FAILED! => {"changed": false, "cmd": "systemctl reload-or-restart $(systemd-escape -p --suffix=\"mount\" \"/var/www/repo\")", "delta": "0:00:00.059166", "end": "2022-08-02 12:02:13.661684", "msg": "non-zero return code", "rc": 1, "start": "2022-08-02 12:02:13.602518", "stderr": "Job failed. See \"journalctl -xe\" for details.", "stderr_lines": ["Job failed. See \"journalctl -xe\" for details."], "stdout": "", "stdout_lines": []}
  296.  
  297. TASK [systemd_mount : Set the state of the mount (fallback)] ***********************************************************************************************************************************************
  298. ok: [controller1_repo_container-aa601a15]
  299.  
  300. TASK [systemd_mount : Unload mount(s)] *********************************************************************************************************************************************************************
  301.  
  302. TASK [repo_server : Wait until /var/www is a mounted] ******************************************************************************************************************************************************
  303. ok: [controller1_repo_container-aa601a15]
  304.  
  305. TASK [repo_server : Restore repo content from archive into new shared filesystem] **************************************************************************************************************************
  306.  
  307. TASK [repo_server : Fix permissions on restored repo content] **********************************************************************************************************************************************
  308. changed: [controller1_repo_container-aa601a15]
  309.  
  310. TASK [repo_server : File and directory setup (non-root user)] **********************************************************************************************************************************************
  311. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/www'})
  312. changed: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/.ssh', 'mode': '02700'})
  313. changed: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/repo'})
  314. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/repo/links'})
  315. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/repo/os-releases'})
  316. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/repo/os-releases/25.0.0'})
  317. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/repo/pools'})
  318. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/repo/venvs'})
  319. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/www/repo/constraints'})
  320. ok: [controller1_repo_container-aa601a15] => (item={'path': '/var/lib/nginx'})
  321. changed: [controller1_repo_container-aa601a15] => (item={'path': '/var/log/nginx', 'mode': '0775'})
  322.  
  323. TASK [repo_server : File and directory setup (root user)] **************************************************************************************************************************************************
  324. ok: [controller1_repo_container-aa601a15] => (item={'path': '/etc/nginx/conf.d'})
  325. ok: [controller1_repo_container-aa601a15] => (item={'path': '/etc/nginx/sites-available'})
  326. ok: [controller1_repo_container-aa601a15] => (item={'path': '/etc/nginx/sites-enabled'})
  327.  
  328. TASK [repo_server : Remove old nginx repo] *****************************************************************************************************************************************************************
  329. skipping: [controller1_repo_container-aa601a15]
  330.  
  331. TASK [repo_server : Clean yum metadata when nginx repo is removed] *****************************************************************************************************************************************
  332.  
  333. TASK [repo_server : Install distro packages] ***************************************************************************************************************************************************************
  334. ok: [controller1_repo_container-aa601a15]
  335.  
  336. TASK [repo_server : Enable git automatic thread count detection] *******************************************************************************************************************************************
  337. ok: [controller1_repo_container-aa601a15]
  338.  
  339. TASK [repo_server : Remove default nginx file] *************************************************************************************************************************************************************
  340. ok: [controller1_repo_container-aa601a15] => (item={'path': '/etc/nginx/sites-enabled/default'})
  341.  
  342. TASK [repo_server : Drop NGINX configuration files] ********************************************************************************************************************************************************
  343. ok: [controller1_repo_container-aa601a15] => (item={'src': 'nginx.conf.j2', 'dest': '/etc/nginx/nginx.conf'})
  344. ok: [controller1_repo_container-aa601a15] => (item={'src': 'openstack-slushee.vhost.j2', 'dest': '/etc/nginx/sites-available/openstack-slushee.vhost'})
  345.  
  346. TASK [repo_server : Enable openstack-slushee site] *********************************************************************************************************************************************************
  347. ok: [controller1_repo_container-aa601a15]
  348.  
  349. TASK [repo_server : Remove legacy authorized keys file] ****************************************************************************************************************************************************
  350. ok: [controller1_repo_container-aa601a15]
  351.  
  352. TASK [repo_server : Ensure deploy host u-c directory exists] ***********************************************************************************************************************************************
  353. ok: [controller1_repo_container-aa601a15 -> localhost]
  354.  
  355. TASK [repo_server : Retrieve upper constraints using https] ************************************************************************************************************************************************
  356. ok: [controller1_repo_container-aa601a15 -> localhost]
  357.  
  358. TASK [repo_server : Retrieve local filesystem upper constraints in CI] *************************************************************************************************************************************
  359. skipping: [controller1_repo_container-aa601a15]
  360.  
  361. TASK [repo_server : Copy local upper constraints content to a file in CI] **********************************************************************************************************************************
  362.  
  363. TASK [repo_server : Copy all constraints files from the deploy host to the first repo server] **************************************************************************************************************
  364. ok: [controller1_repo_container-aa601a15]
  365.  
  366. TASK [repo_server : Create a symlink for constraints file] *************************************************************************************************************************************************
  367. ok: [controller1_repo_container-aa601a15]
  368.  
  369. TASK [repo_server : Flush handlers] ************************************************************************************************************************************************************************
  370.  
  371. TASK [include_tasks] ***************************************************************************************************************************************************************************************
  372. included: /opt/openstack-ansible/playbooks/common-tasks/rsyslog-client.yml for controller1_repo_container-aa601a15 => (item={'log_rotate_file': 'repo_nginx_log_rotate', 'log_dir': '/var/log/nginx', 'config_name': '99-repo-nginx-rsyslog-client.conf'})
  373.  
  374. TASK [Run the rsyslog client role] *************************************************************************************************************************************************************************
  375.  
  376. PLAY [Setup repo servers] **********************************************************************************************************************************************************************************
  377.  
  378. TASK [apt_package_pinning : Add apt pin preferences] *******************************************************************************************************************************************************
  379.  
  380. TASK [repo_server : Gather variables for each operating system] ********************************************************************************************************************************************
  381. ok: [controller2_repo_container-ad989103]
  382. ok: [controller3_repo_container-aec6a371]
  383.  
  384. TASK [repo_server : Check rsyncd status] *******************************************************************************************************************************************************************
  385. ok: [controller2_repo_container-ad989103]
  386. ok: [controller3_repo_container-aec6a371]
  387.  
  388. TASK [repo_server : Stop rsyncd] ***************************************************************************************************************************************************************************
  389. ok: [controller2_repo_container-ad989103]
  390. ok: [controller3_repo_container-aec6a371]
  391.  
  392. TASK [repo_server : Uninstall rsyncd] **********************************************************************************************************************************************************************
  393.  
  394. TASK [repo_server : Check lsyncd status] *******************************************************************************************************************************************************************
  395. ok: [controller2_repo_container-ad989103]
  396. ok: [controller3_repo_container-aec6a371]
  397.  
  398. TASK [repo_server : Stop lsyncd] ***************************************************************************************************************************************************************************
  399.  
  400. TASK [repo_server : Uninstall lsyncd] **********************************************************************************************************************************************************************
  401.  
  402. TASK [repo_server : Remove ssh keys and certificates] ******************************************************************************************************************************************************
  403. changed: [controller2_repo_container-ad989103]
  404. changed: [controller3_repo_container-aec6a371]
  405.  
  406. TASK [repo_server : create the system group] ***************************************************************************************************************************************************************
  407. ok: [controller2_repo_container-ad989103]
  408. ok: [controller3_repo_container-aec6a371]
  409.  
  410. TASK [repo_server : Create the nginx system user] **********************************************************************************************************************************************************
  411. ok: [controller2_repo_container-ad989103]
  412. ok: [controller3_repo_container-aec6a371]
  413.  
  414. TASK [repo_server : Test if /var/www/repo exists] **********************************************************************************************************************************************************
  415. ok: [controller2_repo_container-ad989103]
  416. ok: [controller3_repo_container-aec6a371]
  417.  
  418. TASK [repo_server : Test if /var/www is a mountpoint] ******************************************************************************************************************************************************
  419. ok: [controller2_repo_container-ad989103]
  420. ok: [controller3_repo_container-aec6a371]
  421.  
  422. TASK [repo_server : Ensure tar is present for repo server shared filesystem migration] *********************************************************************************************************************
  423. ok: [controller3_repo_container-aec6a371]
  424. ok: [controller2_repo_container-ad989103]
  425.  
  426. TASK [repo_server : Archive existing content from repo server for migration from lsync to shared filesystem] ***********************************************************************************************
  427. changed: [controller2_repo_container-ad989103]
  428.  
  429. TASK [repo_server : file] **********************************************************************************************************************************************************************************
  430. changed: [controller2_repo_container-ad989103]
  431.  
  432. TASK [Mount any remote volumes] ****************************************************************************************************************************************************************************
  433.  
  434. TASK [systemd_mount : Gather variables for each operating system] ******************************************************************************************************************************************
  435. ok: [controller2_repo_container-ad989103]
  436. ok: [controller3_repo_container-aec6a371]
  437.  
  438. TASK [systemd_mount : include_tasks] ***********************************************************************************************************************************************************************
  439. included: /etc/ansible/roles/systemd_mount/tasks/systemd_install.yml for controller2_repo_container-ad989103, controller3_repo_container-aec6a371
  440.  
  441. TASK [systemd_mount : Download EPEL gpg keys] **************************************************************************************************************************************************************
  442. skipping: [controller2_repo_container-ad989103]
  443. skipping: [controller3_repo_container-aec6a371]
  444.  
  445. TASK [systemd_mount : Install EPEL gpg keys] ***************************************************************************************************************************************************************
  446.  
  447. TASK [systemd_mount : Install the EPEL repository] *********************************************************************************************************************************************************
  448. skipping: [controller2_repo_container-ad989103]
  449. skipping: [controller3_repo_container-aec6a371]
  450.  
  451. TASK [systemd_mount : Install required distro packages for mounts] *****************************************************************************************************************************************
  452. ok: [controller2_repo_container-ad989103]
  453. ok: [controller3_repo_container-aec6a371]
  454.  
  455. TASK [systemd_mount : Make boolean flag for setting up glusterfs] ******************************************************************************************************************************************
  456. ok: [controller2_repo_container-ad989103]
  457. ok: [controller3_repo_container-aec6a371]
  458.  
  459. TASK [systemd_mount : Configure systemd-tmpfiles to create /dev/fuse at boot] ******************************************************************************************************************************
  460. ok: [controller2_repo_container-ad989103]
  461. ok: [controller3_repo_container-aec6a371]
  462.  
  463. TASK [Apply systemctl overrides] ***************************************************************************************************************************************************************************
  464.  
  465. TASK [systemd_mount : Restart systemd-tmpfiles-setup-dev] **************************************************************************************************************************************************
  466.  
  467. TASK [systemd_mount : include_tasks] ***********************************************************************************************************************************************************************
  468. included: /etc/ansible/roles/systemd_mount/tasks/systemd_mounts.yml for controller2_repo_container-ad989103 => (item={'what': 'controller2-repo-container-ad989103:gfs-repo', 'where': '/var/www/repo', 'type': 'glusterfs', 'state': 'started', 'enabled': True})
  469. included: /etc/ansible/roles/systemd_mount/tasks/systemd_mounts.yml for controller3_repo_container-aec6a371 => (item={'what': 'controller3-repo-container-aec6a371:gfs-repo', 'where': '/var/www/repo', 'type': 'glusterfs', 'state': 'started', 'enabled': True})
  470.  
  471. TASK [systemd_mount : Set mount facts] *********************************************************************************************************************************************************************
  472. ok: [controller2_repo_container-ad989103]
  473.  
  474. TASK [systemd_mount : Escape mount service file name] ******************************************************************************************************************************************************
  475. ok: [controller2_repo_container-ad989103]
  476.  
  477. TASK [systemd_mount : Create mount target(s)] **************************************************************************************************************************************************************
  478. changed: [controller2_repo_container-ad989103]
  479.  
  480. TASK [systemd_mount : Place mount credentials when required] ***********************************************************************************************************************************************
  481.  
  482. TASK [systemd_mount : Create systemd mount services(s)] ****************************************************************************************************************************************************
  483. ok: [controller2_repo_container-ad989103]
  484.  
  485. TASK [systemd_mount : Load or Unload mount(s)] *************************************************************************************************************************************************************
  486. ok: [controller2_repo_container-ad989103]
  487.  
  488. TASK [systemd_mount : Set the state of the mount] **********************************************************************************************************************************************************
  489. ok: [controller2_repo_container-ad989103]
  490.  
  491. TASK [systemd_mount : Unload mount(s)] *********************************************************************************************************************************************************************
  492.  
  493. TASK [systemd_mount : Set mount facts] *********************************************************************************************************************************************************************
  494. ok: [controller3_repo_container-aec6a371]
  495.  
  496. TASK [systemd_mount : Escape mount service file name] ******************************************************************************************************************************************************
  497. ok: [controller3_repo_container-aec6a371]
  498.  
  499. TASK [systemd_mount : Create mount target(s)] **************************************************************************************************************************************************************
  500. changed: [controller3_repo_container-aec6a371]
  501.  
  502. TASK [systemd_mount : Place mount credentials when required] ***********************************************************************************************************************************************
  503.  
  504. TASK [systemd_mount : Create systemd mount services(s)] ****************************************************************************************************************************************************
  505. ok: [controller3_repo_container-aec6a371]
  506.  
  507. TASK [systemd_mount : Load or Unload mount(s)] *************************************************************************************************************************************************************
  508. ok: [controller3_repo_container-aec6a371]
  509.  
  510. TASK [systemd_mount : Set the state of the mount] **********************************************************************************************************************************************************
  511. fatal: [controller3_repo_container-aec6a371]: FAILED! => {"changed": false, "cmd": "systemctl reload-or-restart $(systemd-escape -p --suffix=\"mount\" \"/var/www/repo\")", "delta": "0:00:00.060613", "end": "2022-08-02 12:03:11.848571", "msg": "non-zero return code", "rc": 1, "start": "2022-08-02 12:03:11.787958", "stderr": "Job failed. See \"journalctl -xe\" for details.", "stderr_lines": ["Job failed. See \"journalctl -xe\" for details."], "stdout": "", "stdout_lines": []}
  512.  
  513. TASK [repo_server : Wait until /var/www is a mounted] ******************************************************************************************************************************************************
  514. ok: [controller2_repo_container-ad989103]
  515.  
  516. TASK [repo_server : Restore repo content from archive into new shared filesystem] **************************************************************************************************************************
  517.  
  518. TASK [repo_server : Fix permissions on restored repo content] **********************************************************************************************************************************************
  519.  
  520. TASK [repo_server : File and directory setup (non-root user)] **********************************************************************************************************************************************
  521. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/www'})
  522. changed: [controller2_repo_container-ad989103] => (item={'path': '/var/www/.ssh', 'mode': '02700'})
  523. changed: [controller2_repo_container-ad989103] => (item={'path': '/var/www/repo'})
  524. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/www/repo/links'})
  525. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/www/repo/os-releases'})
  526. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/www/repo/os-releases/25.0.0'})
  527. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/www/repo/pools'})
  528. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/www/repo/venvs'})
  529. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/www/repo/constraints'})
  530. ok: [controller2_repo_container-ad989103] => (item={'path': '/var/lib/nginx'})
  531. changed: [controller2_repo_container-ad989103] => (item={'path': '/var/log/nginx', 'mode': '0775'})
  532.  
  533. TASK [repo_server : File and directory setup (root user)] **************************************************************************************************************************************************
  534. ok: [controller2_repo_container-ad989103] => (item={'path': '/etc/nginx/conf.d'})
  535. ok: [controller2_repo_container-ad989103] => (item={'path': '/etc/nginx/sites-available'})
  536. ok: [controller2_repo_container-ad989103] => (item={'path': '/etc/nginx/sites-enabled'})
  537.  
  538. TASK [repo_server : Remove old nginx repo] *****************************************************************************************************************************************************************
  539. skipping: [controller2_repo_container-ad989103]
  540.  
  541. TASK [repo_server : Clean yum metadata when nginx repo is removed] *****************************************************************************************************************************************
  542.  
  543. TASK [repo_server : Install distro packages] ***************************************************************************************************************************************************************
  544. ok: [controller2_repo_container-ad989103]
  545.  
  546. TASK [repo_server : Enable git automatic thread count detection] *******************************************************************************************************************************************
  547. ok: [controller2_repo_container-ad989103]
  548.  
  549. TASK [repo_server : Remove default nginx file] *************************************************************************************************************************************************************
  550. ok: [controller2_repo_container-ad989103] => (item={'path': '/etc/nginx/sites-enabled/default'})
  551.  
  552. TASK [repo_server : Drop NGINX configuration files] ********************************************************************************************************************************************************
  553. ok: [controller2_repo_container-ad989103] => (item={'src': 'nginx.conf.j2', 'dest': '/etc/nginx/nginx.conf'})
  554. ok: [controller2_repo_container-ad989103] => (item={'src': 'openstack-slushee.vhost.j2', 'dest': '/etc/nginx/sites-available/openstack-slushee.vhost'})
  555.  
  556. TASK [repo_server : Enable openstack-slushee site] *********************************************************************************************************************************************************
  557. ok: [controller2_repo_container-ad989103]
  558.  
  559. TASK [systemd_mount : Set the state of the mount (fallback)] ***********************************************************************************************************************************************
  560. ok: [controller3_repo_container-aec6a371]
  561.  
  562. TASK [systemd_mount : Unload mount(s)] *********************************************************************************************************************************************************************
  563.  
  564. TASK [repo_server : Wait until /var/www is a mounted] ******************************************************************************************************************************************************
  565. ok: [controller3_repo_container-aec6a371]
  566.  
  567. TASK [repo_server : Restore repo content from archive into new shared filesystem] **************************************************************************************************************************
  568.  
  569. TASK [repo_server : Fix permissions on restored repo content] **********************************************************************************************************************************************
  570.  
  571. TASK [repo_server : File and directory setup (non-root user)] **********************************************************************************************************************************************
  572. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www'})
  573. changed: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/.ssh', 'mode': '02700'})
  574. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/repo'})
  575. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/repo/links'})
  576. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/repo/os-releases'})
  577. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/repo/os-releases/25.0.0'})
  578. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/repo/pools'})
  579. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/repo/venvs'})
  580. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/www/repo/constraints'})
  581. ok: [controller3_repo_container-aec6a371] => (item={'path': '/var/lib/nginx'})
  582. changed: [controller3_repo_container-aec6a371] => (item={'path': '/var/log/nginx', 'mode': '0775'})
  583.  
  584. TASK [repo_server : File and directory setup (root user)] **************************************************************************************************************************************************
  585. ok: [controller3_repo_container-aec6a371] => (item={'path': '/etc/nginx/conf.d'})
  586. ok: [controller3_repo_container-aec6a371] => (item={'path': '/etc/nginx/sites-available'})
  587. ok: [controller3_repo_container-aec6a371] => (item={'path': '/etc/nginx/sites-enabled'})
  588.  
  589. TASK [repo_server : Remove old nginx repo] *****************************************************************************************************************************************************************
  590. skipping: [controller3_repo_container-aec6a371]
  591.  
  592. TASK [repo_server : Clean yum metadata when nginx repo is removed] *****************************************************************************************************************************************
  593.  
  594. TASK [repo_server : Install distro packages] ***************************************************************************************************************************************************************
  595. ok: [controller3_repo_container-aec6a371]
  596.  
  597. TASK [repo_server : Enable git automatic thread count detection] *******************************************************************************************************************************************
  598. ok: [controller3_repo_container-aec6a371]
  599.  
  600. TASK [repo_server : Remove default nginx file] *************************************************************************************************************************************************************
  601. ok: [controller3_repo_container-aec6a371] => (item={'path': '/etc/nginx/sites-enabled/default'})
  602.  
  603. TASK [repo_server : Drop NGINX configuration files] ********************************************************************************************************************************************************
  604. ok: [controller3_repo_container-aec6a371] => (item={'src': 'nginx.conf.j2', 'dest': '/etc/nginx/nginx.conf'})
  605. ok: [controller3_repo_container-aec6a371] => (item={'src': 'openstack-slushee.vhost.j2', 'dest': '/etc/nginx/sites-available/openstack-slushee.vhost'})
  606.  
  607. TASK [repo_server : Enable openstack-slushee site] *********************************************************************************************************************************************************
  608. ok: [controller3_repo_container-aec6a371]
  609.  
  610. TASK [repo_server : Remove legacy authorized keys file] ****************************************************************************************************************************************************
  611. ok: [controller2_repo_container-ad989103]
  612. ok: [controller3_repo_container-aec6a371]
  613.  
  614. TASK [repo_server : Ensure deploy host u-c directory exists] ***********************************************************************************************************************************************
  615.  
  616. TASK [repo_server : Retrieve upper constraints using https] ************************************************************************************************************************************************
  617.  
  618. TASK [repo_server : Retrieve local filesystem upper constraints in CI] *************************************************************************************************************************************
  619. skipping: [controller2_repo_container-ad989103]
  620. skipping: [controller3_repo_container-aec6a371]
  621.  
  622. TASK [repo_server : Copy local upper constraints content to a file in CI] **********************************************************************************************************************************
  623.  
  624. TASK [repo_server : Copy all constraints files from the deploy host to the first repo server] **************************************************************************************************************
  625.  
  626. TASK [repo_server : Create a symlink for constraints file] *************************************************************************************************************************************************
  627.  
  628. TASK [repo_server : Flush handlers] ************************************************************************************************************************************************************************
  629.  
  630. RUNNING HANDLER [repo_server : reload nginx] ***************************************************************************************************************************************************************
  631. changed: [controller2_repo_container-ad989103]
  632.  
  633. TASK [include_tasks] ***************************************************************************************************************************************************************************************
  634. included: /opt/openstack-ansible/playbooks/common-tasks/rsyslog-client.yml for controller2_repo_container-ad989103, controller3_repo_container-aec6a371 => (item={'log_rotate_file': 'repo_nginx_log_rotate', 'log_dir': '/var/log/nginx', 'config_name': '99-repo-nginx-rsyslog-client.conf'})
  635.  
  636. TASK [Run the rsyslog client role] *************************************************************************************************************************************************************************
  637.  
  638. PLAY [Gather haproxy facts] ********************************************************************************************************************************************************************************
  639.  
  640. TASK [Gather additional facts] *****************************************************************************************************************************************************************************
  641. included: /opt/openstack-ansible/playbooks/common-tasks/gather-hardware-facts.yml for haproxy01, haproxy02
  642.  
  643. TASK [Gather additional facts] *****************************************************************************************************************************************************************************
  644. ok: [haproxy02]
  645. ok: [haproxy01]
  646.  
  647. PLAY [haproxy base config] *********************************************************************************************************************************************************************************
  648.  
  649. TASK [include_tasks] ***************************************************************************************************************************************************************************************
  650.  
  651. TASK [include_tasks] ***************************************************************************************************************************************************************************************
  652.  
  653. TASK [Remove legacy haproxy configuration files] ***********************************************************************************************************************************************************
  654. skipping: [haproxy01] => (item={'name': 'keystone_internal', 'when': 'internal_lb_vip_address == external_lb_vip_address'})
  655. ok: [haproxy01] => (item={'name': 'heat_api_cloudwatch', 'when': 'yes'})
  656.  
  657. TASK [keepalived : Gather variables for each operating system] *********************************************************************************************************************************************
  658. ok: [haproxy01] => (item=/etc/ansible/roles/keepalived/vars/ubuntu.yml)
  659.  
  660. TASK [keepalived : include_tasks] **************************************************************************************************************************************************************************
  661.  
  662. TASK [keepalived : install keepalived package(s)] **********************************************************************************************************************************************************
  663. ok: [haproxy01]
  664.  
  665. TASK [keepalived : Ensure no new "samples" folder appeared] ************************************************************************************************************************************************
  666. ok: [haproxy01]
  667.  
  668. TASK [keepalived : Get IPv6 enabled state] *****************************************************************************************************************************************************************
  669. ok: [haproxy01]
  670.  
  671. TASK [keepalived : Check if IPv6 is enabled] ***************************************************************************************************************************************************************
  672. ok: [haproxy01]
  673.  
  674. TASK [keepalived : Allow consuming apps to bind on non local addresses for IPv4] ***************************************************************************************************************************
  675. skipping: [haproxy01] => (item={'name': 'net.ipv4.ip_nonlocal_bind', 'value': 1})
  676. skipping: [haproxy01] => (item={'name': 'net.ipv4.tcp_retries2', 'value': 8})
  677.  
  678. TASK [keepalived : Allow consuming apps to bind on non local addresses for IPv6] ***************************************************************************************************************************
  679. skipping: [haproxy01] => (item={'name': 'net.ipv6.ip_nonlocal_bind', 'value': 1})
  680.  
  681. TASK [keepalived : Configure keepalived] *******************************************************************************************************************************************************************
  682. ok: [haproxy01]
  683.  
  684. TASK [keepalived : Check that daemon options file exists] **************************************************************************************************************************************************
  685. ok: [haproxy01]
  686.  
  687. TASK [keepalived : Configure keepalived extra params] ******************************************************************************************************************************************************
  688.  
  689. TASK [keepalived : Dropping the tracking scripts] **********************************************************************************************************************************************************
  690. ok: [haproxy01] => (item={'key': 'haproxy_check_script', 'value': {'check_script': '/etc/keepalived/haproxy_check.sh', 'src_check_script': '/opt/openstack-ansible/playbooks/../scripts/keepalived_haproxy_check.sh'}})
  691. ok: [haproxy01] => (item={'key': 'pingable_check_script_external', 'value': {'check_script': '/etc/keepalived/pingable_check.sh 1 127.0.0.1', 'dest_check_script': '/etc/keepalived/pingable_check.sh', 'src_check_script': '/opt/openstack-ansible/playbooks/../scripts/keepalived_pingable_check.sh', 'interval': 10, 'instance': 'external', 'fall': 2, 'rise': 4}})
  692. ok: [haproxy01] => (item={'key': 'pingable_check_script_internal', 'value': {'check_script': '/etc/keepalived/pingable_check.sh 1 127.0.0.1', 'dest_check_script': '/etc/keepalived/pingable_check.sh', 'src_check_script': '/opt/openstack-ansible/playbooks/../scripts/keepalived_pingable_check.sh', 'interval': 10, 'instance': 'internal', 'fall': 2, 'rise': 4}})
  693.  
  694. TASK [keepalived : Dropping the general notification scripts] **********************************************************************************************************************************************
  695.  
  696. TASK [keepalived : Dropping the notification scripts for switching to master] ******************************************************************************************************************************
  697.  
  698. TASK [keepalived : Dropping the notification scripts for switching to backup] ******************************************************************************************************************************
  699.  
  700. TASK [keepalived : Dropping the notification scripts for failures] *****************************************************************************************************************************************
  701.  
  702. TASK [keepalived : Dropping the general notification scripts (instances)] **********************************************************************************************************************************
  703. skipping: [haproxy01] => (item={'key': 'external', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '10', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.6/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_external']}})
  704. skipping: [haproxy01] => (item={'key': 'internal', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '11', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.7/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_internal']}})
  705.  
  706. TASK [keepalived : Dropping the notification scripts for switching to master (instances)] ******************************************************************************************************************
  707. skipping: [haproxy01] => (item={'key': 'external', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '10', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.6/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_external']}})
  708. skipping: [haproxy01] => (item={'key': 'internal', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '11', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.7/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_internal']}})
  709.  
  710. TASK [keepalived : Dropping the notification scripts for lower priority master case (instances)] ***********************************************************************************************************
  711. skipping: [haproxy01] => (item={'key': 'external', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '10', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.6/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_external']}})
  712. skipping: [haproxy01] => (item={'key': 'internal', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '11', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.7/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_internal']}})
  713.  
  714. TASK [keepalived : Dropping the notification scripts for switching to backup (instances)] ******************************************************************************************************************
  715. skipping: [haproxy01] => (item={'key': 'external', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '10', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.6/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_external']}})
  716. skipping: [haproxy01] => (item={'key': 'internal', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '11', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.7/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_internal']}})
  717.  
  718. TASK [keepalived : Dropping the notification scripts for stopping vrrp (instances)] ************************************************************************************************************************
  719. skipping: [haproxy01] => (item={'key': 'external', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '10', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.6/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_external']}})
  720. skipping: [haproxy01] => (item={'key': 'internal', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '11', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.7/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_internal']}})
  721.  
  722. TASK [keepalived : Dropping the notification scripts for failures (instances)] *****************************************************************************************************************************
  723. skipping: [haproxy01] => (item={'key': 'external', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '10', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.6/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_external']}})
  724. skipping: [haproxy01] => (item={'key': 'internal', 'value': {'interface': 'br-mgmt', 'state': 'MASTER', 'virtual_router_id': '11', 'priority': '100', 'authentication_password': 'bde4e200f6263339c8ddf6eeaae6f3cee389f99ed80632ce76ed4237', 'vips': ['172.29.236.7/32 dev br-mgmt'], 'track_scripts': ['haproxy_check_script', 'pingable_check_script_internal']}})
  725.  
  726. TASK [keepalived : Make directory for keepalived's systemd overrides] **************************************************************************************************************************************
  727. ok: [haproxy01]
  728.  
  729. TASK [keepalived : Apply keepalived override to start after network is up] *********************************************************************************************************************************
  730. ok: [haproxy01] => (item=Wants)
  731. ok: [haproxy01] => (item=After)
  732.  
  733. TASK [keepalived : Apply keepalived override to restart service always] ************************************************************************************************************************************
  734.  
  735. TASK [keepalived : Remove keepalived overrides] ************************************************************************************************************************************************************
  736.  
  737. TASK [keepalived : Check if keepalived is enabled] *********************************************************************************************************************************************************
  738. ok: [haproxy01]
  739.  
  740. TASK [keepalived : Unmask keepalived if necessary] *********************************************************************************************************************************************************
  741.  
  742. TASK [keepalived : ensure keepalived is enabled] ***********************************************************************************************************************************************************
  743.  
  744. TASK [haproxy_server : Gather variables for each operating system] *****************************************************************************************************************************************
  745. ok: [haproxy01]
  746.  
  747. TASK [haproxy_server : Create the haproxy system group] ****************************************************************************************************************************************************
  748. ok: [haproxy01]
  749.  
  750. TASK [haproxy_server : Create the haproxy system user] *****************************************************************************************************************************************************
  751. ok: [haproxy01]
  752.  
  753. TASK [haproxy_server : Create haproxy conf.d dir] **********************************************************************************************************************************************************
  754. ok: [haproxy01] => (item=/etc/haproxy/conf.d)
  755. ok: [haproxy01] => (item=/etc/haproxy/ssl)
  756.  
  757. TASK [haproxy_server : Install HAProxy Packages] ***********************************************************************************************************************************************************
  758. ok: [haproxy01]
  759.  
  760. TASK [haproxy_server : Ensure haproxy_hatop_download_path exists on haproxy] *******************************************************************************************************************************
  761. ok: [haproxy01]
  762.  
  763. TASK [haproxy_server : Download hatop package] *************************************************************************************************************************************************************
  764. ok: [haproxy01]
  765.  
  766. TASK [haproxy_server : Unarchive HATop] ********************************************************************************************************************************************************************
  767. ok: [haproxy01]
  768.  
  769. TASK [haproxy_server : Copy HATop binary] ******************************************************************************************************************************************************************
  770. ok: [haproxy01]
  771.  
  772. TASK [Create and install SSL certificates] *****************************************************************************************************************************************************************
  773.  
  774. TASK [pki : include_tasks] *********************************************************************************************************************************************************************************
  775. included: /etc/ansible/roles/pki/tasks/main_ca.yml for haproxy01
  776.  
  777. TASK [pki : Include standalone CA variables] ***************************************************************************************************************************************************************
  778. ok: [haproxy01]
  779.  
  780. TASK [pki : Create PKI directories] ************************************************************************************************************************************************************************
  781. skipping: [haproxy01] => (item={'path': '/etc/openstack_deploy/pki'})
  782. skipping: [haproxy01] => (item={'path': '/etc/openstack_deploy/pki/roots'})
  783.  
  784. TASK [pki : Create certificate authorities] ****************************************************************************************************************************************************************
  785.  
  786. TASK [pki : include_tasks] *********************************************************************************************************************************************************************************
  787. included: /etc/ansible/roles/pki/tasks/main_ca_install.yml for haproxy01
  788.  
  789. TASK [pki : Include standalone CA variables] ***************************************************************************************************************************************************************
  790. ok: [haproxy01]
  791.  
  792. TASK [pki : Install certificate authorities] ***************************************************************************************************************************************************************
  793.  
  794. TASK [pki : include_tasks] *********************************************************************************************************************************************************************************
  795. included: /etc/ansible/roles/pki/tasks/main_certs.yml for haproxy01
  796.  
  797. TASK [pki : Include standalone certificate variables] ******************************************************************************************************************************************************
  798. ok: [haproxy01]
  799.  
  800. TASK [pki : Create certificate directories] ****************************************************************************************************************************************************************
  801. ok: [haproxy01 -> localhost] => (item={'path': '/etc/openstack_deploy/pki'})
  802. ok: [haproxy01 -> localhost] => (item={'path': '/etc/openstack_deploy/pki/certs', 'mode': '0755'})
  803. ok: [haproxy01 -> localhost] => (item={'path': '/etc/openstack_deploy/pki/certs/csr', 'mode': '0700'})
  804. ok: [haproxy01 -> localhost] => (item={'path': '/etc/openstack_deploy/pki/certs/private', 'mode': '0700'})
  805. ok: [haproxy01 -> localhost] => (item={'path': '/etc/openstack_deploy/pki/certs/certs', 'mode': '0755'})
  806.  
  807. TASK [pki : Create Server certificates] ********************************************************************************************************************************************************************
  808. included: /etc/ansible/roles/pki/tasks/standalone/create_cert.yml for haproxy01 => (item={'name': 'haproxy_haproxy01-172.29.236.6/32', 'provider': 'ownca', 'cn': 'haproxy01', 'san': 'DNS:haproxy01,DNS:haproxy01,IP:172.29.236.6/32', 'signed_by': 'ExampleCorpIntermediate'})
  809. included: /etc/ansible/roles/pki/tasks/standalone/create_cert.yml for haproxy01 => (item={'name': 'haproxy_haproxy01-172.29.236.7/32', 'provider': 'ownca', 'cn': 'haproxy01', 'san': 'DNS:haproxy01,DNS:haproxy01,IP:172.29.236.7/32', 'signed_by': 'ExampleCorpIntermediate'})
  810.  
  811. TASK [pki : Generate certificate private key for haproxy_haproxy01-172.29.236.6/32] ************************************************************************************************************************
  812. fatal: [haproxy01 -> localhost]: FAILED! => {"changed": false, "msg": "The directory /etc/openstack_deploy/pki/certs/private/haproxy_haproxy01-172.29.236.6 does not exist or the file is not a directory", "name": "/etc/openstack_deploy/pki/certs/private/haproxy_haproxy01-172.29.236.6"}
  813.  
  814. PLAY RECAP *************************************************************************************************************************************************************************************************
  815. controller1_repo_container-aa601a15 : ok=53 changed=4 unreachable=0 failed=0 skipped=20 rescued=1 ignored=0
  816. controller2_repo_container-ad989103 : ok=51 changed=6 unreachable=0 failed=0 skipped=20 rescued=0 ignored=0
  817. controller3_repo_container-aec6a371 : ok=50 changed=3 unreachable=0 failed=0 skipped=20 rescued=1 ignored=0
  818. haproxy01 : ok=32 changed=0 unreachable=0 failed=1 skipped=14 rescued=0 ignored=0
  819. haproxy02 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
  820.  
  821.  
  822.  
  823. EXIT NOTICE [Playbook execution failure] **************************************
  824. ===============================================================================
  825.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement