`bridge_name` is still present in templates during and post FFU causing further updates failure

Solution Verified - Updated

Environment

  • Red Hat OpenStack 17.1 [post FFU]

Issue

  • bridge_name is no longer a valid variable
  • Presence of bridge_name leads to further updates failure
  • If stack update is ran post FFU with NetworkDeploymentActions it will cause an outage leading to creation of new ovs-bridge named bridge_name and disrupting the VM FIP connectivity

Resolution

  • Modify nic-config files and replace bridge_name with either "{{ neutron_physical_bridge_name }}" or "br-ex"

    Existing

    name: bridge_name
    type: ovs_bridge
    use_dhcp: false
    

    To

    type: ovs_bridge
    name: {{ neutron_physical_bridge_name }}
    

    Or

    name: br-ex
    type: ovs_bridge
    
  • There is a This content is not included.Bug raised to get the changes incorporated post upgrade

Root Cause

  • The templates still contain older name called bridge_name which no longer is valid in RHOSP17.1

Diagnostic Steps

  • While checking /etc/os-net-config/config.yaml on compute and controller, it shows entry with name bridge_name

  • Similarly in compute.j2 also have bridge_name

  • In ovs-vsctl show displays new bridge and all vlans part of it now whereas br-ex remains blank

    Bridge bridge_name
        fail_mode: standalone
        Port vlan453
            tag: 453
            Interface vlan453
                type: internal
        Port bridge_name
            Interface bridge_name
                type: internal
        Port bond2
            Interface bond2
        Port vlan456
            tag: 456
            Interface vlan456
                type: internal
        Port patch-provnet-25b288a3-1fda-4eea-ad03-2ea8d79ee2c6-to-br-int
            Interface patch-provnet-25b288a3-1fda-4eea-ad03-2ea8d79ee2c6-to-br-int
                type: patch
                options: {peer=patch-br-int-to-provnet-25b288a3-1fda-4eea-ad03-2ea8d79ee2c6}
        Port patch-provnet-fcdb8b2a-750d-436d-a96e-e2b5e671b610-to-br-int
            Interface patch-provnet-fcdb8b2a-750d-436d-a96e-e2b5e671b610-to-br-int
                type: patch
                options: {peer=patch-br-int-to-provnet-fcdb8b2a-750d-436d-a96e-e2b5e671b610}
        Port patch-provnet-0a1585b2-1cc8-4df7-86b8-ad84ab2042e9-to-br-int
            Interface patch-provnet-0a1585b2-1cc8-4df7-86b8-ad84ab2042e9-to-br-int
                type: patch
                options: {peer=patch-br-int-to-provnet-0a1585b2-1cc8-4df7-86b8-ad84ab2042e9}

    Bridge br-ex
        fail_mode: standalone
        Port br-ex
            Interface br-ex
                type: internal
    ovs_version: "3.1.4"
SBR
Components

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.