Advertisement
snadge

openstack ussuri strange fail

Jun 16th, 2021
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.97 KB | None | 0 0
  1. [root@deployprod playbooks]# openstack-ansible setup-infrastructure.yml
  2. /opt/ansible-runtime/bin/python: No module named ara.setup
  3. Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
  4. [DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by default, this will change, but still be user configurable on deprecation. This
  5. feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  6. [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
  7.  
  8. [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source
  9.  
  10.  
  11. PLAY [Gather unbound facts] ************************************************************************************************************************************************************************
  12. skipping: no hosts matched
  13.  
  14. PLAY [Install unbound DNS resolvers] ***************************************************************************************************************************************************************
  15. skipping: no hosts matched
  16.  
  17. PLAY [Install unbound DNS resolver client configurations] ******************************************************************************************************************************************
  18.  
  19. TASK [include_tasks] *******************************************************************************************************************************************************************************
  20.  
  21. PLAY [Gather repo facts] ***************************************************************************************************************************************************************************
  22.  
  23. PLAY [Setup repo servers] **************************************************************************************************************************************************************************
  24.  
  25. TASK [include_tasks] *******************************************************************************************************************************************************************************
  26. included: /opt/openstack-ansible/playbooks/common-tasks/os-lxc-container-setup.yml for infra1_repo_container-cf45d187
  27.  
  28. TASK [Set default bind mounts (bind var/log)] ******************************************************************************************************************************************************
  29. ok: [infra1_repo_container-cf45d187]
  30.  
  31. TASK [Ensure mount directories exists] *************************************************************************************************************************************************************
  32. ok: [infra1_repo_container-cf45d187 -> 10.11.0.103] => (item={'bind_dir_path': u'/var/log', 'mount_path': u'/openstack/log/infra1_repo_container-cf45d187'})
  33. ok: [infra1_repo_container-cf45d187 -> 10.11.0.103] => (item={u'bind_dir_path': u'/var/www', u'mount_path': u'/openstack/infra1_repo_container-cf45d187'})
  34.  
  35. TASK [Add bind mount configuration to container] ***************************************************************************************************************************************************
  36. changed: [infra1_repo_container-cf45d187 -> 10.11.0.103] => (item={'bind_dir_path': u'/var/log', 'mount_path': u'/openstack/log/infra1_repo_container-cf45d187'})
  37. changed: [infra1_repo_container-cf45d187 -> 10.11.0.103] => (item={u'bind_dir_path': u'/var/www', u'mount_path': u'/openstack/infra1_repo_container-cf45d187'})
  38.  
  39. TASK [Extra lxc config] ****************************************************************************************************************************************************************************
  40.  
  41. TASK [Extra lxc config no restart] *****************************************************************************************************************************************************************
  42. changed: [infra1_repo_container-cf45d187 -> 10.11.0.103] => (item=lxc.start.order=100)
  43.  
  44. TASK [Check container state] ***********************************************************************************************************************************************************************
  45. ok: [infra1_repo_container-cf45d187 -> 10.11.0.103]
  46.  
  47. TASK [Lxc container restart] ***********************************************************************************************************************************************************************
  48. changed: [infra1_repo_container-cf45d187 -> 10.11.0.103]
  49.  
  50. TASK [Start Container] *****************************************************************************************************************************************************************************
  51. changed: [infra1_repo_container-cf45d187 -> 10.11.0.103]
  52.  
  53. TASK [Wait for container tmpfiles-setup finish] ****************************************************************************************************************************************************
  54. [WARNING]: raw module does not support the environment keyword
  55.  
  56. ok: [infra1_repo_container-cf45d187]
  57.  
  58. TASK [Wait for container connectivity] *************************************************************************************************************************************************************
  59. ok: [infra1_repo_container-cf45d187]
  60.  
  61. TASK [include_tasks] *******************************************************************************************************************************************************************************
  62.  
  63. TASK [apt_package_pinning : Add apt pin preferences] ***********************************************************************************************************************************************
  64.  
  65. TASK [repo_server : Gather variables for each operating system] ************************************************************************************************************************************
  66. ok: [infra1_repo_container-cf45d187] => (item=/etc/ansible/roles/repo_server/vars/redhat.yml)
  67.  
  68. TASK [repo_server : create the system group] *******************************************************************************************************************************************************
  69. changed: [infra1_repo_container-cf45d187]
  70.  
  71. TASK [repo_server : Create the nginx system user] **************************************************************************************************************************************************
  72. changed: [infra1_repo_container-cf45d187]
  73.  
  74. TASK [repo_server : File and directory setup (non-root user)] **************************************************************************************************************************************
  75. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www'})
  76. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/.ssh', u'mode': u'02700'})
  77. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo'})
  78. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/links'})
  79. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/os-releases'})
  80. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/os-releases/20.0.1'})
  81. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/pools'})
  82. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/venvs'})
  83. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/lib/nginx'})
  84. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/log/nginx', u'mode': u'0775'})
  85.  
  86. TASK [repo_server : Drop repo pre/post command script] *********************************************************************************************************************************************
  87. changed: [infra1_repo_container-cf45d187]
  88.  
  89. TASK [repo_server : Check if the git folder exists already] ****************************************************************************************************************************************
  90. ok: [infra1_repo_container-cf45d187]
  91.  
  92. TASK [repo_server : Git service data folder setup] *************************************************************************************************************************************************
  93. changed: [infra1_repo_container-cf45d187]
  94.  
  95. TASK [repo_server : File and directory setup (root user)] ******************************************************************************************************************************************
  96. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/lsyncd'})
  97. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/log/lsyncd'})
  98. ok: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/sites-enabled/default', u'state': u'absent'})
  99. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/conf.d'})
  100. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/sites-available'})
  101. changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/sites-enabled'})
  102.  
  103. TASK [repo_server : Install EPEL gpg keys] *********************************************************************************************************************************************************
  104. changed: [infra1_repo_container-cf45d187]
  105.  
  106. TASK [repo_server : Install the EPEL repository] ***************************************************************************************************************************************************
  107. changed: [infra1_repo_container-cf45d187]
  108.  
  109. TASK [repo_server : Add NGINX repository] **********************************************************************************************************************************************************
  110. changed: [infra1_repo_container-cf45d187]
  111.  
  112. TASK [repo_server : Install distro packages] *******************************************************************************************************************************************************
  113. changed: [infra1_repo_container-cf45d187]
  114.  
  115. TASK [repo_server : Allow nginx user to stop/start nginx via sudo] *********************************************************************************************************************************
  116. changed: [infra1_repo_container-cf45d187]
  117.  
  118. TASK [repo_server : Drop rsyncd configuration file(s)] *********************************************************************************************************************************************
  119. changed: [infra1_repo_container-cf45d187]
  120.  
  121. TASK [repo_server : Enable git automatic thread count detection] ***********************************************************************************************************************************
  122. [WARNING]: The value 0 (type int) in a string field was converted to u'0' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change.
  123.  
  124. changed: [infra1_repo_container-cf45d187]
  125.  
  126. TASK [repo_server : Remove old key file(s) if found] ***********************************************************************************************************************************************
  127. skipping: [infra1_repo_container-cf45d187] => (item=/var/www/.ssh/authorized_keys)
  128. skipping: [infra1_repo_container-cf45d187] => (item=/var/www/.ssh/id_rsa)
  129. skipping: [infra1_repo_container-cf45d187] => (item=/var/www/.ssh/id_rsa.pub)
  130.  
  131. TASK [repo_server : Generate the nginx system user ssh key] ****************************************************************************************************************************************
  132. changed: [infra1_repo_container-cf45d187]
  133.  
  134. TASK [repo_server : Enable SSHD] *******************************************************************************************************************************************************************
  135. ok: [infra1_repo_container-cf45d187]
  136.  
  137. TASK [repo_server : Drop NGINX configuration files] ************************************************************************************************************************************************
  138. changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'nginx.conf.j2'})
  139. changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/rsyncd.conf', u'src': u'rsyncd.conf.j2'})
  140. changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/nginx/sites-available/openstack-slushee.vhost', u'src': u'openstack-slushee.vhost.j2'})
  141.  
  142. TASK [repo_server : Enable openstack-slushee site] *************************************************************************************************************************************************
  143. changed: [infra1_repo_container-cf45d187]
  144.  
  145. TASK [repo_server : Place git daemon systemd init script] ******************************************************************************************************************************************
  146. changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/lib/systemd/system/git@.service', u'src': u'git.service.j2'})
  147. ok: [infra1_repo_container-cf45d187] => (item={u'dest': u'/lib/systemd/system/git.socket', u'src': u'git.socket.j2'})
  148.  
  149. TASK [repo_server : Get public key contents and store as var] **************************************************************************************************************************************
  150. ok: [infra1_repo_container-cf45d187]
  151.  
  152. TASK [repo_server : Register a fact for the repo user pub key] *************************************************************************************************************************************
  153. ok: [infra1_repo_container-cf45d187]
  154.  
  155. TASK [repo_server : Create authorized keys file from host vars] ************************************************************************************************************************************
  156. skipping: [infra1_repo_container-cf45d187] => (item=infra1_repo_container-cf45d187)
  157.  
  158. TASK [repo_server : Deploy lsyncd configuration file] **********************************************************************************************************************************************
  159. skipping: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/lsyncd.conf', u'src': u'lsyncd.lua.j2'})
  160. skipping: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/sysconfig/lsyncd', u'src': u'lsyncd.defaults.j2'})
  161.  
  162. TASK [repo_server : Remove apt-cacher-ng service] **************************************************************************************************************************************************
  163. changed: [infra1_repo_container-cf45d187]
  164.  
  165. RUNNING HANDLER [repo_server : reload nginx] *******************************************************************************************************************************************************
  166. changed: [infra1_repo_container-cf45d187]
  167.  
  168. RUNNING HANDLER [repo_server : reload rsyncd] ******************************************************************************************************************************************************
  169. changed: [infra1_repo_container-cf45d187]
  170.  
  171. RUNNING HANDLER [repo_server : reload git socket] **************************************************************************************************************************************************
  172. changed: [infra1_repo_container-cf45d187]
  173.  
  174. RUNNING HANDLER [repo_server : Remove apt-cacher-ng package] ***************************************************************************************************************************************
  175. ok: [infra1_repo_container-cf45d187]
  176.  
  177. RUNNING HANDLER [repo_server : Remove apt-cacher-ng data folders] **********************************************************************************************************************************
  178. ok: [infra1_repo_container-cf45d187]
  179.  
  180. RUNNING HANDLER [repo_server : Remove apt-cacher-ng user] ******************************************************************************************************************************************
  181. ok: [infra1_repo_container-cf45d187]
  182.  
  183. RUNNING HANDLER [repo_server : Remove apt-cacher-ng group] *****************************************************************************************************************************************
  184. ok: [infra1_repo_container-cf45d187]
  185.  
  186. TASK [include_tasks] *******************************************************************************************************************************************************************************
  187. included: /opt/openstack-ansible/playbooks/common-tasks/rsyslog-client.yml for infra1_repo_container-cf45d187
  188. included: /opt/openstack-ansible/playbooks/common-tasks/rsyslog-client.yml for infra1_repo_container-cf45d187
  189.  
  190. TASK [Run the rsyslog client role] *****************************************************************************************************************************************************************
  191.  
  192. TASK [Run the rsyslog client role] *****************************************************************************************************************************************************************
  193.  
  194. PLAY [Gather haproxy facts] ************************************************************************************************************************************************************************
  195.  
  196. PLAY [haproxy base config] *************************************************************************************************************************************************************************
  197.  
  198. TASK [include_tasks] *******************************************************************************************************************************************************************************
  199.  
  200. TASK [include_tasks] *******************************************************************************************************************************************************************************
  201.  
  202. TASK [Remove legacy haproxy configuration files] ***************************************************************************************************************************************************
  203. skipping: [infra1] => (item={u'when': u'internal_lb_vip_address == external_lb_vip_address', u'name': u'keystone_internal'})
  204. ok: [infra1] => (item={u'when': u'yes', u'name': u'heat_api_cloudwatch'})
  205.  
  206. TASK [keepalived : Gather variables for each operating system] *************************************************************************************************************************************
  207. skipping: [infra1] => (item=/etc/ansible/roles/keepalived/vars/redhat.yml)
  208.  
  209. TASK [keepalived : Add the keepalived through ppa] *************************************************************************************************************************************************
  210.  
  211. TASK [keepalived : Add Ubuntu Cloud Archive keyring] ***********************************************************************************************************************************************
  212.  
  213. TASK [keepalived : Add the keepalived apt repository] **********************************************************************************************************************************************
  214.  
  215. TASK [keepalived : Ensure python apt is installed] *************************************************************************************************************************************************
  216.  
  217. TASK [keepalived : Check if keepalived is already installed] ***************************************************************************************************************************************
  218. skipping: [infra1]
  219.  
  220. TASK [keepalived : Prevent keepalived from starting on install (upstart)] **************************************************************************************************************************
  221.  
  222. TASK [keepalived : Prevent keepalived from starting on install (systemd)] **************************************************************************************************************************
  223.  
  224. TASK [keepalived : install keepalived] *************************************************************************************************************************************************************
  225.  
  226. TASK [keepalived : Ensure no new "samples" folder appeared] ****************************************************************************************************************************************
  227.  
  228. TASK [keepalived : Revert keepalived start prevention] *********************************************************************************************************************************************
  229.  
  230. TASK [keepalived : Systemd daemon_reload] **********************************************************************************************************************************************************
  231.  
  232. TASK [keepalived : Get list of SELinux modules loaded] *********************************************************************************************************************************************
  233. skipping: [infra1]
  234.  
  235. TASK [keepalived : Ensure SELinux packages are installed] ******************************************************************************************************************************************
  236.  
  237. TASK [keepalived : include] ************************************************************************************************************************************************************************
  238. skipping: [infra1] => (item=keepalived_ping)
  239. skipping: [infra1] => (item=keepalived_haproxy_pid_file)
  240.  
  241. TASK [keepalived : Allow consuming apps to bind on non local addresses] ****************************************************************************************************************************
  242. skipping: [infra1] => (item=net.ipv4.ip_nonlocal_bind)
  243. skipping: [infra1] => (item=net.ipv6.ip_nonlocal_bind)
  244.  
  245. TASK [keepalived : Configure keepalived] ***********************************************************************************************************************************************************
  246.  
  247. TASK [keepalived : Check that daemon options file exists] ******************************************************************************************************************************************
  248. skipping: [infra1]
  249.  
  250. TASK [keepalived : Configure keepalived extra params] **********************************************************************************************************************************************
  251.  
  252. TASK [keepalived : Dropping the tracking scripts] **************************************************************************************************************************************************
  253. skipping: [infra1] => (item={'value': {u'check_script': u'/etc/keepalived/haproxy_check.sh', u'src_check_script': u'/opt/openstack-ansible/playbooks/../scripts/keepalived_haproxy_check.sh'}, 'key': u'haproxy_check_script'})
  254. skipping: [infra1] => (item={'value': {u'check_script': u'/etc/keepalived/pingable_check.sh 1 10.11.0.1', u'interval': 10, u'dest_check_script': u'/etc/keepalived/pingable_check.sh', u'src_check_script': u'/opt/openstack-ansible/playbooks/../scripts/keepalived_pingable_check.sh', u'fall': 2, u'rise': 4}, 'key': u'pingable_check_script'})
  255.  
  256. TASK [keepalived : Dropping the general notification scripts] **************************************************************************************************************************************
  257. skipping: [infra1] => (item={'value': {u'instances': [u'external', u'internal'], u'src_notify_script': u'/opt/openstack-ansible/playbooks/../scripts/keepalived_haproxy_notifications.sh', u'notify_script': u'/etc/keepalived/haproxy_notify.sh'}, 'key': u'haproxy'})
  258.  
  259. TASK [keepalived : Dropping the notification scripts for switching to master] **********************************************************************************************************************
  260. skipping: [infra1] => (item={'value': {u'instances': [u'external', u'internal'], u'src_notify_script': u'/opt/openstack-ansible/playbooks/../scripts/keepalived_haproxy_notifications.sh', u'notify_script': u'/etc/keepalived/haproxy_notify.sh'}, 'key': u'haproxy'})
  261.  
  262. TASK [keepalived : Dropping the notification scripts for switching to backup] **********************************************************************************************************************
  263. skipping: [infra1] => (item={'value': {u'instances': [u'external', u'internal'], u'src_notify_script': u'/opt/openstack-ansible/playbooks/../scripts/keepalived_haproxy_notifications.sh', u'notify_script': u'/etc/keepalived/haproxy_notify.sh'}, 'key': u'haproxy'})
  264.  
  265. TASK [keepalived : Dropping the notification scripts for failures] *********************************************************************************************************************************
  266. skipping: [infra1] => (item={'value': {u'instances': [u'external', u'internal'], u'src_notify_script': u'/opt/openstack-ansible/playbooks/../scripts/keepalived_haproxy_notifications.sh', u'notify_script': u'/etc/keepalived/haproxy_notify.sh'}, 'key': u'haproxy'})
  267.  
  268. TASK [keepalived : Dropping the general notification scripts (instances)] **************************************************************************************************************************
  269. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.2.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'11'}, 'key': u'internal'})
  270. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.1.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'10'}, 'key': u'external'})
  271.  
  272. TASK [keepalived : Dropping the notification scripts for switching to master (instances)] **********************************************************************************************************
  273. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.2.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'11'}, 'key': u'internal'})
  274. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.1.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'10'}, 'key': u'external'})
  275.  
  276. TASK [keepalived : Dropping the notification scripts for switching to backup (instances)] **********************************************************************************************************
  277. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.2.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'11'}, 'key': u'internal'})
  278. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.1.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'10'}, 'key': u'external'})
  279.  
  280. TASK [keepalived : Dropping the notification scripts for stopping vrrp (instances)] ****************************************************************************************************************
  281. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.2.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'11'}, 'key': u'internal'})
  282. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.1.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'10'}, 'key': u'external'})
  283.  
  284. TASK [keepalived : Dropping the notification scripts for failures (instances)] *********************************************************************************************************************
  285. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.2.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'11'}, 'key': u'internal'})
  286. skipping: [infra1] => (item={'value': {u'priority': u'50', u'state': u'MASTER', u'authentication_password': u'321ae8b68e1a4602a1758119e3b079f325348f72bd', u'vips': [u'169.254.1.1/24 dev br-mgmt'], u'track_scripts': [u'haproxy_check_script', u'pingable_check_script'], u'interface': u'br-mgmt', u'virtual_router_id': u'10'}, 'key': u'external'})
  287.  
  288. TASK [keepalived : Ensuring keepalived is enabled] *************************************************************************************************************************************************
  289.  
  290. TASK [keepalived : Make directory for keepalived's systemd overrides] ******************************************************************************************************************************
  291.  
  292. TASK [keepalived : Apply keepalived override to start after network is up] *************************************************************************************************************************
  293. skipping: [infra1] => (item=Wants)
  294. skipping: [infra1] => (item=After)
  295.  
  296. TASK [keepalived : Remove keepalived overrides] ****************************************************************************************************************************************************
  297.  
  298. TASK [haproxy_server : Gather variables for each operating system] *********************************************************************************************************************************
  299. ok: [infra1] => (item=/etc/ansible/roles/haproxy_server/vars/redhat-7.yml)
  300.  
  301. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  302. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_pre_install.yml for infra1
  303.  
  304. TASK [haproxy_server : Create the haproxy system group] ********************************************************************************************************************************************
  305. ok: [infra1]
  306.  
  307. TASK [haproxy_server : Create the haproxy system user] *********************************************************************************************************************************************
  308. ok: [infra1]
  309.  
  310. TASK [haproxy_server : Create haproxy conf.d dir] **************************************************************************************************************************************************
  311. ok: [infra1]
  312.  
  313. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  314. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_install.yml for infra1
  315.  
  316. TASK [haproxy_server : Install HAProxy Packages] ***************************************************************************************************************************************************
  317. ok: [infra1]
  318.  
  319. TASK [haproxy_server : Ensure haproxy_hatop_download_path exists] **********************************************************************************************************************************
  320. ok: [infra1 -> localhost]
  321.  
  322. TASK [haproxy_server : Download extra package] *****************************************************************************************************************************************************
  323. ok: [infra1 -> localhost]
  324.  
  325. TASK [haproxy_server : Unarchive HATop] ************************************************************************************************************************************************************
  326. ok: [infra1]
  327.  
  328. TASK [haproxy_server : Install HATop] **************************************************************************************************************************************************************
  329. ok: [infra1]
  330.  
  331. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  332.  
  333. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  334. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl.yml for infra1
  335.  
  336. TASK [haproxy_server : Ensure the private ssl directory exists] ************************************************************************************************************************************
  337. ok: [infra1]
  338.  
  339. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  340. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_self_signed.yml for infra1
  341.  
  342. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  343. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_key_create.yml for infra1
  344.  
  345. TASK [haproxy_server : Remove self signed certs and keys for regen] ********************************************************************************************************************************
  346. skipping: [infra1] => (item=/etc/ssl/private/haproxy.pem)
  347. skipping: [infra1] => (item=/etc/ssl/private/haproxy.key)
  348. skipping: [infra1] => (item=/etc/ssl/certs/haproxy.cert)
  349.  
  350. TASK [haproxy_server : Create self-signed ssl cert] ************************************************************************************************************************************************
  351. ok: [infra1]
  352.  
  353. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  354. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_key_store.yml for infra1
  355.  
  356. TASK [haproxy_server : Store ssl cert] *************************************************************************************************************************************************************
  357. ok: [infra1]
  358.  
  359. TASK [haproxy_server : Store ssl key] **************************************************************************************************************************************************************
  360. ok: [infra1]
  361.  
  362. TASK [haproxy_server : Register a fact for the cert and key] ***************************************************************************************************************************************
  363. ok: [infra1]
  364.  
  365. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  366.  
  367. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  368.  
  369. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  370. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_user_provided.yml for infra1
  371.  
  372. TASK [haproxy_server : Drop user provided ssl cert] ************************************************************************************************************************************************
  373.  
  374. TASK [haproxy_server : Drop user provided ssl key] *************************************************************************************************************************************************
  375.  
  376. TASK [haproxy_server : Drop user provided ssl CA cert] *********************************************************************************************************************************************
  377.  
  378. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  379. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_post_install.yml for infra1
  380.  
  381. TASK [haproxy_server : Make haproxy bindable on non local addresses] *******************************************************************************************************************************
  382.  
  383. TASK [haproxy_server : Delete rsyslog and logrotate configs] ***************************************************************************************************************************************
  384. ok: [infra1] => (item=/etc/rsyslog.d/49-haproxy.conf)
  385. ok: [infra1] => (item=/etc/logrotate.d/haproxy)
  386.  
  387. TASK [haproxy_server : Drop base haproxy config] ***************************************************************************************************************************************************
  388. ok: [infra1]
  389.  
  390. TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
  391. included: /etc/ansible/roles/haproxy_server/tasks/haproxy_service_config.yml for infra1
  392.  
  393. TASK [haproxy_server : Create haproxy service config files] ****************************************************************************************************************************************
  394. skipping: [infra1]
  395.  
  396. TASK [haproxy_server : Remove haproxy service config files for absent services] ********************************************************************************************************************
  397. skipping: [infra1]
  398.  
  399. TASK [haproxy_server : Prevent SELinux from preventing haproxy from binding to arbitrary ports] ****************************************************************************************************
  400. ok: [infra1]
  401.  
  402. TASK [haproxy_server : Create log directory if it does not exist] **********************************************************************************************************************************
  403. ok: [infra1]
  404.  
  405. TASK [haproxy_server : Ensure empty file is availble to bind mount log socket] *********************************************************************************************************************
  406. ok: [infra1]
  407.  
  408. TASK [haproxy_server : Make log socket available to chrooted filesystem] ***************************************************************************************************************************
  409. ok: [infra1]
  410.  
  411. PLAY [Gather utility facts] ************************************************************************************************************************************************************************
  412.  
  413. PLAY [Setup the utility location(s)] ***************************************************************************************************************************************************************
  414.  
  415. TASK [include_tasks] *******************************************************************************************************************************************************************************
  416. included: /opt/openstack-ansible/playbooks/common-tasks/os-lxc-container-setup.yml for infra1_utility_container-3835e574
  417.  
  418. TASK [Set default bind mounts (bind var/log)] ******************************************************************************************************************************************************
  419. ok: [infra1_utility_container-3835e574]
  420.  
  421. TASK [Ensure mount directories exists] *************************************************************************************************************************************************************
  422. ok: [infra1_utility_container-3835e574 -> 10.11.0.103] => (item={'bind_dir_path': u'/var/log', 'mount_path': u'/openstack/log/infra1_utility_container-3835e574'})
  423.  
  424. TASK [Add bind mount configuration to container] ***************************************************************************************************************************************************
  425. changed: [infra1_utility_container-3835e574 -> 10.11.0.103] => (item={'bind_dir_path': u'/var/log', 'mount_path': u'/openstack/log/infra1_utility_container-3835e574'})
  426.  
  427. TASK [Extra lxc config] ****************************************************************************************************************************************************************************
  428.  
  429. TASK [Extra lxc config no restart] *****************************************************************************************************************************************************************
  430. changed: [infra1_utility_container-3835e574 -> 10.11.0.103] => (item=lxc.start.order=100)
  431.  
  432. TASK [Check container state] ***********************************************************************************************************************************************************************
  433. ok: [infra1_utility_container-3835e574 -> 10.11.0.103]
  434.  
  435. TASK [Lxc container restart] ***********************************************************************************************************************************************************************
  436. changed: [infra1_utility_container-3835e574 -> 10.11.0.103]
  437.  
  438. TASK [Start Container] *****************************************************************************************************************************************************************************
  439. changed: [infra1_utility_container-3835e574 -> 10.11.0.103]
  440.  
  441. TASK [Wait for container tmpfiles-setup finish] ****************************************************************************************************************************************************
  442. [WARNING]: raw module does not support the environment keyword
  443.  
  444. ok: [infra1_utility_container-3835e574]
  445.  
  446. TASK [Wait for container connectivity] *************************************************************************************************************************************************************
  447. ok: [infra1_utility_container-3835e574]
  448.  
  449. TASK [include_tasks] *******************************************************************************************************************************************************************************
  450. included: /opt/openstack-ansible/playbooks/common-tasks/os-log-dir-setup.yml for infra1_utility_container-3835e574
  451.  
  452. TASK [Create log dir] ******************************************************************************************************************************************************************************
  453. skipping: [infra1_utility_container-3835e574] => (item={u'dest': u'/var/log/utility', u'src': u'/openstack/log/infra1_utility_container-3835e574-utility'})
  454.  
  455. TASK [Create log aggregation links] ****************************************************************************************************************************************************************
  456. skipping: [infra1_utility_container-3835e574] => (item={u'dest': u'/var/log/utility', u'src': u'/openstack/log/infra1_utility_container-3835e574-utility'})
  457.  
  458. TASK [include_tasks] *******************************************************************************************************************************************************************************
  459.  
  460. TASK [Create log directory (not is_metal)] *********************************************************************************************************************************************************
  461. changed: [infra1_utility_container-3835e574]
  462.  
  463. TASK [apt_package_pinning : Add apt pin preferences] ***********************************************************************************************************************************************
  464.  
  465. TASK [apt_package_pinning : Add apt pin preferences] ***********************************************************************************************************************************************
  466.  
  467. TASK [galera_client : Gather variables for each operating system] **********************************************************************************************************************************
  468. ok: [infra1_utility_container-3835e574] => (item=/etc/ansible/roles/galera_client/vars/redhat.yml)
  469.  
  470. TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
  471. included: /etc/ansible/roles/galera_client/tasks/galera_client_install.yml for infra1_utility_container-3835e574
  472.  
  473. TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
  474.  
  475. TASK [galera_client : Install galera distro packages] **********************************************************************************************************************************************
  476. skipping: [infra1_utility_container-3835e574]
  477.  
  478. TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
  479. included: /etc/ansible/roles/galera_client/tasks/galera_client_post_install.yml for infra1_utility_container-3835e574
  480.  
  481. TASK [galera_client : Drop local .my.cnf file] *****************************************************************************************************************************************************
  482. changed: [infra1_utility_container-3835e574]
  483.  
  484. TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
  485.  
  486. TASK [galera_server : Fail when the host is not in galera_cluster_members] *************************************************************************************************************************
  487. fatal: [infra1_utility_container-3835e574]: FAILED! => {"changed": false, "msg": "The host infra1_utility_container-3835e574 must be in galera_cluster_members."}
  488.  
  489. PLAY RECAP *****************************************************************************************************************************************************************************************
  490. infra1 : ok=30 changed=0 unreachable=0 failed=0 skipped=21 rescued=0 ignored=0
  491. infra1_repo_container-cf45d187 : ok=42 changed=25 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0
  492. infra1_utility_container-3835e574 : ok=16 changed=6 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
  493.  
  494.  
  495.  
  496. EXIT NOTICE [Playbook execution failure] **************************************
  497. ===============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement