PLAY [Destroy] ***************************************************************** TASK [Get passwd entries for USER env] ***************************************** Monday 29 September 2025 10:44:58 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [localhost] TASK [Get shell async_dir] ***************************************************** Monday 29 September 2025 10:44:58 +0000 (0:00:00.282) 0:00:00.295 ****** ok: [localhost] TASK [Set async_dir for HOME env] ********************************************** Monday 29 September 2025 10:44:58 +0000 (0:00:00.040) 0:00:00.335 ****** skipping: [localhost] TASK [Destroy molecule instance(s)] ******************************************** Monday 29 September 2025 10:44:58 +0000 (0:00:00.032) 0:00:00.368 ****** changed: [localhost] => (item={'command': '/sbin/init', 'dockerfile': 'containerfile', 'image': 'registry.access.redhat.com/ubi9/ubi-init', 'name': 'instance', 'pre_build_image': True}) TASK [Wait for instance(s) deletion to complete] ******************************* Monday 29 September 2025 10:44:59 +0000 (0:00:00.372) 0:00:00.741 ****** FAILED - RETRYING: [localhost]: Wait for instance(s) deletion to complete (300 retries left). changed: [localhost] => (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': 'j957609070792.26111', 'results_file': '/home/zuul/.ansible_async/j957609070792.26111', 'changed': True, 'item': {'command': '/sbin/init', 'dockerfile': 'containerfile', 'image': 'registry.access.redhat.com/ubi9/ubi-init', 'name': 'instance', 'pre_build_image': True}, 'ansible_loop_var': 'item'}) TASK [Delete podman network dedicated to this scenario] ************************ Monday 29 September 2025 10:45:04 +0000 (0:00:05.474) 0:00:06.215 ****** skipping: [localhost] => (item=instance: None specified) skipping: [localhost] PLAY RECAP ********************************************************************* localhost : ok=4 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 29 September 2025 10:45:04 +0000 (0:00:00.050) 0:00:06.266 ****** =============================================================================== Wait for instance(s) deletion to complete ------------------------------- 5.47s Destroy molecule instance(s) -------------------------------------------- 0.37s Get passwd entries for USER env ----------------------------------------- 0.28s Delete podman network dedicated to this scenario ------------------------ 0.05s Get shell async_dir ----------------------------------------------------- 0.04s Set async_dir for HOME env ---------------------------------------------- 0.03s PLAY [Create] ****************************************************************** TASK [Get podman executable path] ********************************************** Monday 29 September 2025 10:45:05 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [localhost] TASK [Register podman executable path] ***************************************** Monday 29 September 2025 10:45:05 +0000 (0:00:00.291) 0:00:00.305 ****** ok: [localhost] TASK [Get passwd entries for USER env] ***************************************** Monday 29 September 2025 10:45:05 +0000 (0:00:00.041) 0:00:00.346 ****** ok: [localhost] TASK [Get shell async_dir] ***************************************************** Monday 29 September 2025 10:45:05 +0000 (0:00:00.297) 0:00:00.643 ****** ok: [localhost] TASK [Set async_dir for HOME env] ********************************************** Monday 29 September 2025 10:45:05 +0000 (0:00:00.042) 0:00:00.686 ****** skipping: [localhost] TASK [Log into a container registry] ******************************************* Monday 29 September 2025 10:45:05 +0000 (0:00:00.034) 0:00:00.720 ****** skipping: [localhost] => (item="instance registry username: None specified") skipping: [localhost] TASK [Check presence of custom Dockerfiles] ************************************ Monday 29 September 2025 10:45:05 +0000 (0:00:00.042) 0:00:00.763 ****** ok: [localhost] => (item=Dockerfile: containerfile) TASK [Create Dockerfiles from image names] ************************************* Monday 29 September 2025 10:45:06 +0000 (0:00:00.301) 0:00:01.064 ****** skipping: [localhost] => (item="Dockerfile: containerfile; Image: registry.access.redhat.com/ubi9/ubi-init") skipping: [localhost] TASK [Discover local Podman images] ******************************************** Monday 29 September 2025 10:45:06 +0000 (0:00:00.039) 0:00:01.103 ****** ok: [localhost] => (item=instance) TASK [Build an Ansible compatible image] *************************************** Monday 29 September 2025 10:45:06 +0000 (0:00:00.325) 0:00:01.429 ****** skipping: [localhost] => (item=registry.access.redhat.com/ubi9/ubi-init) skipping: [localhost] TASK [Determine the CMD directives] ******************************************** Monday 29 September 2025 10:45:06 +0000 (0:00:00.040) 0:00:01.470 ****** ok: [localhost] => (item="instance command: /sbin/init") TASK [Remove possible pre-existing containers] ********************************* Monday 29 September 2025 10:45:06 +0000 (0:00:00.049) 0:00:01.519 ****** changed: [localhost] TASK [Discover local podman networks] ****************************************** Monday 29 September 2025 10:45:06 +0000 (0:00:00.230) 0:00:01.750 ****** skipping: [localhost] => (item=instance: None specified) skipping: [localhost] TASK [Create podman network dedicated to this scenario] ************************ Monday 29 September 2025 10:45:06 +0000 (0:00:00.042) 0:00:01.792 ****** skipping: [localhost] TASK [Create molecule instance(s)] ********************************************* Monday 29 September 2025 10:45:07 +0000 (0:00:00.035) 0:00:01.828 ****** changed: [localhost] => (item=instance) TASK [Wait for instance(s) creation to complete] ******************************* Monday 29 September 2025 10:45:07 +0000 (0:00:00.317) 0:00:02.145 ****** FAILED - RETRYING: [localhost]: Wait for instance(s) creation to complete (300 retries left). changed: [localhost] => (item=instance) PLAY RECAP ********************************************************************* localhost : ok=10 changed=3 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 Monday 29 September 2025 10:45:12 +0000 (0:00:05.530) 0:00:07.676 ****** =============================================================================== Wait for instance(s) creation to complete ------------------------------- 5.53s Discover local Podman images -------------------------------------------- 0.33s Create molecule instance(s) --------------------------------------------- 0.32s Check presence of custom Dockerfiles ------------------------------------ 0.30s Get passwd entries for USER env ----------------------------------------- 0.30s Get podman executable path ---------------------------------------------- 0.29s Remove possible pre-existing containers --------------------------------- 0.23s Determine the CMD directives -------------------------------------------- 0.05s Log into a container registry ------------------------------------------- 0.04s Discover local podman networks ------------------------------------------ 0.04s Get shell async_dir ----------------------------------------------------- 0.04s Register podman executable path ----------------------------------------- 0.04s Build an Ansible compatible image --------------------------------------- 0.04s Create Dockerfiles from image names ------------------------------------- 0.04s Create podman network dedicated to this scenario ------------------------ 0.04s Set async_dir for HOME env ---------------------------------------------- 0.03s PLAY [Converge] **************************************************************** TASK [Gather stack nodes and facts] ******************************************** Monday 29 September 2025 10:45:13 +0000 (0:00:00.019) 0:00:00.019 ****** included: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/adoption_osp_deploy/tasks/gather_stack_nodes.yml for instance => (item={'stackname': 'overcloud', 'network_data_file': 'network_data.yaml.j2', 'vips_data_file': 'vips_data_overcloud.yaml', 'stack_nodes': ['osp-controllers']}) included: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/adoption_osp_deploy/tasks/gather_stack_nodes.yml for instance => (item={'stackname': 'cell1', 'network_data_file': 'network_data.yaml.j2', 'vips_data_file': 'vips_data_cell1.yaml', 'stack_nodes': ['cell1-osp-computes', 'cell1-osp-controllers']}) included: /home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/adoption_osp_deploy/tasks/gather_stack_nodes.yml for instance => (item={'stackname': 'cell2', 'network_data_file': 'network_data.yaml.j2', 'vips_data_file': 'vips_data_cell2.yaml', 'stack_nodes': ['cell2-osp-computes', 'cell2-osp-controllers']}) TASK [Get main facts for the overcloud stack] ********************************** Monday 29 September 2025 10:45:13 +0000 (0:00:00.037) 0:00:00.058 ****** ok: [instance] TASK [Gather other facts for stack overcloud"] ********************************* Monday 29 September 2025 10:45:13 +0000 (0:00:00.043) 0:00:00.101 ****** fatal: [instance]: FAILED! => msg: |- The task includes an option with an undefined variable. The error was: Unable to look up a name or access an attribute in template string ({{ [ansible_user_dir, 'network_data_' ~ _overcloud_name ~'.yaml' ] | path_join }}). Make sure your variable name does not contain invalid characters like '-': expected str, bytes or os.PathLike object, not AnsibleUndefined. expected str, bytes or os.PathLike object, not AnsibleUndefined. Unable to look up a name or access an attribute in template string ({{ [ansible_user_dir, 'network_data_' ~ _overcloud_name ~'.yaml' ] | path_join }}). Make sure your variable name does not contain invalid characters like '-': expected str, bytes or os.PathLike object, not AnsibleUndefined. expected str, bytes or os.PathLike object, not AnsibleUndefined The error appears to be in '/home/zuul/src/github.com/openstack-k8s-operators/ci-framework/roles/adoption_osp_deploy/tasks/gather_stack_nodes.yml': line 16, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Gather other facts for stack {{ _overcloud_name }}" ^ here We could be wrong, but this one looks like it might be an issue with missing quotes. Always quote template expression brackets when they start a value. For instance: with_items: - {{ foo }} Should be written as: with_items: - "{{ foo }}" PLAY RECAP ********************************************************************* instance : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Monday 29 September 2025 10:45:13 +0000 (0:00:00.084) 0:00:00.185 ****** =============================================================================== Gather other facts for stack overcloud" --------------------------------- 0.08s Get main facts for the overcloud stack ---------------------------------- 0.04s Gather stack nodes and facts -------------------------------------------- 0.04s PLAY [Destroy] ***************************************************************** TASK [Get passwd entries for USER env] ***************************************** Monday 29 September 2025 10:45:14 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [localhost] TASK [Get shell async_dir] ***************************************************** Monday 29 September 2025 10:45:14 +0000 (0:00:00.353) 0:00:00.367 ****** ok: [localhost] TASK [Set async_dir for HOME env] ********************************************** Monday 29 September 2025 10:45:14 +0000 (0:00:00.054) 0:00:00.421 ****** skipping: [localhost] TASK [Destroy molecule instance(s)] ******************************************** Monday 29 September 2025 10:45:14 +0000 (0:00:00.045) 0:00:00.467 ****** changed: [localhost] => (item={'command': '/sbin/init', 'dockerfile': 'containerfile', 'image': 'registry.access.redhat.com/ubi9/ubi-init', 'name': 'instance', 'pre_build_image': True}) TASK [Wait for instance(s) deletion to complete] ******************************* Monday 29 September 2025 10:45:14 +0000 (0:00:00.430) 0:00:00.897 ****** FAILED - RETRYING: [localhost]: Wait for instance(s) deletion to complete (300 retries left). changed: [localhost] => (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': 'j416236193550.26533', 'results_file': '/home/zuul/.ansible_async/j416236193550.26533', 'changed': True, 'item': {'command': '/sbin/init', 'dockerfile': 'containerfile', 'image': 'registry.access.redhat.com/ubi9/ubi-init', 'name': 'instance', 'pre_build_image': True}, 'ansible_loop_var': 'item'}) TASK [Delete podman network dedicated to this scenario] ************************ Monday 29 September 2025 10:45:20 +0000 (0:00:05.577) 0:00:06.474 ****** skipping: [localhost] => (item=instance: None specified) skipping: [localhost] PLAY RECAP ********************************************************************* localhost : ok=4 changed=2 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Monday 29 September 2025 10:45:20 +0000 (0:00:00.055) 0:00:06.529 ****** =============================================================================== Wait for instance(s) deletion to complete ------------------------------- 5.58s Destroy molecule instance(s) -------------------------------------------- 0.43s Get passwd entries for USER env ----------------------------------------- 0.35s Delete podman network dedicated to this scenario ------------------------ 0.06s Get shell async_dir ----------------------------------------------------- 0.05s Set async_dir for HOME env ---------------------------------------------- 0.05s