Add support in tripleo for distributed vlan traffic in ovn

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

Bug Description

For distributed vlan in ovn we need to add support of creating mac addresses per compute and seting them in external_ids:ovn-chassis-mac-mappings .

In case when we have NeutronBridgeMappings='datacentre:br-ex' then for every compute node we need to generate mac and addset it in ovn_controller to external_ids:ovn-chassis-mac-mappings: 'datacentre:generated_mac' [0]

[0] https://github.com/ovn-org/ovn/blob/master/controller/ovn-controller.8.xml#L199

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/732174

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Related fix proposed to branch: master
Review: https://review.opendev.org/732175

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-ansible (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/733719

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/733720

Changed in tripleo:
milestone: victoria-1 → victoria-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/732174
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=208209933240d8ab26bc3eb696447e830fd292b5
Submitter: Zuul
Branch: master

commit 208209933240d8ab26bc3eb696447e830fd292b5
Author: Harald Jensås <email address hidden>
Date: Sat May 30 00:37:44 2020 +0200

    Create OVNMacAddrNet network on Undercloud

    A network used to allocate MAC addresses for OVN chassis.
    Ports without and IP allocation will be created on this
    network, the MAC addresses of the ports will by used to
    configure the ovn-chassis-mac-mappings.

    NOTE, we may want to change the 'base_mac' option of the
    undercloud, so that we don't have collissions with the
    overcloud 'base_mac'.

    Related-Bug: #1881593
    Change-Id: If495b5d5c1e6beff02b48507051cccfb70fd995c

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/732175
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c90bbe188efafc3d4a073e8152d730b42af44b27
Submitter: Zuul
Branch: master

commit c90bbe188efafc3d4a073e8152d730b42af44b27
Author: Harald Jensås <email address hidden>
Date: Mon Jun 1 12:04:15 2020 +0200

    OVNChassisMacPorts for distributed VLAN

    For distributed vlan in ovn we need to add support of
    creating mac addresses per compute and seting them in
    external_ids:ovn-chassis-mac-mappings.

    This change passes the ovn::controller::ovn_bridge_mappings
    to the role node configuration so that ports for each
    bridge mapping can be created. The map of physnet/mac_address
    pairs is placed in the role output, and in RoleGroupVars.

    Related-Bug: #1881593
    Change-Id: If24653b629e39b6dd7ec6d09ae0ef32d7842c48f

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-ansible (master)

Reviewed: https://review.opendev.org/733719
Committed: https://git.openstack.org/cgit/openstack/tripleo-ansible/commit/?id=1884f32a71ba8bf0998e0c59e98230bc63d6b1a8
Submitter: Zuul
Branch: master

commit 1884f32a71ba8bf0998e0c59e98230bc63d6b1a8
Author: Harald Jensås <email address hidden>
Date: Fri Jun 5 02:06:30 2020 +0200

    Add OVN chassis macs to hieradata

    Add template for hireadata file containing OVN chassis mac
    mapping.

    Depends-On: https://review.opendev.org/732175
    Change-Id: Id10f4dc7c1faf0b59bcf33dcdd64620558d9f1d5
    Related-Bug: #1881593

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/733720
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=77e56441f1a9ef62feea59109f3574d00fbb9694
Submitter: Zuul
Branch: master

commit 77e56441f1a9ef62feea59109f3574d00fbb9694
Author: Harald Jensås <email address hidden>
Date: Fri Jun 5 02:09:10 2020 +0200

    Add OVN chassis macs to hieradata

    Add the tempalte in tripleo-ansible to the list of
    hieradata_templates in common/hiera-steps-tasks.yaml

    Depends-On: https://review.opendev.org/733719
    Related-Bug: #1881593
    Change-Id: I0a57374c5b58f5953b079b6690ecc77887ec8751

Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
milestone: wallaby-2 → wallaby-3
Revision history for this message
Marios Andreou (marios-b) wrote :

moving fix-released as the patches referenced here are merged
please move back if you disagree thanks

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/puppet-tripleo/+/782770
Committed: https://opendev.org/openstack/puppet-tripleo/commit/d35ec105a028fbcf801641e97c82c602a13740ce
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit d35ec105a028fbcf801641e97c82c602a13740ce
Author: Kamil Sambor <email address hidden>
Date: Thu Feb 25 11:59:03 2021 +0100

    Set ovn_chassis_mac_map in ovn::controller

    For distributed vlan in ovn we need to add support of
    creating mac addresses per compute and seting them in
    external_ids:ovn-chassis-mac-mappings.

    Depends-On: https://review.opendev.org/782759
    Related-Bug: #1881593
    Change-Id: I785400969efba0062aabdca9af2726a7603ef840
    (cherry picked from commit ef44eebdc56b839bfbdcb7190c1c1e1ce4fe46d6)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (stable/train)

Reviewed: https://review.opendev.org/c/openstack/puppet-tripleo/+/782773
Committed: https://opendev.org/openstack/puppet-tripleo/commit/9cabed9d27bc7e91878814a21a889e416fc2ebd3
Submitter: "Zuul (22348)"
Branch: stable/train

commit 9cabed9d27bc7e91878814a21a889e416fc2ebd3
Author: Kamil Sambor <email address hidden>
Date: Thu Feb 25 11:59:03 2021 +0100

    Set ovn_chassis_mac_map in ovn::controller

    For distributed vlan in ovn we need to add support of
    creating mac addresses per compute and seting them in
    external_ids:ovn-chassis-mac-mappings.

    Depends-On: https://review.opendev.org/782765
    Related-Bug: #1881593
    Change-Id: I785400969efba0062aabdca9af2726a7603ef840
    (cherry picked from commit ef44eebdc56b839bfbdcb7190c1c1e1ce4fe46d6)
    (cherry picked from commit 06f2a09393d00dcc87cb3ce73d56dabd94782ce0)
    (cherry picked from commit 15d65f57dacd93228767b03f3931b44b2caf3384)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/782753
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/2445de761e2b4255f99f79de3992b4d2e2330939
Submitter: "Zuul (22348)"
Branch: stable/train

commit 2445de761e2b4255f99f79de3992b4d2e2330939
Author: Harald Jensås <email address hidden>
Date: Fri Jun 5 02:09:10 2020 +0200

    Add OVN chassis macs to hieradata

    Add the tempalte in tripleo-ansible to the list of
    hieradata_templates in common/hiera-steps-tasks.yaml

    Depends-On: https://review.opendev.org/782741
    Related-Bug: #1881593
    Change-Id: I0a57374c5b58f5953b079b6690ecc77887ec8751
    (cherry picked from commit 77e56441f1a9ef62feea59109f3574d00fbb9694)
    (cherry picked from commit 02e2fbada5d7c8988ea9992f170f53b828261614)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/768060
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/1265a63edc09d5ddfa9e14b0ca36328140d12669
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 1265a63edc09d5ddfa9e14b0ca36328140d12669
Author: Harald Jensås <email address hidden>
Date: Fri Jun 5 02:09:10 2020 +0200

    Add OVN chassis macs to hieradata

    Add the tempalte in tripleo-ansible to the list of
    hieradata_templates in common/hiera-steps-tasks.yaml

    Depends-On: https://review.opendev.org/733719
    Related-Bug: #1881593
    Change-Id: I0a57374c5b58f5953b079b6690ecc77887ec8751
    (cherry picked from commit 77e56441f1a9ef62feea59109f3574d00fbb9694)

tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/puppet-tripleo/+/782772
Committed: https://opendev.org/openstack/puppet-tripleo/commit/e3c3b7cf182ecd08f91cd3b06e44b7df2bbc111b
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit e3c3b7cf182ecd08f91cd3b06e44b7df2bbc111b
Author: Kamil Sambor <email address hidden>
Date: Thu Feb 25 11:59:03 2021 +0100

    Set ovn_chassis_mac_map in ovn::controller

    For distributed vlan in ovn we need to add support of
    creating mac addresses per compute and seting them in
    external_ids:ovn-chassis-mac-mappings.

    Depends-On: https://review.opendev.org/782763
    Related-Bug: #1881593
    Change-Id: I785400969efba0062aabdca9af2726a7603ef840
    (cherry picked from commit ef44eebdc56b839bfbdcb7190c1c1e1ce4fe46d6)
    (cherry picked from commit 06f2a09393d00dcc87cb3ce73d56dabd94782ce0)

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

Other bug subscribers