Hello,
I'm trying to deploy openstack wallaby on centos9. Undercloud is running, but when I run  "openstack overcloud deploy" it ends up with error:

2023-08-14 14:45:51.426 5 ERROR heat.engine.worker
2023-08-14 14:45:52.346 5 DEBUG heat.engine.scheduler [req-fa1861f1-2a35-4754-8179-7ca9c8a209a8 admin admin - - -] Task create from TemplateResource "ControllerServiceChain" Stack "keos9" [18515e00-1d85-4
f16-91f7-a88c7553c1ed] running step /usr/lib/python3.6/site-packages/heat/engine/scheduler.py:207
2023-08-14 14:45:52.352 5 INFO heat.engine.resource [req-fa1861f1-2a35-4754-8179-7ca9c8a209a8 admin admin - - -] CREATE: TemplateResource "ControllerServiceChain" [44cce696-f0ef-4975-88e5-5b4e2b69149c] St
ack "keos9" [18515e00-1d85-4f16-91f7-a88c7553c1ed]
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource Traceback (most recent call last):
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource   File "/usr/lib/python3.6/site-packages/heat/engine/resource.py", line 916, in _action_recorder
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource     yield
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource   File "/usr/lib/python3.6/site-packages/heat/engine/resource.py", line 1028, in _do_action
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource     yield from self.action_handler_task(action, args=handler_args)
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource   File "/usr/lib/python3.6/site-packages/heat/engine/resource.py", line 978, in action_handler_task
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource     done = check(handler_data)
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource   File "/usr/lib/python3.6/site-packages/heat/engine/resources/stack_resource.py", line 408, in check_create_complete
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource     return self._check_status_complete(self.CREATE)
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource   File "/usr/lib/python3.6/site-packages/heat/engine/resources/stack_resource.py", line 451, in _check_status_complete
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource     action=action)
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource heat.common.exception.ResourceFailure: resources.ControllerServiceChain: Error in 24 output role_data: The values of the "for_each" argument to "repeat
" must be lists or maps
2023-08-14 14:45:52.352 5 ERROR heat.engine.resource
2023-08-14 14:45:52.366 5 INFO heat.engine.stack [req-fa1861f1-2a35-4754-8179-7ca9c8a209a8 admin admin - - -] Stack CREATE FAILED (keos9): Resource CREATE failed: resources.ControllerServiceChain: Error i
n 24 output role_data: The values of the "for_each" argument to "repeat" must be lists or maps


It is my first tripleo deployment  which was already prepared by the customer, but is not working currently. It is wallaby deployment on centos stream 9.

Can somebody give me advice on what is the best way to troubleshoot such issues in heat stacks in tripleo?

Role data has been successfully generated by command:

$ openstack overcloud roles generate -o /var/workdir/tripleo-environment/tripleo-heat-templates/custom_roles_data.yaml Controller Compute

and then used to generate heat templates:

/var/workdir/tripleo-heat-templates-upstream-wallaby/tools/process-templates.py \
-p /var/workdir/tripleo-heat-templates-upstream-wallaby \
-r /var/workdir/tripleo-environment/tripleo-heat-templates/custom_roles_data.yaml \
-n /var/workdir/tripleo-environment/tripleo-heat-templates/custom_network_data.yaml \
-o /var/workdir/generated-tripleo-heat-templates \
--safe



Kamil Madac