Do you mind sharing your (partial) template so that I can dig into it ?
(It'd be nice if you can open a bug in storyboard[1])
[1] https://storyboard.openstack.org/#!/project/openstack/heat
I've not tried the said use case really by my self. As far as I remember
we had a similar requirement in TripleO (though we didn't use trunk resource)
but used jinja2 template and render the template contents in client side.
On 3/23/24 00:35, Lajos Katona wrote:
> Hi,
> With Hot templates we run into a scaling issue with Neutron trunk subports.
> The task is to create Neutron trunks with "vlan_count" number of subports, and with stack update be able to add or remove subports of the created trunk.
> We tried with resourceGroup, and that works well if we increase the number of subports.
> The problem comes with decrease, as with resourceGroups I can't (my lack of knowledge) tell
> heat_engine that first update the trunk and remove the subport and after that delete the port.
> And Neutron API gives back conflict as the port which heat_engine tries to delete is still used by the trunk.
>
> Do you know a way to accomplish such an operation with Hot templates?
>
> Thanks in advance for the help.
> Best wishes
> Lajos Katona (lajoskatona)