ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmptu5xhxnr executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_cluster_destroy.yml ******************************************** 1 plays in /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml PLAY [Deconfigure cluster] ***************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:3 Monday 01 August 2022 16:57:05 +0000 (0:00:00.012) 0:00:00.012 ********* ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:10 Monday 01 August 2022 16:57:06 +0000 (0:00:01.371) 0:00:01.383 ********* TASK [linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:9 Monday 01 August 2022 16:57:06 +0000 (0:00:00.034) 0:00:01.417 ********* ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [linux-system-roles.ha_cluster : Ensure facts used by tests] ************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:14 Monday 01 August 2022 16:57:06 +0000 (0:00:00.042) 0:00:01.460 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:20 Monday 01 August 2022 16:57:06 +0000 (0:00:00.020) 0:00:01.480 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Run HA Cluster role] ***************************************************** task path: /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:15 Monday 01 August 2022 16:57:06 +0000 (0:00:00.028) 0:00:01.508 ********* TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:3 Monday 01 August 2022 16:57:06 +0000 (0:00:00.039) 0:00:01.548 ********* included: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.ha_cluster : Ensure ansible_facts used by role] ******* task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 16:57:06 +0000 (0:00:00.026) 0:00:01.575 ********* ok: [/cache/fedora-35.qcow2.snap] TASK [linux-system-roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 Monday 01 August 2022 16:57:07 +0000 (0:00:00.606) 0:00:02.181 ********* skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Check and prepare role variables] ******** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:6 Monday 01 August 2022 16:57:07 +0000 (0:00:00.041) 0:00:02.223 ********* included: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.ha_cluster : Fail if passwords are not specified] ***** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 16:57:07 +0000 (0:00:00.029) 0:00:02.253 ********* skipping: [/cache/fedora-35.qcow2.snap] => (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] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:13 Monday 01 August 2022 16:57:07 +0000 (0:00:00.022) 0:00:02.275 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Discover cluster node names] ************* task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:26 Monday 01 August 2022 16:57:07 +0000 (0:00:00.020) 0:00:02.295 ********* ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__ha_cluster_node_name": "localhost" }, "changed": false } TASK [linux-system-roles.ha_cluster : Collect cluster node names] ************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:30 Monday 01 August 2022 16:57:07 +0000 (0:00:00.041) 0:00:02.337 ********* ok: [/cache/fedora-35.qcow2.snap] => { "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] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:38 Monday 01 August 2022 16:57:07 +0000 (0:00:00.049) 0:00:02.386 ********* ok: [/cache/fedora-35.qcow2.snap] => { "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] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:53 Monday 01 August 2022 16:57:07 +0000 (0:00:00.043) 0:00:02.429 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Install and configure cluster packages] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:9 Monday 01 August 2022 16:57:07 +0000 (0:00:00.033) 0:00:02.462 ********* included: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.ha_cluster : Find platform/version specific tasks to enable repositories] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:3 Monday 01 August 2022 16:57:07 +0000 (0:00:00.030) 0:00:02.493 ********* ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/enable-repositories/RedHat.yml" }, "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/enable-repositories/Fedora.yml" }, "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Run platform/version specific tasks to enable repositories] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:24 Monday 01 August 2022 16:57:07 +0000 (0:00:00.063) 0:00:02.556 ********* TASK [linux-system-roles.ha_cluster : Install cluster packages] **************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:30 Monday 01 August 2022 16:57:07 +0000 (0:00:00.033) 0:00:02.590 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.ha_cluster : Set hacluster password] ****************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:45 Monday 01 August 2022 16:57:10 +0000 (0:00:02.274) 0:00:04.865 ********* changed: [/cache/fedora-35.qcow2.snap] => { "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] ********************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:14 Monday 01 August 2022 16:57:10 +0000 (0:00:00.646) 0:00:05.511 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure pcs / pcsd] ******************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:17 Monday 01 August 2022 16:57:10 +0000 (0:00:00.022) 0:00:05.534 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Distribute fence-virt authkey] *********** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:20 Monday 01 August 2022 16:57:10 +0000 (0:00:00.022) 0:00:05.557 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure SBD] *************************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:23 Monday 01 August 2022 16:57:10 +0000 (0:00:00.024) 0:00:05.581 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Configure cluster nodes] ***************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:26 Monday 01 August 2022 16:57:10 +0000 (0:00:00.024) 0:00:05.606 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Enable or disable cluster services on boot] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:29 Monday 01 August 2022 16:57:10 +0000 (0:00:00.020) 0:00:05.626 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Pcs auth] ******************************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:32 Monday 01 August 2022 16:57:10 +0000 (0:00:00.019) 0:00:05.646 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Start the cluster and reload corosync.conf] *** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:37 Monday 01 August 2022 16:57:10 +0000 (0:00:00.020) 0:00:05.667 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Create and push CIB] ********************* task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:40 Monday 01 August 2022 16:57:10 +0000 (0:00:00.021) 0:00:05.688 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ha_cluster : Remove cluster configuration] ************ task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:47 Monday 01 August 2022 16:57:10 +0000 (0:00:00.019) 0:00:05.707 ********* included: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/cluster-destroy-pcs-0.10.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.ha_cluster : Remove cluster configuration] ************ task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/cluster-destroy-pcs-0.10.yml:9 Monday 01 August 2022 16:57:10 +0000 (0:00:00.031) 0:00:05.738 ********* changed: [/cache/fedora-35.qcow2.snap] => (item=/etc/corosync/corosync.conf) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "pcs", "cluster", "destroy" ], "delta": "0:00:02.773466", "end": "2022-08-01 16:57:13.882036", "item": "/etc/corosync/corosync.conf", "rc": 0, "start": "2022-08-01 16:57:11.108570" } STDOUT: Shutting down pacemaker/corosync services... Killing any remaining services... Removing all cluster configuration files... ok: [/cache/fedora-35.qcow2.snap] => (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] *************** task path: /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:50 Monday 01 August 2022 16:57:14 +0000 (0:00:03.687) 0:00:09.426 ********* changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/etc/cluster/fence_xvm.key", "state": "absent" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Stat corosync.conf] ****************************************************** task path: /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:19 Monday 01 August 2022 16:57:15 +0000 (0:00:00.537) 0:00:09.964 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Stat cib.xml] ************************************************************ task path: /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:24 Monday 01 August 2022 16:57:15 +0000 (0:00:00.546) 0:00:10.510 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Stat fence_xvm.key] ****************************************************** task path: /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:29 Monday 01 August 2022 16:57:16 +0000 (0:00:00.426) 0:00:10.936 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Check the files do not exist] ******************************************** task path: /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:34 Monday 01 August 2022 16:57:16 +0000 (0:00:00.400) 0:00:11.337 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=19 changed=3 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Monday 01 August 2022 16:57:16 +0000 (0:00:00.077) 0:00:11.415 ********* =============================================================================== linux-system-roles.ha_cluster : Remove cluster configuration ------------ 3.69s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/cluster-destroy-pcs-0.10.yml:9 linux-system-roles.ha_cluster : Install cluster packages ---------------- 2.27s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:30 Gathering Facts --------------------------------------------------------- 1.37s /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:3 ---------------------------- linux-system-roles.ha_cluster : Set hacluster password ------------------ 0.65s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:45 linux-system-roles.ha_cluster : Ensure ansible_facts used by role ------- 0.61s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:2 Stat corosync.conf ------------------------------------------------------ 0.55s /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:19 --------------------------- linux-system-roles.ha_cluster : Remove fence-virt authkey --------------- 0.54s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/main.yml:50 -- Stat cib.xml ------------------------------------------------------------ 0.43s /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:24 --------------------------- Stat fence_xvm.key ------------------------------------------------------ 0.40s /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:29 --------------------------- Check the files do not exist -------------------------------------------- 0.08s /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:34 --------------------------- linux-system-roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.06s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:3 linux-system-roles.ha_cluster : Collect cluster node names -------------- 0.05s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:30 linux-system-roles.ha_cluster : Figure out if ATB needs to be enabled for SBD --- 0.04s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:38 linux-system-roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.04s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/test_setup.yml:9 linux-system-roles.ha_cluster : Discover cluster node names ------------- 0.04s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:26 linux-system-roles.ha_cluster : Set platform/version specific variables --- 0.04s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/set_vars.yml:8 Run HA Cluster role ----------------------------------------------------- 0.04s /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:15 --------------------------- Set up test environment ------------------------------------------------- 0.03s /tmp/tmp1e70qk1w/tests/tests_cluster_destroy.yml:10 --------------------------- linux-system-roles.ha_cluster : Run platform/version specific tasks to enable repositories --- 0.03s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/install-and-configure-packages.yml:24 linux-system-roles.ha_cluster : Fail if SBD needs ATB enabled and the user configured ATB to be disabled --- 0.03s /tmp/tmp1e70qk1w/tests/roles/linux-system-roles.ha_cluster/tasks/check-and-prepare-role-variables.yml:53 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmptu5xhxnr executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_cluster_destroy.yml ******************************************** 1 plays in /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml PLAY [Deconfigure cluster] ***************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:3 Monday 01 August 2022 17:19:12 +0000 (0:00:00.013) 0:00:00.013 ********* ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [Set up test environment] ************************************************* task path: /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:10 Monday 01 August 2022 17:19:13 +0000 (0:00:01.302) 0:00:01.316 ********* TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Monday 01 August 2022 17:19:13 +0000 (0:00:00.053) 0:00:01.369 ********* ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Ensure facts used by tests] ******* task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Monday 01 August 2022 17:19:13 +0000 (0:00:00.043) 0:00:01.413 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:20 Monday 01 August 2022 17:19:13 +0000 (0:00:00.021) 0:00:01.434 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Run HA Cluster role] ***************************************************** task path: /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:15 Monday 01 August 2022 17:19:13 +0000 (0:00:00.028) 0:00:01.462 ********* TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:3 Monday 01 August 2022 17:19:13 +0000 (0:00:00.040) 0:00:01.503 ********* included: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 Monday 01 August 2022 17:19:13 +0000 (0:00:00.028) 0:00:01.532 ********* ok: [/cache/fedora-35.qcow2.snap] TASK [fedora.linux_system_roles.ha_cluster : Set platform/version specific variables] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 Monday 01 August 2022 17:19:14 +0000 (0:00:00.593) 0:00:02.126 ********* skipping: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check and prepare role variables] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:6 Monday 01 August 2022 17:19:14 +0000 (0:00:00.040) 0:00:02.167 ********* included: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Fail if passwords are not specified] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:5 Monday 01 August 2022 17:19:14 +0000 (0:00:00.033) 0:00:02.200 ********* skipping: [/cache/fedora-35.qcow2.snap] => (item=ha_cluster_hacluster_password) => { "ansible_loop_var": "item", "changed": false, "item": "ha_cluster_hacluster_password", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Fail if nodes do not have the same number of SBD devices specified] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:13 Monday 01 August 2022 17:19:14 +0000 (0:00:00.024) 0:00:02.224 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Discover cluster node names] ****** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:26 Monday 01 August 2022 17:19:14 +0000 (0:00:00.021) 0:00:02.246 ********* ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__ha_cluster_node_name": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Collect cluster node names] ******* task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:30 Monday 01 August 2022 17:19:14 +0000 (0:00:00.043) 0:00:02.289 ********* ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__ha_cluster_all_node_names": [ "localhost" ] }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Figure out if ATB needs to be enabled for SBD] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:34 Monday 01 August 2022 17:19:14 +0000 (0:00:00.053) 0:00:02.343 ********* ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "__ha_cluster_sbd_needs_atb": false }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Fail if SBD needs ATB enabled and the user configured ATB to be disabled] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:44 Monday 01 August 2022 17:19:14 +0000 (0:00:00.046) 0:00:02.390 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Install and configure cluster packages] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:9 Monday 01 August 2022 17:19:14 +0000 (0:00:00.033) 0:00:02.423 ********* included: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:3 Monday 01 August 2022 17:19:14 +0000 (0:00:00.033) 0:00:02.456 ********* ok: [/cache/fedora-35.qcow2.snap] => (item=RedHat.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/RedHat.yml" }, "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } ok: [/cache/fedora-35.qcow2.snap] => (item=Fedora.yml) => { "ansible_facts": { "__ha_cluster_enable_repo_tasks_file": "/tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/enable-repositories/Fedora.yml" }, "ansible_loop_var": "item", "changed": false, "item": "Fedora.yml" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } skipping: [/cache/fedora-35.qcow2.snap] => (item=Fedora_35.yml) => { "ansible_loop_var": "item", "changed": false, "item": "Fedora_35.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Run platform/version specific tasks to enable repositories] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:21 Monday 01 August 2022 17:19:14 +0000 (0:00:00.067) 0:00:02.524 ********* TASK [fedora.linux_system_roles.ha_cluster : Install cluster packages] ********* task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:27 Monday 01 August 2022 17:19:15 +0000 (0:00:00.035) 0:00:02.560 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ha_cluster : Set hacluster password] *********** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:34 Monday 01 August 2022 17:19:17 +0000 (0:00:02.257) 0:00:04.817 ********* changed: [/cache/fedora-35.qcow2.snap] => { "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 [fedora.linux_system_roles.ha_cluster : Configure firewall] *************** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:14 Monday 01 August 2022 17:19:17 +0000 (0:00:00.659) 0:00:05.477 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Configure pcs / pcsd] ************* task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:17 Monday 01 August 2022 17:19:17 +0000 (0:00:00.022) 0:00:05.499 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Distribute fence-virt authkey] **** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:20 Monday 01 August 2022 17:19:17 +0000 (0:00:00.022) 0:00:05.522 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Configure SBD] ******************** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:23 Monday 01 August 2022 17:19:17 +0000 (0:00:00.020) 0:00:05.543 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Configure cluster nodes] ********** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:26 Monday 01 August 2022 17:19:18 +0000 (0:00:00.022) 0:00:05.566 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Enable or disable cluster services on boot] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:29 Monday 01 August 2022 17:19:18 +0000 (0:00:00.021) 0:00:05.587 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Pcs auth] ************************* task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:32 Monday 01 August 2022 17:19:18 +0000 (0:00:00.020) 0:00:05.608 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Start the cluster and reload corosync.conf] *** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:37 Monday 01 August 2022 17:19:18 +0000 (0:00:00.019) 0:00:05.627 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Create and push CIB] ************** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:40 Monday 01 August 2022 17:19:18 +0000 (0:00:00.020) 0:00:05.648 ********* skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Remove cluster configuration] ***** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:47 Monday 01 August 2022 17:19:18 +0000 (0:00:00.019) 0:00:05.668 ********* included: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/cluster-destroy-pcs-0.10.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.ha_cluster : Remove cluster configuration] ***** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/cluster-destroy-pcs-0.10.yml:9 Monday 01 August 2022 17:19:18 +0000 (0:00:00.031) 0:00:05.700 ********* changed: [/cache/fedora-35.qcow2.snap] => (item=/etc/corosync/corosync.conf) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "pcs", "cluster", "destroy" ], "delta": "0:00:02.690141", "end": "2022-08-01 17:19:20.291149", "item": "/etc/corosync/corosync.conf", "rc": 0, "start": "2022-08-01 17:19:17.601008" } STDOUT: Shutting down pacemaker/corosync services... Killing any remaining services... Removing all cluster configuration files... ok: [/cache/fedora-35.qcow2.snap] => (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 [fedora.linux_system_roles.ha_cluster : Remove fence-virt authkey] ******** task path: /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:50 Monday 01 August 2022 17:19:21 +0000 (0:00:03.600) 0:00:09.300 ********* changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "path": "/etc/cluster/fence_xvm.key", "state": "absent" } META: role_complete for /cache/fedora-35.qcow2.snap TASK [Stat corosync.conf] ****************************************************** task path: /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:19 Monday 01 August 2022 17:19:22 +0000 (0:00:00.563) 0:00:09.863 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Stat cib.xml] ************************************************************ task path: /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:24 Monday 01 August 2022 17:19:22 +0000 (0:00:00.509) 0:00:10.372 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Stat fence_xvm.key] ****************************************************** task path: /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:29 Monday 01 August 2022 17:19:23 +0000 (0:00:00.416) 0:00:10.789 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Check the files do not exist] ******************************************** task path: /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:34 Monday 01 August 2022 17:19:23 +0000 (0:00:00.423) 0:00:11.213 ********* ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=19 changed=3 unreachable=0 failed=0 skipped=15 rescued=0 ignored=0 Monday 01 August 2022 17:19:23 +0000 (0:00:00.043) 0:00:11.256 ********* =============================================================================== fedora.linux_system_roles.ha_cluster : Remove cluster configuration ----- 3.60s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/cluster-destroy-pcs-0.10.yml:9 fedora.linux_system_roles.ha_cluster : Install cluster packages --------- 2.26s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:27 Gathering Facts --------------------------------------------------------- 1.30s /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:3 ----------------- fedora.linux_system_roles.ha_cluster : Set hacluster password ----------- 0.66s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:34 fedora.linux_system_roles.ha_cluster : Ensure ansible_facts used by role --- 0.59s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:2 fedora.linux_system_roles.ha_cluster : Remove fence-virt authkey -------- 0.56s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:50 Stat corosync.conf ------------------------------------------------------ 0.51s /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:19 ---------------- Stat fence_xvm.key ------------------------------------------------------ 0.42s /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:29 ---------------- Stat cib.xml ------------------------------------------------------------ 0.42s /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:24 ---------------- fedora.linux_system_roles.ha_cluster : Find platform/version specific tasks to enable repositories --- 0.07s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:3 fedora.linux_system_roles.ha_cluster : Collect cluster node names ------- 0.05s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:30 Set up test environment ------------------------------------------------- 0.05s /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:10 ---------------- fedora.linux_system_roles.ha_cluster : Figure out if ATB needs to be enabled for SBD --- 0.05s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:34 fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.04s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 fedora.linux_system_roles.ha_cluster : Discover cluster node names ------ 0.04s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/check-and-prepare-role-variables.yml:26 Check the files do not exist -------------------------------------------- 0.04s /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:34 ---------------- fedora.linux_system_roles.ha_cluster : Set platform/version specific variables --- 0.04s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/set_vars.yml:7 Run HA Cluster role ----------------------------------------------------- 0.04s /tmp/tmp0wbtbpvn/tests/ha_cluster/tests_cluster_destroy.yml:15 ---------------- fedora.linux_system_roles.ha_cluster : Run platform/version specific tasks to enable repositories --- 0.04s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/install-and-configure-packages.yml:21 fedora.linux_system_roles.ha_cluster : Install and configure cluster packages --- 0.03s /tmp/tmptu5xhxnr/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/main.yml:9