[tripleo] [deployment] heat stack error
Kamil Madac
kamil.madac at gmail.com
Wed Aug 16 07:37:18 UTC 2023
Hi Brendan,
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.
We will try to remove environment yaml from deploy arguments one by one and
will try to identify yaml which causes the issue.
On Tue, Aug 15, 2023, 22:49 Brendan Shephard <bshephar at redhat.com> wrote:
> Hey Kamil,
>
> There will be an error in one of the environment files that you’re
> including in your overcloud deploy command.
>
> 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.
>
> Regards,
> Brendan Shephard
> Senior Software Engineer
>
>
> > On 15 Aug 2023, at 23:48, Kamil Madac <kamil.madac at gmail.com> wrote:
> >
> >
> > 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
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230816/d1832902/attachment-0001.htm>
More information about the openstack-discuss
mailing list