# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Deconfigure cluster] ***************************************************** TASK [Gathering Facts] ********************************************************* Monday 01 August 2022 17:40:40 +0000 (0:00:00.020) 0:00:00.020 ********* ok: [sut] TASK [Set up test environment] ************************************************* Monday 01 August 2022 17:40:41 +0000 (0:00:01.143) 0:00:01.163 ********* TASK [linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** Monday 01 August 2022 17:40:41 +0000 (0:00:00.046) 0:00:01.210 ********* ok: [sut] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [linux-system-roles.ha_cluster : Ensure facts used by tests] ************** Monday 01 August 2022 17:40:41 +0000 (0:00:00.063) 0:00:01.273 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Do not try to enable RHEL repositories] *** Monday 01 August 2022 17:40:41 +0000 (0:00:00.030) 0:00:01.304 ********* ok: [sut] => { "ansible_facts": { "ha_cluster_enable_repos": false }, "changed": false } TASK [Run HA Cluster role] ***************************************************** Monday 01 August 2022 17:40:41 +0000 (0:00:00.056) 0:00:01.360 ********* TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** Monday 01 August 2022 17:40:41 +0000 (0:00:00.056) 0:00:01.416 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-BX0ZEr/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml for sut TASK [linux-system-roles.ha_cluster : Ensure ansible_facts used by role] ******* Monday 01 August 2022 17:40:41 +0000 (0:00:00.038) 0:00:01.455 ********* ok: [sut] TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** Monday 01 August 2022 17:40:42 +0000 (0:00:00.439) 0:00:01.894 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_8.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "rhel-8-for-{{ ansible_architecture }}-highavailability-rpms", "name": "High Availability" } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-ha_cluster-fix-conventions-BX0ZEr/tests/roles/linux-system-roles.ha_cluster/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** Monday 01 August 2022 17:40:42 +0000 (0:00:00.076) 0:00:01.971 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-BX0ZEr/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml for sut TASK [linux-system-roles.ha_cluster : Fail if passwords are not specified] ***** Monday 01 August 2022 17:40:42 +0000 (0:00:00.041) 0:00:02.012 ********* skipping: [sut] => (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "item": "ha_cluster_hacluster_password", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Fail if nodes do not have the same number of SBD devices specified] *** Monday 01 August 2022 17:40:42 +0000 (0:00:00.032) 0:00:02.045 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Discover cluster node names] ************* Monday 01 August 2022 17:40:42 +0000 (0:00:00.028) 0:00:02.074 ********* ok: [sut] => { "ansible_facts": { "__ha_cluster_node_name": "localhost" }, "changed": false } TASK [linux-system-roles.ha_cluster : Collect cluster node names] ************** Monday 01 August 2022 17:40:42 +0000 (0:00:00.061) 0:00:02.135 ********* ok: [sut] => { "ansible_facts": { "__ha_cluster_all_node_names": [ "localhost" ] }, "changed": false } TASK [linux-system-roles.ha_cluster : Figure out if ATB needs to be enabled for SBD] *** Monday 01 August 2022 17:40:42 +0000 (0:00:00.074) 0:00:02.210 ********* ok: [sut] => { "ansible_facts": { "__ha_cluster_sbd_needs_atb": false }, "changed": false } TASK [linux-system-roles.ha_cluster : Fail if SBD needs ATB enabled and the user configured ATB to be disabled] *** Monday 01 August 2022 17:40:42 +0000 (0:00:00.064) 0:00:02.274 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Install and configure cluster packages] *** Monday 01 August 2022 17:40:42 +0000 (0:00:00.046) 0:00:02.321 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-BX0ZEr/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml for sut TASK [linux-system-roles.ha_cluster : Find platform/version specific tasks to enable repositories] *** Monday 01 August 2022 17:40:42 +0000 (0:00:00.043) 0:00:02.365 ********* skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_8.7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.7.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Run platform/version specific tasks to enable repositories] *** Monday 01 August 2022 17:40:42 +0000 (0:00:00.047) 0:00:02.412 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Install cluster packages] **************** Monday 01 August 2022 17:40:42 +0000 (0:00:00.031) 0:00:02.443 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: ruby-libs-2.5.9-110.module+el8.6.0+15956+aa803fc1.x86_64", "Installed: rubygem-bigdecimal-1.3.4-110.module+el8.6.0+15956+aa803fc1.x86_64", "Installed: python3-pexpect-4.3.1-3.el8.noarch", "Installed: fontpackages-filesystem-1.44-22.el8.noarch", "Installed: liberation-fonts-common-1:2.00.3-7.el8.noarch", "Installed: rubygem-did_you_mean-1.2.0-110.module+el8.6.0+15956+aa803fc1.noarch", "Installed: liberation-sans-fonts-1:2.00.3-7.el8.noarch", "Installed: openwsman-python3-2.6.5-7.el8.x86_64", "Installed: python3-ptyprocess-0.5.2-4.el8.noarch", "Installed: rubygem-io-console-0.4.6-110.module+el8.6.0+15956+aa803fc1.x86_64", "Installed: python3-pycurl-7.43.0.2-4.el8.x86_64", "Installed: clufter-bin-0.77.1-5.el8.x86_64", "Installed: clufter-common-0.77.1-5.el8.noarch", "Installed: corosync-3.1.5-2.el8.x86_64", "Installed: rubygem-json-2.1.0-110.module+el8.6.0+15956+aa803fc1.x86_64", "Installed: libknet1-compress-bzip2-plugin-1.22-1.el8.x86_64", "Installed: libknet1-compress-lz4-plugin-1.22-1.el8.x86_64", "Installed: libknet1-compress-lzma-plugin-1.22-1.el8.x86_64", "Installed: libknet1-compress-lzo2-plugin-1.22-1.el8.x86_64", "Installed: libknet1-compress-plugins-all-1.22-1.el8.x86_64", "Installed: libknet1-compress-zlib-plugin-1.22-1.el8.x86_64", "Installed: libknet1-crypto-nss-plugin-1.22-1.el8.x86_64", "Installed: libknet1-crypto-openssl-plugin-1.22-1.el8.x86_64", "Installed: overpass-fonts-3.0.2-3.el8.noarch", "Installed: libknet1-crypto-plugins-all-1.22-1.el8.x86_64", "Installed: libknet1-plugins-all-1.22-1.el8.x86_64", "Installed: libnozzle1-1.22-1.el8.x86_64", "Installed: pacemaker-2.1.4-4.el8.x86_64", "Installed: pacemaker-cluster-libs-2.1.4-4.el8.x86_64", "Installed: pacemaker-cli-2.1.4-4.el8.x86_64", "Installed: pacemaker-libs-2.1.4-4.el8.x86_64", "Installed: pacemaker-schemas-2.1.4-4.el8.noarch", "Installed: pcs-0.10.14-1.el8.x86_64", "Installed: rubygem-openssl-2.1.2-110.module+el8.6.0+15956+aa803fc1.x86_64", "Installed: python3-clufter-0.77.1-5.el8.noarch", "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: resource-agents-4.9.0-27.el8.x86_64", "Installed: python3-suds-0.7-0.11.94664ddd46a6.el8.noarch", "Installed: rubygem-psych-3.0.2-110.module+el8.6.0+15956+aa803fc1.x86_64", "Installed: rubygem-rdoc-6.0.1.1-110.module+el8.6.0+15956+aa803fc1.noarch", "Installed: rubygems-2.7.6.3-110.module+el8.6.0+15956+aa803fc1.noarch", "Installed: autogen-libopts-5.18.12-8.el8.x86_64", "Installed: python3-pyparsing-2.1.10-7.el8.noarch", "Installed: libqb-1.0.3-12.el8.x86_64", "Installed: sbd-1.5.1-2.el8.x86_64", "Installed: fence-agents-all-4.2.1-99.el8.x86_64", "Installed: fence-agents-amt-ws-4.2.1-99.el8.noarch", "Installed: fence-agents-apc-4.2.1-99.el8.noarch", "Installed: fence-agents-apc-snmp-4.2.1-99.el8.noarch", "Installed: fence-agents-bladecenter-4.2.1-99.el8.noarch", "Installed: fence-agents-brocade-4.2.1-99.el8.noarch", "Installed: fence-agents-cisco-mds-4.2.1-99.el8.noarch", "Installed: fence-agents-cisco-ucs-4.2.1-99.el8.noarch", "Installed: fence-agents-common-4.2.1-99.el8.noarch", "Installed: fence-agents-compute-4.2.1-99.el8.noarch", "Installed: fence-agents-drac5-4.2.1-99.el8.noarch", "Installed: fence-agents-eaton-snmp-4.2.1-99.el8.noarch", "Installed: fence-agents-emerson-4.2.1-99.el8.noarch", "Installed: fence-agents-eps-4.2.1-99.el8.noarch", "Installed: fence-agents-heuristics-ping-4.2.1-99.el8.noarch", "Installed: fence-agents-hpblade-4.2.1-99.el8.noarch", "Installed: fence-agents-ibmblade-4.2.1-99.el8.noarch", "Installed: fence-agents-ifmib-4.2.1-99.el8.noarch", "Installed: fence-agents-ilo-moonshot-4.2.1-99.el8.noarch", "Installed: fence-agents-ilo-mp-4.2.1-99.el8.noarch", "Installed: fence-agents-ilo-ssh-4.2.1-99.el8.noarch", "Installed: fence-agents-ilo2-4.2.1-99.el8.noarch", "Installed: fence-agents-intelmodular-4.2.1-99.el8.noarch", "Installed: fence-agents-ipdu-4.2.1-99.el8.noarch", "Installed: fence-agents-ipmilan-4.2.1-99.el8.noarch", "Installed: redhat-logos-84.5-1.el8.x86_64", "Installed: fence-agents-kdump-4.2.1-99.el8.x86_64", "Installed: fence-agents-mpath-4.2.1-99.el8.noarch", "Installed: fence-agents-redfish-4.2.1-99.el8.x86_64", "Installed: fence-agents-rhevm-4.2.1-99.el8.noarch", "Installed: fence-agents-rsa-4.2.1-99.el8.noarch", "Installed: fence-agents-rsb-4.2.1-99.el8.noarch", "Installed: fence-agents-sbd-4.2.1-99.el8.noarch", "Installed: fence-agents-scsi-4.2.1-99.el8.noarch", "Installed: fence-agents-vmware-rest-4.2.1-99.el8.noarch", "Installed: fence-agents-vmware-soap-4.2.1-99.el8.noarch", "Installed: fence-agents-wti-4.2.1-99.el8.noarch", "Installed: fence-virt-1.0.0-2.el8.x86_64", "Installed: samba-client-libs-4.16.2-1.el8.x86_64", "Installed: samba-common-4.16.2-1.el8.noarch", "Installed: samba-common-libs-4.16.2-1.el8.x86_64", "Installed: gnutls-dane-3.6.16-4.el8.x86_64", "Installed: gnutls-utils-3.6.16-4.el8.x86_64", "Installed: libwbclient-4.16.2-1.el8.x86_64", "Installed: perl-TimeDate-1:2.30-15.module+el8.3.0+6498+9eecfe51.noarch", "Installed: ipmitool-1.8.18-18.el8.x86_64", "Installed: net-snmp-utils-1:5.8-25.el8.x86_64", "Installed: lvm2-8:2.03.14-3.el8_6.2.x86_64", "Installed: lvm2-libs-8:2.03.14-3.el8_6.2.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: cifs-utils-6.8-3.el8.x86_64", "Installed: telnet-1:0.17-76.el8.x86_64", "Installed: userspace-rcu-0.10.1-4.el8.x86_64", "Installed: net-snmp-libs-1:5.8-25.el8.x86_64", "Installed: net-tools-2.0-0.52.20160912git.el8.x86_64", "Installed: device-mapper-event-8:1.02.181-3.el8_6.2.x86_64", "Installed: device-mapper-event-libs-8:1.02.181-3.el8_6.2.x86_64", "Installed: device-mapper-multipath-0.8.4-26.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-26.el8.x86_64", "Installed: device-mapper-persistent-data-0.9.0-7.el8.x86_64", "Installed: libknet1-1.22-1.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: ruby-2.5.9-110.module+el8.6.0+15956+aa803fc1.x86_64", "Installed: corosynclib-3.1.5-2.el8.x86_64", "Installed: libwsman1-2.6.5-7.el8.x86_64", "Installed: ruby-irb-2.5.9-110.module+el8.6.0+15956+aa803fc1.noarch" ] } TASK [linux-system-roles.ha_cluster : Set hacluster password] ****************** Monday 01 August 2022 17:41:06 +0000 (0:00:24.200) 0:00:26.644 ********* changed: [sut] => { "append": false, "changed": true, "comment": "cluster user", "group": 189, "home": "/home/hacluster", "move_home": false, "name": "hacluster", "password": "NOT_LOGGING_PASSWORD", "shell": "/sbin/nologin", "state": "present", "uid": 189 } TASK [linux-system-roles.ha_cluster : Configure firewall] ********************** Monday 01 August 2022 17:41:07 +0000 (0:00:00.858) 0:00:27.502 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure pcs / pcsd] ******************** Monday 01 August 2022 17:41:07 +0000 (0:00:00.030) 0:00:27.533 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Distribute fence-virt authkey] *********** Monday 01 August 2022 17:41:07 +0000 (0:00:00.029) 0:00:27.563 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure SBD] *************************** Monday 01 August 2022 17:41:07 +0000 (0:00:00.029) 0:00:27.592 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure cluster nodes] ***************** Monday 01 August 2022 17:41:07 +0000 (0:00:00.030) 0:00:27.622 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Enable or disable cluster services on boot] *** Monday 01 August 2022 17:41:07 +0000 (0:00:00.029) 0:00:27.652 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Pcs auth] ******************************** Monday 01 August 2022 17:41:07 +0000 (0:00:00.029) 0:00:27.681 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Start the cluster and reload corosync.conf] *** Monday 01 August 2022 17:41:07 +0000 (0:00:00.031) 0:00:27.713 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Create and push CIB] ********************* Monday 01 August 2022 17:41:07 +0000 (0:00:00.030) 0:00:27.743 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Remove cluster configuration] ************ Monday 01 August 2022 17:41:07 +0000 (0:00:00.030) 0:00:27.774 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-BX0ZEr/tests/roles/linux-system-roles.ha_cluster/tasks/cluster-destroy-pcs-0.10.yml for sut TASK [linux-system-roles.ha_cluster : Remove cluster configuration] ************ Monday 01 August 2022 17:41:08 +0000 (0:00:00.045) 0:00:27.819 ********* ok: [sut] => (item=/etc/corosync/corosync.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "pcs", "cluster", "destroy" ], "delta": null, "end": null, "item": "/etc/corosync/corosync.conf", "rc": 0, "start": null } STDOUT: skipped, since /etc/corosync/corosync.conf does not exist MSG: Did not run command since '/etc/corosync/corosync.conf' does not exist ok: [sut] => (item=/var/lib/pacemaker/cib/cib.xml) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "pcs", "cluster", "destroy" ], "delta": null, "end": null, "item": "/var/lib/pacemaker/cib/cib.xml", "rc": 0, "start": null } STDOUT: skipped, since /var/lib/pacemaker/cib/cib.xml does not exist MSG: Did not run command since '/var/lib/pacemaker/cib/cib.xml' does not exist TASK [linux-system-roles.ha_cluster : Remove fence-virt authkey] *************** Monday 01 August 2022 17:41:08 +0000 (0:00:00.645) 0:00:28.465 ********* ok: [sut] => { "changed": false, "path": "/etc/cluster/fence_xvm.key", "state": "absent" } TASK [Stat corosync.conf] ****************************************************** Monday 01 August 2022 17:41:09 +0000 (0:00:00.425) 0:00:28.891 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Stat cib.xml] ************************************************************ Monday 01 August 2022 17:41:09 +0000 (0:00:00.401) 0:00:29.292 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Stat fence_xvm.key] ****************************************************** Monday 01 August 2022 17:41:09 +0000 (0:00:00.243) 0:00:29.536 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Check the files do not exist] ******************************************** Monday 01 August 2022 17:41:09 +0000 (0:00:00.240) 0:00:29.776 ********* ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=20 changed=2 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Monday 01 August 2022 17:41:10 +0000 (0:00:00.064) 0:00:29.841 ********* =============================================================================== linux-system-roles.ha_cluster : Install cluster packages --------------- 24.20s Gathering Facts --------------------------------------------------------- 1.14s linux-system-roles.ha_cluster : Set hacluster password ------------------ 0.86s linux-system-roles.ha_cluster : Remove cluster configuration ------------ 0.65s linux-system-roles.ha_cluster : Ensure ansible_facts used by role ------- 0.44s linux-system-roles.ha_cluster : Remove fence-virt authkey --------------- 0.43s Stat corosync.conf ------------------------------------------------------ 0.40s Stat cib.xml ------------------------------------------------------------ 0.24s Stat fence_xvm.key ------------------------------------------------------ 0.24s linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.08s linux-system-roles.ha_cluster : Collect cluster node names -------------- 0.07s linux-system-roles.ha_cluster : Figure out if ATB needs to be enabled for SBD --- 0.06s Check the files do not exist -------------------------------------------- 0.06s linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.06s linux-system-roles.ha_cluster : Discover cluster node names ------------- 0.06s linux-system-roles.ha_cluster : Do not try to enable RHEL repositories --- 0.06s Run HA Cluster role ----------------------------------------------------- 0.06s linux-system-roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.05s linux-system-roles.ha_cluster : Fail if SBD needs ATB enabled and the user configured ATB to be disabled --- 0.05s Set up test environment ------------------------------------------------- 0.05s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ---^---^---^---^---^---