Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@deployprod playbooks]# openstack-ansible setup-infrastructure.yml
- /opt/ansible-runtime/bin/python: No module named ara.setup
- Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
- [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
- feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
- [WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source
- PLAY [Gather unbound facts] ************************************************************************************************************************************************************************
- skipping: no hosts matched
- PLAY [Install unbound DNS resolvers] ***************************************************************************************************************************************************************
- skipping: no hosts matched
- PLAY [Install unbound DNS resolver client configurations] ******************************************************************************************************************************************
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- PLAY [Gather repo facts] ***************************************************************************************************************************************************************************
- PLAY [Setup repo servers] **************************************************************************************************************************************************************************
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- included: /opt/openstack-ansible/playbooks/common-tasks/os-lxc-container-setup.yml for infra1_repo_container-cf45d187
- TASK [Set default bind mounts (bind var/log)] ******************************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- TASK [Ensure mount directories exists] *************************************************************************************************************************************************************
- 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'})
- 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'})
- TASK [Add bind mount configuration to container] ***************************************************************************************************************************************************
- 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'})
- 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'})
- TASK [Extra lxc config] ****************************************************************************************************************************************************************************
- TASK [Extra lxc config no restart] *****************************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187 -> 10.11.0.103] => (item=lxc.start.order=100)
- TASK [Check container state] ***********************************************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187 -> 10.11.0.103]
- TASK [Lxc container restart] ***********************************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187 -> 10.11.0.103]
- TASK [Start Container] *****************************************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187 -> 10.11.0.103]
- TASK [Wait for container tmpfiles-setup finish] ****************************************************************************************************************************************************
- [WARNING]: raw module does not support the environment keyword
- ok: [infra1_repo_container-cf45d187]
- TASK [Wait for container connectivity] *************************************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- TASK [apt_package_pinning : Add apt pin preferences] ***********************************************************************************************************************************************
- TASK [repo_server : Gather variables for each operating system] ************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187] => (item=/etc/ansible/roles/repo_server/vars/redhat.yml)
- TASK [repo_server : create the system group] *******************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Create the nginx system user] **************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : File and directory setup (non-root user)] **************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/.ssh', u'mode': u'02700'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/links'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/os-releases'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/os-releases/20.0.1'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/pools'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/www/repo/venvs'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/lib/nginx'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/log/nginx', u'mode': u'0775'})
- TASK [repo_server : Drop repo pre/post command script] *********************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Check if the git folder exists already] ****************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- TASK [repo_server : Git service data folder setup] *************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : File and directory setup (root user)] ******************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/lsyncd'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/var/log/lsyncd'})
- ok: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/sites-enabled/default', u'state': u'absent'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/conf.d'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/sites-available'})
- changed: [infra1_repo_container-cf45d187] => (item={u'path': u'/etc/nginx/sites-enabled'})
- TASK [repo_server : Install EPEL gpg keys] *********************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Install the EPEL repository] ***************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Add NGINX repository] **********************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Install distro packages] *******************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Allow nginx user to stop/start nginx via sudo] *********************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Drop rsyncd configuration file(s)] *********************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Enable git automatic thread count detection] ***********************************************************************************************************************************
- [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.
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Remove old key file(s) if found] ***********************************************************************************************************************************************
- skipping: [infra1_repo_container-cf45d187] => (item=/var/www/.ssh/authorized_keys)
- skipping: [infra1_repo_container-cf45d187] => (item=/var/www/.ssh/id_rsa)
- skipping: [infra1_repo_container-cf45d187] => (item=/var/www/.ssh/id_rsa.pub)
- TASK [repo_server : Generate the nginx system user ssh key] ****************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Enable SSHD] *******************************************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- TASK [repo_server : Drop NGINX configuration files] ************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/nginx/nginx.conf', u'src': u'nginx.conf.j2'})
- changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/rsyncd.conf', u'src': u'rsyncd.conf.j2'})
- changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/nginx/sites-available/openstack-slushee.vhost', u'src': u'openstack-slushee.vhost.j2'})
- TASK [repo_server : Enable openstack-slushee site] *************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- TASK [repo_server : Place git daemon systemd init script] ******************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187] => (item={u'dest': u'/lib/systemd/system/git@.service', u'src': u'git.service.j2'})
- ok: [infra1_repo_container-cf45d187] => (item={u'dest': u'/lib/systemd/system/git.socket', u'src': u'git.socket.j2'})
- TASK [repo_server : Get public key contents and store as var] **************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- TASK [repo_server : Register a fact for the repo user pub key] *************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- TASK [repo_server : Create authorized keys file from host vars] ************************************************************************************************************************************
- skipping: [infra1_repo_container-cf45d187] => (item=infra1_repo_container-cf45d187)
- TASK [repo_server : Deploy lsyncd configuration file] **********************************************************************************************************************************************
- skipping: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/lsyncd.conf', u'src': u'lsyncd.lua.j2'})
- skipping: [infra1_repo_container-cf45d187] => (item={u'dest': u'/etc/sysconfig/lsyncd', u'src': u'lsyncd.defaults.j2'})
- TASK [repo_server : Remove apt-cacher-ng service] **************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- RUNNING HANDLER [repo_server : reload nginx] *******************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- RUNNING HANDLER [repo_server : reload rsyncd] ******************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- RUNNING HANDLER [repo_server : reload git socket] **************************************************************************************************************************************************
- changed: [infra1_repo_container-cf45d187]
- RUNNING HANDLER [repo_server : Remove apt-cacher-ng package] ***************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- RUNNING HANDLER [repo_server : Remove apt-cacher-ng data folders] **********************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- RUNNING HANDLER [repo_server : Remove apt-cacher-ng user] ******************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- RUNNING HANDLER [repo_server : Remove apt-cacher-ng group] *****************************************************************************************************************************************
- ok: [infra1_repo_container-cf45d187]
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- included: /opt/openstack-ansible/playbooks/common-tasks/rsyslog-client.yml for infra1_repo_container-cf45d187
- included: /opt/openstack-ansible/playbooks/common-tasks/rsyslog-client.yml for infra1_repo_container-cf45d187
- TASK [Run the rsyslog client role] *****************************************************************************************************************************************************************
- TASK [Run the rsyslog client role] *****************************************************************************************************************************************************************
- PLAY [Gather haproxy facts] ************************************************************************************************************************************************************************
- PLAY [haproxy base config] *************************************************************************************************************************************************************************
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- TASK [Remove legacy haproxy configuration files] ***************************************************************************************************************************************************
- skipping: [infra1] => (item={u'when': u'internal_lb_vip_address == external_lb_vip_address', u'name': u'keystone_internal'})
- ok: [infra1] => (item={u'when': u'yes', u'name': u'heat_api_cloudwatch'})
- TASK [keepalived : Gather variables for each operating system] *************************************************************************************************************************************
- skipping: [infra1] => (item=/etc/ansible/roles/keepalived/vars/redhat.yml)
- TASK [keepalived : Add the keepalived through ppa] *************************************************************************************************************************************************
- TASK [keepalived : Add Ubuntu Cloud Archive keyring] ***********************************************************************************************************************************************
- TASK [keepalived : Add the keepalived apt repository] **********************************************************************************************************************************************
- TASK [keepalived : Ensure python apt is installed] *************************************************************************************************************************************************
- TASK [keepalived : Check if keepalived is already installed] ***************************************************************************************************************************************
- skipping: [infra1]
- TASK [keepalived : Prevent keepalived from starting on install (upstart)] **************************************************************************************************************************
- TASK [keepalived : Prevent keepalived from starting on install (systemd)] **************************************************************************************************************************
- TASK [keepalived : install keepalived] *************************************************************************************************************************************************************
- TASK [keepalived : Ensure no new "samples" folder appeared] ****************************************************************************************************************************************
- TASK [keepalived : Revert keepalived start prevention] *********************************************************************************************************************************************
- TASK [keepalived : Systemd daemon_reload] **********************************************************************************************************************************************************
- TASK [keepalived : Get list of SELinux modules loaded] *********************************************************************************************************************************************
- skipping: [infra1]
- TASK [keepalived : Ensure SELinux packages are installed] ******************************************************************************************************************************************
- TASK [keepalived : include] ************************************************************************************************************************************************************************
- skipping: [infra1] => (item=keepalived_ping)
- skipping: [infra1] => (item=keepalived_haproxy_pid_file)
- TASK [keepalived : Allow consuming apps to bind on non local addresses] ****************************************************************************************************************************
- skipping: [infra1] => (item=net.ipv4.ip_nonlocal_bind)
- skipping: [infra1] => (item=net.ipv6.ip_nonlocal_bind)
- TASK [keepalived : Configure keepalived] ***********************************************************************************************************************************************************
- TASK [keepalived : Check that daemon options file exists] ******************************************************************************************************************************************
- skipping: [infra1]
- TASK [keepalived : Configure keepalived extra params] **********************************************************************************************************************************************
- TASK [keepalived : Dropping the tracking scripts] **************************************************************************************************************************************************
- 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'})
- 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'})
- TASK [keepalived : Dropping the general notification scripts] **************************************************************************************************************************************
- 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'})
- TASK [keepalived : Dropping the notification scripts for switching to master] **********************************************************************************************************************
- 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'})
- TASK [keepalived : Dropping the notification scripts for switching to backup] **********************************************************************************************************************
- 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'})
- TASK [keepalived : Dropping the notification scripts for failures] *********************************************************************************************************************************
- 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'})
- TASK [keepalived : Dropping the general notification scripts (instances)] **************************************************************************************************************************
- 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'})
- 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'})
- TASK [keepalived : Dropping the notification scripts for switching to master (instances)] **********************************************************************************************************
- 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'})
- 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'})
- TASK [keepalived : Dropping the notification scripts for switching to backup (instances)] **********************************************************************************************************
- 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'})
- 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'})
- TASK [keepalived : Dropping the notification scripts for stopping vrrp (instances)] ****************************************************************************************************************
- 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'})
- 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'})
- TASK [keepalived : Dropping the notification scripts for failures (instances)] *********************************************************************************************************************
- 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'})
- 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'})
- TASK [keepalived : Ensuring keepalived is enabled] *************************************************************************************************************************************************
- TASK [keepalived : Make directory for keepalived's systemd overrides] ******************************************************************************************************************************
- TASK [keepalived : Apply keepalived override to start after network is up] *************************************************************************************************************************
- skipping: [infra1] => (item=Wants)
- skipping: [infra1] => (item=After)
- TASK [keepalived : Remove keepalived overrides] ****************************************************************************************************************************************************
- TASK [haproxy_server : Gather variables for each operating system] *********************************************************************************************************************************
- ok: [infra1] => (item=/etc/ansible/roles/haproxy_server/vars/redhat-7.yml)
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_pre_install.yml for infra1
- TASK [haproxy_server : Create the haproxy system group] ********************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Create the haproxy system user] *********************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Create haproxy conf.d dir] **************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_install.yml for infra1
- TASK [haproxy_server : Install HAProxy Packages] ***************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Ensure haproxy_hatop_download_path exists] **********************************************************************************************************************************
- ok: [infra1 -> localhost]
- TASK [haproxy_server : Download extra package] *****************************************************************************************************************************************************
- ok: [infra1 -> localhost]
- TASK [haproxy_server : Unarchive HATop] ************************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Install HATop] **************************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl.yml for infra1
- TASK [haproxy_server : Ensure the private ssl directory exists] ************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_self_signed.yml for infra1
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_key_create.yml for infra1
- TASK [haproxy_server : Remove self signed certs and keys for regen] ********************************************************************************************************************************
- skipping: [infra1] => (item=/etc/ssl/private/haproxy.pem)
- skipping: [infra1] => (item=/etc/ssl/private/haproxy.key)
- skipping: [infra1] => (item=/etc/ssl/certs/haproxy.cert)
- TASK [haproxy_server : Create self-signed ssl cert] ************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_key_store.yml for infra1
- TASK [haproxy_server : Store ssl cert] *************************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Store ssl key] **************************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Register a fact for the cert and key] ***************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_ssl_user_provided.yml for infra1
- TASK [haproxy_server : Drop user provided ssl cert] ************************************************************************************************************************************************
- TASK [haproxy_server : Drop user provided ssl key] *************************************************************************************************************************************************
- TASK [haproxy_server : Drop user provided ssl CA cert] *********************************************************************************************************************************************
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_post_install.yml for infra1
- TASK [haproxy_server : Make haproxy bindable on non local addresses] *******************************************************************************************************************************
- TASK [haproxy_server : Delete rsyslog and logrotate configs] ***************************************************************************************************************************************
- ok: [infra1] => (item=/etc/rsyslog.d/49-haproxy.conf)
- ok: [infra1] => (item=/etc/logrotate.d/haproxy)
- TASK [haproxy_server : Drop base haproxy config] ***************************************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : include_tasks] **************************************************************************************************************************************************************
- included: /etc/ansible/roles/haproxy_server/tasks/haproxy_service_config.yml for infra1
- TASK [haproxy_server : Create haproxy service config files] ****************************************************************************************************************************************
- skipping: [infra1]
- TASK [haproxy_server : Remove haproxy service config files for absent services] ********************************************************************************************************************
- skipping: [infra1]
- TASK [haproxy_server : Prevent SELinux from preventing haproxy from binding to arbitrary ports] ****************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Create log directory if it does not exist] **********************************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Ensure empty file is availble to bind mount log socket] *********************************************************************************************************************
- ok: [infra1]
- TASK [haproxy_server : Make log socket available to chrooted filesystem] ***************************************************************************************************************************
- ok: [infra1]
- PLAY [Gather utility facts] ************************************************************************************************************************************************************************
- PLAY [Setup the utility location(s)] ***************************************************************************************************************************************************************
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- included: /opt/openstack-ansible/playbooks/common-tasks/os-lxc-container-setup.yml for infra1_utility_container-3835e574
- TASK [Set default bind mounts (bind var/log)] ******************************************************************************************************************************************************
- ok: [infra1_utility_container-3835e574]
- TASK [Ensure mount directories exists] *************************************************************************************************************************************************************
- 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'})
- TASK [Add bind mount configuration to container] ***************************************************************************************************************************************************
- 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'})
- TASK [Extra lxc config] ****************************************************************************************************************************************************************************
- TASK [Extra lxc config no restart] *****************************************************************************************************************************************************************
- changed: [infra1_utility_container-3835e574 -> 10.11.0.103] => (item=lxc.start.order=100)
- TASK [Check container state] ***********************************************************************************************************************************************************************
- ok: [infra1_utility_container-3835e574 -> 10.11.0.103]
- TASK [Lxc container restart] ***********************************************************************************************************************************************************************
- changed: [infra1_utility_container-3835e574 -> 10.11.0.103]
- TASK [Start Container] *****************************************************************************************************************************************************************************
- changed: [infra1_utility_container-3835e574 -> 10.11.0.103]
- TASK [Wait for container tmpfiles-setup finish] ****************************************************************************************************************************************************
- [WARNING]: raw module does not support the environment keyword
- ok: [infra1_utility_container-3835e574]
- TASK [Wait for container connectivity] *************************************************************************************************************************************************************
- ok: [infra1_utility_container-3835e574]
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- included: /opt/openstack-ansible/playbooks/common-tasks/os-log-dir-setup.yml for infra1_utility_container-3835e574
- TASK [Create log dir] ******************************************************************************************************************************************************************************
- skipping: [infra1_utility_container-3835e574] => (item={u'dest': u'/var/log/utility', u'src': u'/openstack/log/infra1_utility_container-3835e574-utility'})
- TASK [Create log aggregation links] ****************************************************************************************************************************************************************
- skipping: [infra1_utility_container-3835e574] => (item={u'dest': u'/var/log/utility', u'src': u'/openstack/log/infra1_utility_container-3835e574-utility'})
- TASK [include_tasks] *******************************************************************************************************************************************************************************
- TASK [Create log directory (not is_metal)] *********************************************************************************************************************************************************
- changed: [infra1_utility_container-3835e574]
- TASK [apt_package_pinning : Add apt pin preferences] ***********************************************************************************************************************************************
- TASK [apt_package_pinning : Add apt pin preferences] ***********************************************************************************************************************************************
- TASK [galera_client : Gather variables for each operating system] **********************************************************************************************************************************
- ok: [infra1_utility_container-3835e574] => (item=/etc/ansible/roles/galera_client/vars/redhat.yml)
- TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
- included: /etc/ansible/roles/galera_client/tasks/galera_client_install.yml for infra1_utility_container-3835e574
- TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
- TASK [galera_client : Install galera distro packages] **********************************************************************************************************************************************
- skipping: [infra1_utility_container-3835e574]
- TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
- included: /etc/ansible/roles/galera_client/tasks/galera_client_post_install.yml for infra1_utility_container-3835e574
- TASK [galera_client : Drop local .my.cnf file] *****************************************************************************************************************************************************
- changed: [infra1_utility_container-3835e574]
- TASK [galera_client : include_tasks] ***************************************************************************************************************************************************************
- TASK [galera_server : Fail when the host is not in galera_cluster_members] *************************************************************************************************************************
- fatal: [infra1_utility_container-3835e574]: FAILED! => {"changed": false, "msg": "The host infra1_utility_container-3835e574 must be in galera_cluster_members."}
- PLAY RECAP *****************************************************************************************************************************************************************************************
- infra1 : ok=30 changed=0 unreachable=0 failed=0 skipped=21 rescued=0 ignored=0
- infra1_repo_container-cf45d187 : ok=42 changed=25 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0
- infra1_utility_container-3835e574 : ok=16 changed=6 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
- EXIT NOTICE [Playbook execution failure] **************************************
- ===============================================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement