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_new_psks.yml ************************************* 2 plays in /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:5 Tuesday 24 September 2024 14:15:46 -0400 (0:00:00.022) 0:00:00.022 ***** 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": [ "/tmp/ha_cluster-cxt/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Minimal cluster configuration, custom and regenerated PSKs] ************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:9 Tuesday 24 September 2024 14:15:46 -0400 (0:00:00.026) 0:00:00.048 ***** ok: [managed-node1] META: ran handlers TASK [Create temp directory for secrets] *************************************** task path: /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:30 Tuesday 24 September 2024 14:15:47 -0400 (0:00:00.985) 0:00:01.033 ***** changed: [managed-node1 -> localhost] => { "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/lsr_ha_cluster_olbh6p1c", "size": 6, "state": "directory", "uid": 0 } TASK [Set up test environment] ************************************************* task path: /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:38 Tuesday 24 September 2024 14:15:47 -0400 (0:00:00.377) 0:00:01.411 ***** TASK [fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters] *** task path: /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Tuesday 24 September 2024 14:15:47 -0400 (0:00:00.054) 0:00:01.465 ***** 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/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 Tuesday 24 September 2024 14:15:47 -0400 (0:00:00.076) 0:00:01.541 ***** 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/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Tuesday 24 September 2024 14:15:47 -0400 (0:00:00.051) 0:00:01.593 ***** 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/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 Tuesday 24 September 2024 14:15:48 -0400 (0:00:00.515) 0:00:02.108 ***** 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/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:32 Tuesday 24 September 2024 14:15:48 -0400 (0:00:00.045) 0:00:02.154 ***** 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/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Tuesday 24 September 2024 14:15:48 -0400 (0:00:00.044) 0:00:02.199 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run PSKs and certificates fixture] *************************************** task path: /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:43 Tuesday 24 September 2024 14:15:48 -0400 (0:00:00.041) 0:00:02.240 ***** included: /tmp/collections-Tg1/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/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tasks/fixture_psks.yml:15 Tuesday 24 September 2024 14:15:48 -0400 (0:00:00.088) 0:00:02.328 ***** [WARNING]: Found "rpm" but Failed to import the required Python library (rpm) on ip-10-31-10-234.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: ['portage', 'pkg', 'apt', 'rpm'], or the required Python library is not installed. Check warnings for details. TASK [Clean up work directory] ************************************************* task path: /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:187 Tuesday 24 September 2024 14:15:49 -0400 (0:00:00.655) 0:00:02.984 ***** changed: [managed-node1 -> localhost] => { "changed": true, "path": "/tmp/lsr_ha_cluster_olbh6p1c", "state": "absent" } PLAY RECAP ********************************************************************* managed-node1 : ok=8 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0 Tuesday 24 September 2024 14:15:49 -0400 (0:00:00.384) 0:00:03.368 ***** =============================================================================== Gathering Facts --------------------------------------------------------- 0.99s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:9 List packages on the controller to see if OpenSSL is installed ---------- 0.66s /tmp/collections-Tg1/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.52s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:22 Clean up work directory ------------------------------------------------- 0.38s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:187 Create temp directory for secrets --------------------------------------- 0.38s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:30 Run PSKs and certificates fixture --------------------------------------- 0.09s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:43 fedora.linux_system_roles.ha_cluster : Set node name to 'localhost' for single-node clusters --- 0.08s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:9 Set up test environment ------------------------------------------------- 0.05s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:38 fedora.linux_system_roles.ha_cluster : Ensure facts used by tests ------- 0.05s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:14 fedora.linux_system_roles.ha_cluster : Set flag to indicate system is ostree --- 0.05s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:27 fedora.linux_system_roles.ha_cluster : Do not try to enable RHEL repositories --- 0.04s /tmp/collections-Tg1/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.04s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/roles/ha_cluster/tasks/test_setup.yml:41 Include vault variables ------------------------------------------------- 0.03s /tmp/collections-Tg1/ansible_collections/fedora/linux_system_roles/tests/ha_cluster/tests_cluster_basic_new_psks.yml:5