Port Name incorrectly set for OVNChassisMacPorts

Bug #1954443 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Unassigned

Bug Description

https://opendev.org/openstack/tripleo-heat-templates/src/branch/stable/train/puppet/role.role.j2.yaml#L619-L629

  {{server_resource_name}}OVNChassisMacPorts:
    type: OS::Heat::ResourceGroup
    properties:
      count:
        yaql:
          expression: $.data.len()
          data: {get_param: OVNBridgeMappings}
      resource_def:
        type: OS::TripleO::OVNMacAddressPort
        properties:
          PortName: {{server_resource_name}}-ovn-mac-%index%

The "PortName": should hold the servers hostname + '-ovn-mac-%index%', i.e it should use '{get_attr: [{{server_resource_name}}, name]}'

{{server_resource_name}} is actually the role name[1] ...

[1] https://opendev.org/openstack/tripleo-heat-templates/src/branch/stable/train/puppet/role.role.j2.yaml#L4

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

This code is not present in master and wallaby.
So would be a stable releases fix only.

tags: removed: wallaby-backport-potential
Changed in tripleo:
importance: High → Medium
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.