PLAY [Destroy] *****************************************************************
TASK [Get passwd entries for USER env] *****************************************
Monday 29 September 2025 08:41:49 +0000 (0:00:00.012) 0:00:00.012 ******
ok: [localhost]
TASK [Get shell async_dir] *****************************************************
Monday 29 September 2025 08:41:49 +0000 (0:00:00.265) 0:00:00.278 ******
ok: [localhost]
TASK [Set async_dir for HOME env] **********************************************
Monday 29 September 2025 08:41:49 +0000 (0:00:00.039) 0:00:00.317 ******
skipping: [localhost]
TASK [Destroy molecule instance(s)] ********************************************
Monday 29 September 2025 08:41:49 +0000 (0:00:00.031) 0:00:00.349 ******
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 08:41:49 +0000 (0:00:00.350) 0:00:00.700 ******
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': 'j195106314823.26111', 'results_file': '/home/zuul/.ansible_async/j195106314823.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 08:41:55 +0000 (0:00:05.428) 0:00:06.128 ******
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 08:41:55 +0000 (0:00:00.047) 0:00:06.176 ******
===============================================================================
Wait for instance(s) deletion to complete ------------------------------- 5.43s
Destroy molecule instance(s) -------------------------------------------- 0.35s
Get passwd entries for USER env ----------------------------------------- 0.27s
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 08:41:55 +0000 (0:00:00.012) 0:00:00.012 ******
ok: [localhost]
TASK [Register podman executable path] *****************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.271) 0:00:00.284 ******
ok: [localhost]
TASK [Get passwd entries for USER env] *****************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.037) 0:00:00.321 ******
ok: [localhost]
TASK [Get shell async_dir] *****************************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.263) 0:00:00.584 ******
ok: [localhost]
TASK [Set async_dir for HOME env] **********************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.039) 0:00:00.624 ******
skipping: [localhost]
TASK [Log into a container registry] *******************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.032) 0:00:00.656 ******
skipping: [localhost] => (item="instance registry username: None specified")
skipping: [localhost]
TASK [Check presence of custom Dockerfiles] ************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.040) 0:00:00.697 ******
ok: [localhost] => (item=Dockerfile: containerfile)
TASK [Create Dockerfiles from image names] *************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.281) 0:00:00.978 ******
skipping: [localhost] => (item="Dockerfile: containerfile; Image: registry.access.redhat.com/ubi9/ubi-init")
skipping: [localhost]
TASK [Discover local Podman images] ********************************************
Monday 29 September 2025 08:41:56 +0000 (0:00:00.037) 0:00:01.016 ******
ok: [localhost] => (item=instance)
TASK [Build an Ansible compatible image] ***************************************
Monday 29 September 2025 08:41:57 +0000 (0:00:00.314) 0:00:01.330 ******
skipping: [localhost] => (item=registry.access.redhat.com/ubi9/ubi-init)
skipping: [localhost]
TASK [Determine the CMD directives] ********************************************
Monday 29 September 2025 08:41:57 +0000 (0:00:00.038) 0:00:01.369 ******
ok: [localhost] => (item="instance command: /sbin/init")
TASK [Remove possible pre-existing containers] *********************************
Monday 29 September 2025 08:41:57 +0000 (0:00:00.045) 0:00:01.414 ******
changed: [localhost]
TASK [Discover local podman networks] ******************************************
Monday 29 September 2025 08:41:57 +0000 (0:00:00.222) 0:00:01.636 ******
skipping: [localhost] => (item=instance: None specified)
skipping: [localhost]
TASK [Create podman network dedicated to this scenario] ************************
Monday 29 September 2025 08:41:57 +0000 (0:00:00.041) 0:00:01.678 ******
skipping: [localhost]
TASK [Create molecule instance(s)] *********************************************
Monday 29 September 2025 08:41:57 +0000 (0:00:00.033) 0:00:01.711 ******
changed: [localhost] => (item=instance)
TASK [Wait for instance(s) creation to complete] *******************************
Monday 29 September 2025 08:41:57 +0000 (0:00:00.308) 0:00:02.020 ******
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 08:42:03 +0000 (0:00:05.447) 0:00:07.467 ******
===============================================================================
Wait for instance(s) creation to complete ------------------------------- 5.45s
Discover local Podman images -------------------------------------------- 0.31s
Create molecule instance(s) --------------------------------------------- 0.31s
Check presence of custom Dockerfiles ------------------------------------ 0.28s
Get podman executable path ---------------------------------------------- 0.27s
Get passwd entries for USER env ----------------------------------------- 0.26s
Remove possible pre-existing containers --------------------------------- 0.22s
Determine the CMD directives -------------------------------------------- 0.05s
Discover local podman networks ------------------------------------------ 0.04s
Log into a container registry ------------------------------------------- 0.04s
Get shell async_dir ----------------------------------------------------- 0.04s
Build an Ansible compatible image --------------------------------------- 0.04s
Create Dockerfiles from image names ------------------------------------- 0.04s
Register podman executable path ----------------------------------------- 0.04s
Create podman network dedicated to this scenario ------------------------ 0.03s
Set async_dir for HOME env ---------------------------------------------- 0.03s
PLAY [Converge] ****************************************************************
TASK [Gather stack nodes and facts] ********************************************
Monday 29 September 2025 08:42:03 +0000 (0:00:00.016) 0:00:00.016 ******
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 08:42:03 +0000 (0:00:00.029) 0:00:00.046 ******
ok: [instance]
TASK [Gather other facts for stack overcloud"] *********************************
Monday 29 September 2025 08:42:03 +0000 (0:00:00.033) 0:00:00.079 ******
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 08:42:03 +0000 (0:00:00.064) 0:00:00.144 ******
===============================================================================
Gather other facts for stack overcloud" --------------------------------- 0.06s
Get main facts for the overcloud stack ---------------------------------- 0.03s
Gather stack nodes and facts -------------------------------------------- 0.03s
PLAY [Destroy] *****************************************************************
TASK [Get passwd entries for USER env] *****************************************
Monday 29 September 2025 08:42:04 +0000 (0:00:00.012) 0:00:00.012 ******
ok: [localhost]
TASK [Get shell async_dir] *****************************************************
Monday 29 September 2025 08:42:04 +0000 (0:00:00.272) 0:00:00.285 ******
ok: [localhost]
TASK [Set async_dir for HOME env] **********************************************
Monday 29 September 2025 08:42:04 +0000 (0:00:00.039) 0:00:00.325 ******
skipping: [localhost]
TASK [Destroy molecule instance(s)] ********************************************
Monday 29 September 2025 08:42:04 +0000 (0:00:00.031) 0:00:00.356 ******
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 08:42:04 +0000 (0:00:00.360) 0:00:00.716 ******
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': 'j201548000496.26536', 'results_file': '/home/zuul/.ansible_async/j201548000496.26536', '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 08:42:10 +0000 (0:00:05.431) 0:00:06.147 ******
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 08:42:10 +0000 (0:00:00.047) 0:00:06.195 ******
===============================================================================
Wait for instance(s) deletion to complete ------------------------------- 5.43s
Destroy molecule instance(s) -------------------------------------------- 0.36s
Get passwd entries for USER env ----------------------------------------- 0.27s
Delete podman network dedicated to this scenario ------------------------ 0.05s
Get shell async_dir ----------------------------------------------------- 0.04s
Set async_dir for HOME env ---------------------------------------------- 0.03s