Stack Update error when changeing network/subnet properties

Bug #1894920 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Harald Jensås

Bug Description

ERROR on stack update:

ResourceActionNotSupported: resources.BaremetalSubnet: Updating the subnet segment assciation only allowed when the current segment_id is None. The subnet is currently associated with segment. In this state update is not supported for resource.

This error occured on stack update after changeing subnet properties.

Debugging reveals that the list of segments, where we rely on index 0 being the base segment created behind the scenes by OS::Neutron::Net resources is not predictable.

The '{get_attr: [{{network.name}}Network, segments, 0, id]}' call can return the segment_id of a leaf subnet in a DCN or spine-leaf deployment.

Revision history for this message
Harald Jensås (harald-jensas) wrote :

Attempting to fix this with yaql did not work out due to heat bug: https://storyboard.openstack.org/#!/story/1705216#comment-164247

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 16.0.0.0rc1

This issue was fixed in the openstack/heat 16.0.0.0rc1 release candidate.

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 14.2.0

This issue was fixed in the openstack/heat 14.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 15.1.0

This issue was fixed in the openstack/heat 15.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat train-eol

This issue was fixed in the openstack/heat train-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.