# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Deconfigure cluster] ***************************************************** TASK [Gathering Facts] ********************************************************* ok: [sut] TASK [Set up test environment] ************************************************* included: /WORKDIR/dist-git-ha_cluster-feat-sbd-l_GDWh/tests/tasks/setup_test.yml for sut TASK [Set node name to 'localhost' for single-node clusters] ******************* ok: [sut] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [Do not try to enable RHEL repositories] ********************************** ok: [sut] => { "ansible_facts": { "ha_cluster_enable_repos": false }, "changed": false } TASK [Run HA Cluster role] ***************************************************** TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** 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-feat-sbd-l_GDWh/vars/RedHat_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.yml" } skipping: [sut] => (item=RedHat_8.3.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.3.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** included: /WORKDIR/dist-git-ha_cluster-feat-sbd-l_GDWh/tasks/check-and-prepare-role-variables.yml for sut TASK [linux-system-roles.ha_cluster : Fail if passwords are not specified] ***** 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 : Discover cluster node names] ************* ok: [sut] => { "ansible_facts": { "__ha_cluster_node_name": "localhost" }, "changed": false } TASK [linux-system-roles.ha_cluster : Collect cluster node names] ************** ok: [sut] => { "ansible_facts": { "__ha_cluster_all_node_names": [ "localhost" ] }, "changed": false } TASK [linux-system-roles.ha_cluster : Install and configure cluster packages] *** included: /WORKDIR/dist-git-ha_cluster-feat-sbd-l_GDWh/tasks/install-and-configure-packages.yml for sut TASK [linux-system-roles.ha_cluster : Find platform/version specific tasks to enable repositories] *** 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.3.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat_8.3.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Run platform/version specific tasks to enable repositories] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Install cluster packages] **************** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: corosync", "Installed: libknet1-plugins-all", "Installed: pacemaker", "Installed: pcs", "Installed: openssl", "Installed: fence-agents-all", "Installed: fence-virt", "Installed: rubygem-io-console-0.4.6-106.module+el8.3.0+7153+c6f6daa5.x86_64", "Installed: rubygem-json-2.1.0-106.module+el8.3.0+7153+c6f6daa5.x86_64", "Installed: redhat-logos-81.1-1.el8.x86_64", "Installed: rubygem-openssl-2.1.2-106.module+el8.3.0+7153+c6f6daa5.x86_64", "Installed: samba-client-libs-4.12.3-12.el8.3.x86_64", "Installed: samba-common-4.12.3-12.el8.3.noarch", "Installed: samba-common-libs-4.12.3-12.el8.3.x86_64", "Installed: rubygem-psych-3.0.2-106.module+el8.3.0+7153+c6f6daa5.x86_64", "Installed: perl-TimeDate-1:2.30-15.module+el8.3.0+6498+9eecfe51.noarch", "Installed: rubygem-rdoc-6.0.1-106.module+el8.3.0+7153+c6f6daa5.noarch", "Installed: rubygems-2.7.6.2-106.module+el8.3.0+7153+c6f6daa5.noarch", "Installed: python3-pexpect-4.3.1-3.el8.noarch", "Installed: libwbclient-4.12.3-12.el8.3.x86_64", "Installed: python3-ptyprocess-0.5.2-4.el8.noarch", "Installed: sbd-1.4.1-7.el8.x86_64", "Installed: python3-pyOpenSSL-18.0.0-1.el8.noarch", "Installed: python3-pycurl-7.43.0.2-4.el8.x86_64", "Installed: lvm2-8:2.03.09-5.el8.x86_64", "Installed: lvm2-libs-8:2.03.09-5.el8.x86_64", "Installed: bzip2-1.0.6-26.el8.x86_64", "Installed: python3-suds-0.7-0.8.94664ddd46a6.el8.noarch", "Installed: cifs-utils-6.8-3.el8.x86_64", "Installed: userspace-rcu-0.10.1-2.el8.x86_64", "Installed: cups-libs-1:2.2.6-38.el8.x86_64", "Installed: net-snmp-libs-1:5.8-17.el8.x86_64", "Installed: corosynclib-3.0.3-4.el8.x86_64", "Installed: device-mapper-event-8:1.02.171-5.el8.x86_64", "Installed: device-mapper-event-libs-8:1.02.171-5.el8.x86_64", "Installed: device-mapper-multipath-0.8.4-5.el8.x86_64", "Installed: device-mapper-multipath-libs-0.8.4-5.el8.x86_64", "Installed: libaio-0.3.112-1.el8.x86_64", "Installed: device-mapper-persistent-data-0.8.5-4.el8.x86_64", "Installed: telnet-1:0.17-73.el8_1.1.x86_64", "Installed: net-snmp-utils-1:5.8-17.el8.x86_64", "Installed: liberation-fonts-common-1:2.00.3-7.el8.noarch", "Installed: fontpackages-filesystem-1.44-22.el8.noarch", "Installed: liberation-sans-fonts-1:2.00.3-7.el8.noarch", "Installed: clufter-bin-0.77.1-5.el8.x86_64", "Installed: gnutls-dane-3.6.14-6.el8.x86_64", "Installed: clufter-common-0.77.1-5.el8.noarch", "Installed: gnutls-utils-3.6.14-6.el8.x86_64", "Installed: corosync-3.0.3-4.el8.x86_64", "Installed: libknet1-compress-bzip2-plugin-1.16-1.el8.x86_64", "Installed: libknet1-compress-lz4-plugin-1.16-1.el8.x86_64", "Installed: libknet1-compress-lzma-plugin-1.16-1.el8.x86_64", "Installed: libknet1-compress-lzo2-plugin-1.16-1.el8.x86_64", "Installed: libknet1-compress-plugins-all-1.16-1.el8.x86_64", "Installed: libknet1-compress-zlib-plugin-1.16-1.el8.x86_64", "Installed: libknet1-crypto-nss-plugin-1.16-1.el8.x86_64", "Installed: libknet1-crypto-openssl-plugin-1.16-1.el8.x86_64", "Installed: libknet1-crypto-plugins-all-1.16-1.el8.x86_64", "Installed: libknet1-plugins-all-1.16-1.el8.x86_64", "Installed: libnozzle1-1.16-1.el8.x86_64", "Installed: pacemaker-2.0.4-6.el8.x86_64", "Installed: pacemaker-cli-2.0.4-6.el8.x86_64", "Installed: libknet1-1.16-1.el8.x86_64", "Installed: pcs-0.10.6-4.el8.x86_64", "Installed: python3-clufter-0.77.1-5.el8.noarch", "Installed: resource-agents-4.1.1-68.el8.x86_64", "Installed: libicu-60.3-2.el8_1.x86_64", "Installed: fence-agents-all-4.2.1-53.el8.x86_64", "Installed: fence-agents-amt-ws-4.2.1-53.el8.noarch", "Installed: fence-agents-apc-4.2.1-53.el8.noarch", "Installed: fence-agents-apc-snmp-4.2.1-53.el8.noarch", "Installed: fence-agents-bladecenter-4.2.1-53.el8.noarch", "Installed: fence-agents-brocade-4.2.1-53.el8.noarch", "Installed: fence-agents-cisco-mds-4.2.1-53.el8.noarch", "Installed: fence-agents-cisco-ucs-4.2.1-53.el8.noarch", "Installed: fence-agents-common-4.2.1-53.el8.noarch", "Installed: fence-agents-compute-4.2.1-53.el8.noarch", "Installed: fence-agents-drac5-4.2.1-53.el8.noarch", "Installed: fence-agents-eaton-snmp-4.2.1-53.el8.noarch", "Installed: fence-agents-emerson-4.2.1-53.el8.noarch", "Installed: fence-agents-eps-4.2.1-53.el8.noarch", "Installed: fence-agents-heuristics-ping-4.2.1-53.el8.noarch", "Installed: fence-agents-hpblade-4.2.1-53.el8.noarch", "Installed: fence-agents-ibmblade-4.2.1-53.el8.noarch", "Installed: fence-agents-ifmib-4.2.1-53.el8.noarch", "Installed: fence-agents-ilo-moonshot-4.2.1-53.el8.noarch", "Installed: fence-agents-ilo-mp-4.2.1-53.el8.noarch", "Installed: fence-agents-ilo-ssh-4.2.1-53.el8.noarch", "Installed: fence-agents-ilo2-4.2.1-53.el8.noarch", "Installed: fence-agents-intelmodular-4.2.1-53.el8.noarch", "Installed: fence-agents-ipdu-4.2.1-53.el8.noarch", "Installed: fence-agents-ipmilan-4.2.1-53.el8.noarch", "Installed: fence-agents-kdump-4.2.1-53.el8.x86_64", "Installed: fence-agents-mpath-4.2.1-53.el8.noarch", "Installed: fence-agents-redfish-4.2.1-53.el8.x86_64", "Installed: fence-agents-rhevm-4.2.1-53.el8.noarch", "Installed: fence-agents-rsa-4.2.1-53.el8.noarch", "Installed: fence-agents-rsb-4.2.1-53.el8.noarch", "Installed: fence-agents-sbd-4.2.1-53.el8.noarch", "Installed: fence-agents-scsi-4.2.1-53.el8.noarch", "Installed: ipmitool-1.8.18-17.el8.x86_64", "Installed: fence-agents-vmware-rest-4.2.1-53.el8.noarch", "Installed: fence-agents-vmware-soap-4.2.1-53.el8.noarch", "Installed: fence-agents-wti-4.2.1-53.el8.noarch", "Installed: fence-virt-1.0.0-1.el8.x86_64", "Installed: autogen-libopts-5.18.12-8.el8.x86_64", "Installed: openwsman-python3-2.6.5-7.el8.x86_64", "Installed: ruby-2.5.5-106.module+el8.3.0+7153+c6f6daa5.x86_64", "Installed: python3-pyparsing-2.1.10-7.el8.noarch", "Installed: ruby-irb-2.5.5-106.module+el8.3.0+7153+c6f6daa5.noarch", "Installed: ruby-libs-2.5.5-106.module+el8.3.0+7153+c6f6daa5.x86_64", "Installed: libqb-1.0.3-12.el8.x86_64", "Installed: libwsman1-2.6.5-7.el8.x86_64", "Installed: overpass-fonts-3.0.2-3.el8.noarch", "Installed: pacemaker-cluster-libs-2.0.4-6.el8.x86_64", "Installed: rubygem-bigdecimal-1.3.4-106.module+el8.3.0+7153+c6f6daa5.x86_64", "Installed: pacemaker-libs-2.0.4-6.el8.x86_64", "Installed: pacemaker-schemas-2.0.4-6.el8.noarch", "Installed: rubygem-did_you_mean-1.2.0-106.module+el8.3.0+7153+c6f6daa5.noarch" ] } TASK [linux-system-roles.ha_cluster : Set hacluster password] ****************** 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] ********************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure pcs / pcsd] ******************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Distribute fence-virt authkey] *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure cluster nodes] ***************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check if qdevice is configured] ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Enable or disable cluster services on boot] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure SBD] *************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Pcs auth] ******************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Start the cluster and reload corosync.conf] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Create and push CIB] ********************* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Remove cluster configuration] ************ included: /WORKDIR/dist-git-ha_cluster-feat-sbd-l_GDWh/tasks/cluster-destroy-pcs-0.10.yml for sut TASK [linux-system-roles.ha_cluster : Remove cluster configuration] ************ ok: [sut] => (item=/etc/corosync/corosync.conf) => { "ansible_loop_var": "item", "changed": false, "cmd": [ "pcs", "cluster", "destroy" ], "item": "/etc/corosync/corosync.conf", "rc": 0 } STDOUT: skipped, 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" ], "item": "/var/lib/pacemaker/cib/cib.xml", "rc": 0 } STDOUT: skipped, since /var/lib/pacemaker/cib/cib.xml does not exist TASK [linux-system-roles.ha_cluster : Remove fence-virt authkey] *************** ok: [sut] => { "changed": false, "path": "/etc/cluster/fence_xvm.key", "state": "absent" } TASK [Stat corosync.conf] ****************************************************** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Stat cib.xml] ************************************************************ ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Stat fence_xvm.key] ****************************************************** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Check the files do not exist] ******************************************** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=18 changed=2 unreachable=0 failed=0 skipped=13 rescued=0 ignored=0 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/gluetool/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py:41: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---