# 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:35:55 +0000 (0:00:00.020) 0:00:00.020 ********* ok: [sut] TASK [Set up test environment] ************************************************* Monday 01 August 2022 17:35:56 +0000 (0:00:01.159) 0:00:01.180 ********* TASK [linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** Monday 01 August 2022 17:35:56 +0000 (0:00:00.048) 0:00:01.228 ********* 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:35:57 +0000 (0:00:00.067) 0:00:01.296 ********* 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:35:57 +0000 (0:00:00.030) 0:00:01.326 ********* ok: [sut] => { "ansible_facts": { "ha_cluster_enable_repos": false }, "changed": false } TASK [Run HA Cluster role] ***************************************************** Monday 01 August 2022 17:35:57 +0000 (0:00:00.060) 0:00:01.387 ********* TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** Monday 01 August 2022 17:35:57 +0000 (0:00:00.058) 0:00:01.445 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-_G4jot/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:35:57 +0000 (0:00:00.041) 0:00:01.487 ********* ok: [sut] TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** Monday 01 August 2022 17:35:57 +0000 (0:00:00.460) 0:00:01.947 ********* 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_9.yml) => { "ansible_facts": { "__ha_cluster_repos": [ { "id": "rhel-9-for-{{ ansible_architecture }}-highavailability-rpms", "name": "High Availability" } ] }, "ansible_included_var_files": [ "/WORKDIR/dist-git-ha_cluster-fix-conventions-_G4jot/tests/roles/linux-system-roles.ha_cluster/vars/RedHat_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml" } skipping: [sut] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** Monday 01 August 2022 17:35:57 +0000 (0:00:00.077) 0:00:02.025 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-_G4jot/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:35:57 +0000 (0:00:00.047) 0:00:02.073 ********* 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:35:57 +0000 (0:00:00.034) 0:00:02.108 ********* 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:35:57 +0000 (0:00:00.032) 0:00:02.140 ********* 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:35:57 +0000 (0:00:00.065) 0:00:02.205 ********* 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:35:58 +0000 (0:00:00.077) 0:00:02.283 ********* 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:35:58 +0000 (0:00:00.066) 0:00:02.349 ********* 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:35:58 +0000 (0:00:00.049) 0:00:02.399 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-_G4jot/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:35:58 +0000 (0:00:00.044) 0:00:02.444 ********* 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_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat_9.1.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_9.1.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:35:58 +0000 (0:00:00.050) 0:00:02.494 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Install cluster packages] **************** Monday 01 August 2022 17:35:58 +0000 (0:00:00.032) 0:00:02.527 ********* changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: python3-pycparser-2.20-6.el9.noarch", "Installed: python3-pycurl-7.43.0.6-8.el9.x86_64", "Installed: unbound-libs-1.13.1-13.el9.x86_64", "Installed: telnet-1:0.17-85.el9.x86_64", "Installed: net-snmp-libs-1:5.9.1-7.el9_0.1.x86_64", "Installed: net-snmp-utils-1:5.9.1-7.el9_0.1.x86_64", "Installed: fence-agents-common-4.10.0-27.el9.noarch", "Installed: nspr-4.34.0-8.el9_0.x86_64", "Installed: lvm2-9:2.03.16-2.el9.x86_64", "Installed: fence-virt-4.10.0-27.el9.x86_64", "Installed: lvm2-libs-9:2.03.16-2.el9.x86_64", "Installed: nss-3.79.0-8.el9_0.x86_64", "Installed: nss-softokn-3.79.0-8.el9_0.x86_64", "Installed: nss-softokn-freebl-3.79.0-8.el9_0.x86_64", "Installed: nss-sysinit-3.79.0-8.el9_0.x86_64", "Installed: perl-TimeDate-1:2.33-6.el9.noarch", "Installed: nss-util-3.79.0-8.el9_0.x86_64", "Installed: net-tools-2.0-0.62.20160912git.el9.x86_64", "Installed: pkgconf-1.7.3-9.el9.x86_64", "Installed: pkgconf-m4-1.7.3-9.el9.noarch", "Installed: pkgconf-pkg-config-1.7.3-9.el9.x86_64", "Installed: corosync-3.1.5-4.el9.x86_64", "Installed: protobuf-c-1.3.3-12.el9.x86_64", "Installed: redhat-logos-90.4-1.el9.x86_64", "Installed: fence-agents-all-4.10.0-27.el9.x86_64", "Installed: fence-agents-amt-ws-4.10.0-27.el9.noarch", "Installed: fence-agents-apc-4.10.0-27.el9.noarch", "Installed: fence-agents-apc-snmp-4.10.0-27.el9.noarch", "Installed: fence-agents-bladecenter-4.10.0-27.el9.noarch", "Installed: fence-agents-brocade-4.10.0-27.el9.noarch", "Installed: fence-agents-cisco-mds-4.10.0-27.el9.noarch", "Installed: fence-agents-cisco-ucs-4.10.0-27.el9.noarch", "Installed: fence-agents-drac5-4.10.0-27.el9.noarch", "Installed: fence-agents-eaton-snmp-4.10.0-27.el9.noarch", "Installed: fence-agents-emerson-4.10.0-27.el9.noarch", "Installed: fence-agents-eps-4.10.0-27.el9.noarch", "Installed: fence-agents-heuristics-ping-4.10.0-27.el9.noarch", "Installed: fence-agents-hpblade-4.10.0-27.el9.noarch", "Installed: fence-agents-ibmblade-4.10.0-27.el9.noarch", "Installed: libwsman1-2.6.8-22.el9.x86_64", "Installed: fence-agents-ifmib-4.10.0-27.el9.noarch", "Installed: fence-agents-ilo-moonshot-4.10.0-27.el9.noarch", "Installed: fence-agents-ilo-mp-4.10.0-27.el9.noarch", "Installed: fence-agents-ilo-ssh-4.10.0-27.el9.noarch", "Installed: fence-agents-ilo2-4.10.0-27.el9.noarch", "Installed: fence-agents-intelmodular-4.10.0-27.el9.noarch", "Installed: fence-agents-ipdu-4.10.0-27.el9.noarch", "Installed: fence-agents-ipmilan-4.10.0-27.el9.noarch", "Installed: fence-agents-kdump-4.10.0-27.el9.x86_64", "Installed: fence-agents-mpath-4.10.0-27.el9.noarch", "Installed: fence-agents-redfish-4.10.0-27.el9.x86_64", "Installed: fence-agents-rhevm-4.10.0-27.el9.noarch", "Installed: fence-agents-rsa-4.10.0-27.el9.noarch", "Installed: fence-agents-rsb-4.10.0-27.el9.noarch", "Installed: fence-agents-sbd-4.10.0-27.el9.noarch", "Installed: fence-agents-scsi-4.10.0-27.el9.noarch", "Installed: fence-agents-vmware-rest-4.10.0-27.el9.noarch", "Installed: fence-agents-vmware-soap-4.10.0-27.el9.noarch", "Installed: fence-agents-wti-4.10.0-27.el9.noarch", "Installed: python3-pyparsing-2.4.7-9.el9.noarch", "Installed: libknet1-1.24-2.el9.x86_64", "Installed: libknet1-compress-bzip2-plugin-1.24-2.el9.x86_64", "Installed: libknet1-compress-lz4-plugin-1.24-2.el9.x86_64", "Installed: libknet1-compress-lzma-plugin-1.24-2.el9.x86_64", "Installed: libknet1-compress-lzo2-plugin-1.24-2.el9.x86_64", "Installed: libknet1-compress-plugins-all-1.24-2.el9.x86_64", "Installed: libknet1-compress-zlib-plugin-1.24-2.el9.x86_64", "Installed: libknet1-compress-zstd-plugin-1.24-2.el9.x86_64", "Installed: libknet1-crypto-nss-plugin-1.24-2.el9.x86_64", "Installed: libknet1-crypto-openssl-plugin-1.24-2.el9.x86_64", "Installed: libknet1-crypto-plugins-all-1.24-2.el9.x86_64", "Installed: libknet1-plugins-all-1.24-2.el9.x86_64", "Installed: libnozzle1-1.24-2.el9.x86_64", "Installed: openwsman-python3-2.6.8-22.el9.x86_64", "Installed: pacemaker-2.1.4-2.el9.x86_64", "Installed: pacemaker-cli-2.1.4-2.el9.x86_64", "Installed: ruby-3.0.3-159.el9.x86_64", "Installed: pacemaker-cluster-libs-2.1.4-2.el9.x86_64", "Installed: pacemaker-libs-2.1.4-2.el9.x86_64", "Installed: ruby-default-gems-3.0.3-159.el9.noarch", "Installed: pacemaker-schemas-2.1.4-2.el9.noarch", "Installed: pcs-0.11.3-2.el9.x86_64", "Installed: resource-agents-4.10.0-23.el9.x86_64", "Installed: ruby-libs-3.0.3-159.el9.x86_64", "Installed: sbd-1.5.1-3.el9.x86_64", "Installed: rubygem-bigdecimal-3.0.0-159.el9.x86_64", "Installed: rubygem-bundler-2.2.32-159.el9.noarch", "Installed: rubygem-io-console-0.5.7-159.el9.x86_64", "Installed: rubygem-json-2.5.1-159.el9.x86_64", "Installed: rubygem-psych-3.3.2-159.el9.x86_64", "Installed: rubygem-rdoc-6.3.3-159.el9.noarch", "Installed: rubygem-rexml-3.2.5-159.el9.noarch", "Installed: rubygems-3.2.32-159.el9.noarch", "Installed: libaio-0.3.111-13.el9.x86_64", "Installed: python3-cffi-1.14.5-5.el9.x86_64", "Installed: bzip2-1.0.8-8.el9.x86_64", "Installed: python3-cryptography-36.0.1-2.el9.x86_64", "Installed: libqb-2.0.6-1.el9.x86_64", "Installed: corosynclib-3.1.5-4.el9.x86_64", "Installed: device-mapper-event-9:1.02.185-2.el9.x86_64", "Installed: device-mapper-event-libs-9:1.02.185-2.el9.x86_64", "Installed: device-mapper-multipath-0.8.7-10.el9.x86_64", "Installed: device-mapper-multipath-libs-0.8.7-10.el9.x86_64", "Installed: device-mapper-persistent-data-0.9.0-13.el9.x86_64", "Installed: gnutls-dane-3.7.6-3.el9_0.x86_64", "Installed: ipmitool-1.8.18-25.el9.x86_64", "Installed: gnutls-utils-3.7.6-3.el9_0.x86_64", "Installed: python3-ply-3.11-14.el9.noarch", "Installed: libpkgconf-1.7.3-9.el9.x86_64" ] } TASK [linux-system-roles.ha_cluster : Set hacluster password] ****************** Monday 01 August 2022 17:36:18 +0000 (0:00:20.011) 0:00:22.538 ********* 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:36:18 +0000 (0:00:00.601) 0:00:23.140 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure pcs / pcsd] ******************** Monday 01 August 2022 17:36:18 +0000 (0:00:00.030) 0:00:23.170 ********* 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:36:18 +0000 (0:00:00.031) 0:00:23.202 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure SBD] *************************** Monday 01 August 2022 17:36:19 +0000 (0:00:00.051) 0:00:23.253 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure cluster nodes] ***************** Monday 01 August 2022 17:36:19 +0000 (0:00:00.034) 0:00:23.288 ********* 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:36:19 +0000 (0:00:00.032) 0:00:23.321 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Pcs auth] ******************************** Monday 01 August 2022 17:36:19 +0000 (0:00:00.033) 0:00:23.355 ********* 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:36:19 +0000 (0:00:00.032) 0:00:23.387 ********* 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:36:19 +0000 (0:00:00.030) 0:00:23.418 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Remove cluster configuration] ************ Monday 01 August 2022 17:36:19 +0000 (0:00:00.031) 0:00:23.449 ********* included: /WORKDIR/dist-git-ha_cluster-fix-conventions-_G4jot/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:36:19 +0000 (0:00:00.046) 0:00:23.495 ********* 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:36:19 +0000 (0:00:00.621) 0:00:24.117 ********* ok: [sut] => { "changed": false, "path": "/etc/cluster/fence_xvm.key", "state": "absent" } TASK [Stat corosync.conf] ****************************************************** Monday 01 August 2022 17:36:20 +0000 (0:00:00.438) 0:00:24.555 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Stat cib.xml] ************************************************************ Monday 01 August 2022 17:36:20 +0000 (0:00:00.402) 0:00:24.958 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Stat fence_xvm.key] ****************************************************** Monday 01 August 2022 17:36:20 +0000 (0:00:00.245) 0:00:25.203 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Check the files do not exist] ******************************************** Monday 01 August 2022 17:36:21 +0000 (0:00:00.256) 0:00:25.459 ********* 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:36:21 +0000 (0:00:00.065) 0:00:25.525 ********* =============================================================================== linux-system-roles.ha_cluster : Install cluster packages --------------- 20.01s Gathering Facts --------------------------------------------------------- 1.16s linux-system-roles.ha_cluster : Remove cluster configuration ------------ 0.62s linux-system-roles.ha_cluster : Set hacluster password ------------------ 0.60s linux-system-roles.ha_cluster : Ensure ansible_facts used by role ------- 0.46s linux-system-roles.ha_cluster : Remove fence-virt authkey --------------- 0.44s Stat corosync.conf ------------------------------------------------------ 0.40s Stat fence_xvm.key ------------------------------------------------------ 0.26s Stat cib.xml ------------------------------------------------------------ 0.25s linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.08s linux-system-roles.ha_cluster : Collect cluster node names -------------- 0.08s linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.07s linux-system-roles.ha_cluster : Figure out if ATB needs to be enabled for SBD --- 0.07s Check the files do not exist -------------------------------------------- 0.07s linux-system-roles.ha_cluster : Discover cluster node names ------------- 0.07s 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 : Distribute fence-virt authkey ----------- 0.05s 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 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---