ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_cluster_basic_existing_psks.yml ******************************** 2 plays in /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:5 Wednesday 31 July 2024 10:56:43 -0400 (0:00:00.017) 0:00:00.017 ******** ok: [managed_node1] => { "ansible_facts": { "ha_cluster_hacluster_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n31303833633366333561656439323930303361333161363239346166656537323933313436\n3432386236656563343237306335323637396239616230353561330a313731623238393238\n62343064666336643930663239383936616465643134646536656532323461356237646133\n3761616633323839633232353637366266350a313163633236376666653238633435306565\n3264623032333736393535663833\n" } }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-generallcpu2cdd/plans/general/tree/ha_cluster/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Minimal cluster configuration, using existing PSKs] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:9 Wednesday 31 July 2024 10:56:43 -0400 (0:00:00.017) 0:00:00.035 ******** ok: [managed_node1] META: ran handlers TASK [Create temp directory for secrets] *************************************** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:26 Wednesday 31 July 2024 10:56:44 -0400 (0:00:01.011) 0:00:01.047 ******** changed: [managed_node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_ha_cluster_vmikocjj", "size": 6, "state": "directory", "uid": 0 } TASK [Set up test environment] ************************************************* task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:34 Wednesday 31 July 2024 10:56:44 -0400 (0:00:00.299) 0:00:01.347 ******** TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Wednesday 31 July 2024 10:56:44 -0400 (0:00:00.034) 0:00:01.381 ******** ok: [managed_node1] => { "ansible_facts": { "inventory_hostname": "localhost" }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Ensure facts used by tests] ******* task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Wednesday 31 July 2024 10:56:44 -0400 (0:00:00.056) 0:00:01.438 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Check if system is ostree] ******** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Wednesday 31 July 2024 10:56:45 -0400 (0:00:00.058) 0:00:01.496 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree] *** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Wednesday 31 July 2024 10:56:45 -0400 (0:00:00.440) 0:00:01.937 ******** ok: [managed_node1] => { "ansible_facts": { "__ha_cluster_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories] *** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Wednesday 31 July 2024 10:56:45 -0400 (0:00:00.036) 0:00:01.974 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd] *** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Wednesday 31 July 2024 10:56:45 -0400 (0:00:00.032) 0:00:02.006 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run PSKs and certificates fixture] *************************************** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:39 Wednesday 31 July 2024 10:56:45 -0400 (0:00:00.032) 0:00:02.039 ******** included: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tasks/fixture_psks.yml for managed_node1 TASK [List packages on the controller to see if OpenSSL is installed] ********** task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tasks/fixture_psks.yml:15 Wednesday 31 July 2024 10:56:45 -0400 (0:00:00.075) 0:00:02.115 ******** [WARNING]: Found "rpm" but Failed to import the required Python library (rpm) on ip-10-31-46-149.us-east-1.aws.redhat.com's Python /usr/bin/python3.9. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter fatal: [managed_node1 -> localhost]: FAILED! => { "changed": false } MSG: Could not detect a supported package manager from the following list: ['rpm', 'portage', 'pkg', 'apt'], or the required Python library is not installed. Check warnings for details. TASK [Clean up work directory] ************************************************* task path: /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:219 Wednesday 31 July 2024 10:56:46 -0400 (0:00:00.504) 0:00:02.620 ******** changed: [managed_node1 -> localhost] => { "changed": true, "path": "/tmp/lsr_ha_cluster_vmikocjj", "state": "absent" } PLAY RECAP ********************************************************************* managed_node1 : ok=8 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 Wednesday 31 July 2024 10:56:46 -0400 (0:00:00.316) 0:00:02.937 ******** =============================================================================== Gathering Facts --------------------------------------------------------- 1.01s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:9 List packages on the controller to see if OpenSSL is installed ---------- 0.51s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tasks/fixture_psks.yml:15 fedora.linux_system_roles.ha_cluster : Check if system is ostree -------- 0.44s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Clean up work directory ------------------------------------------------- 0.32s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:219 Create temp directory for secrets --------------------------------------- 0.30s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:26 Run PSKs and certificates fixture --------------------------------------- 0.08s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:39 fedora.linux_system_roles.ha_cluster : Ensure facts used by tests ------- 0.06s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.06s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree --- 0.04s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Set up test environment ------------------------------------------------- 0.03s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:34 fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories --- 0.03s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 fedora.linux_system_roles.ha_cluster : Copy nss-altfiles ha_cluster users to /etc/passwd --- 0.03s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Include vault variables ------------------------------------------------- 0.02s /tmp/tmp.Qs2kIDLrag/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_existing_psks.yml:5