<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Hi Brendan,<br></div><div dir="auto"><div dir="ltr"><div dir="auto"><div dir="auto"><br></div><div dir="auto">thanks for the reply. Existing deployment has been done on different set of servers and on centos stream 8, wallaby, so on centos 9 we deployed a different tripleo repos (python3-tripleo-repos-0.1.1-0.20220214194341.cbbdde6.el8.noarch.rpm vs python3-tripleo-repos-0.1.1-0.20230111082402.c73cb0f.el9.noarch.rpm ) for undercloud deployment. Environment yamls were taken from that working deployment.</div><div dir="auto"><br></div><div dir="auto">We will try to remove environment yaml from deploy arguments one by one and will try to identify yaml which causes the issue.</div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, Aug 15, 2023, 22:49 Brendan Shephard <<a href="mailto:bshephar@redhat.com" rel="noreferrer noreferrer" target="_blank">bshephar@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Kamil,<br>
<br>
There will be an error in one of the environment files that you’re including in your overcloud deploy command.<br>
<br>
You said it’s your first deployment that was already prepared for you. Does this mean that the environment has already been deployed and you are trying to make a change now? If that’s the case, then I would check any of the files that have changed between the initial deployment and what you’re trying to do now.<br>
<br>
Regards,<br>
Brendan Shephard<br>
Senior Software Engineer<br>
<br>
<br>
> On 15 Aug 2023, at 23:48, Kamil Madac <<a href="mailto:kamil.madac@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">kamil.madac@gmail.com</a>> wrote:<br>
> <br>
> <br>
> Hello,<br>
> I'm trying to deploy openstack wallaby on centos9. Undercloud is running, but when I run "openstack overcloud deploy" it ends up with error:<br>
> <br>
> 2023-08-14 14:45:51.426 5 ERROR heat.engine.worker<br>
> 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<br>
> f16-91f7-a88c7553c1ed] running step /usr/lib/python3.6/site-packages/heat/engine/scheduler.py:207<br>
> 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<br>
> ack "keos9" [18515e00-1d85-4f16-91f7-a88c7553c1ed]<br>
> 2023-08-14 14:45:52.352 5 ERROR heat.engine.resource Traceback (most recent call last):<br>
> 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<br>
> 2023-08-14 14:45:52.352 5 ERROR heat.engine.resource yield<br>
> 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<br>
> 2023-08-14 14:45:52.352 5 ERROR heat.engine.resource yield from self.action_handler_task(action, args=handler_args)<br>
> 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<br>
> 2023-08-14 14:45:52.352 5 ERROR heat.engine.resource done = check(handler_data)<br>
> 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<br>
> 2023-08-14 14:45:52.352 5 ERROR heat.engine.resource return self._check_status_complete(self.CREATE)<br>
> 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<br>
> 2023-08-14 14:45:52.352 5 ERROR heat.engine.resource action=action)<br>
> 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<br>
> " must be lists or maps<br>
> 2023-08-14 14:45:52.352 5 ERROR heat.engine.resource<br>
> 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<br>
> n 24 output role_data: The values of the "for_each" argument to "repeat" must be lists or maps<br>
> <br>
> <br>
> 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.<br>
> <br>
> Can somebody give me advice on what is the best way to troubleshoot such issues in heat stacks in tripleo?<br>
> <br>
> Role data has been successfully generated by command:<br>
> <br>
> $ openstack overcloud roles generate -o /var/workdir/tripleo-environment/tripleo-heat-templates/custom_roles_data.yaml Controller Compute<br>
> <br>
> and then used to generate heat templates:<br>
> <br>
> /var/workdir/tripleo-heat-templates-upstream-wallaby/tools/process-templates.py \<br>
> -p /var/workdir/tripleo-heat-templates-upstream-wallaby \<br>
> -r /var/workdir/tripleo-environment/tripleo-heat-templates/custom_roles_data.yaml \<br>
> -n /var/workdir/tripleo-environment/tripleo-heat-templates/custom_network_data.yaml \<br>
> -o /var/workdir/generated-tripleo-heat-templates \<br>
> --safe<br>
> <br>
> <br>
> <br>
> Kamil Madac<br>
> <br>
<br>
</blockquote></div></div>
</div></div>
</div></div>