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
Fix Released
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)

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/827141
Committed: https://opendev.org/openstack/tripleo-ansible/commit/8a1ffcee897dfee925ef5b9a7f9044f9abee984d
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 8a1ffcee897dfee925ef5b9a7f9044f9abee984d
Author: Kamil Sambor <email address hidden>
Date: Wed Oct 13 12:12:48 2021 +0200

    Make template ovn_chassis_mac_map backwards-compatible

    Related-Bug: #1881593
    Change-Id: If11f21c05a795108d76a3d210e2ebf11d7114c50
    (cherry picked from commit 528888a664d0792b182a890aee5ed9bce6871208)

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/827142
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/fc898b9011030e43aaa26358a052e4b6de352275
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit fc898b9011030e43aaa26358a052e4b6de352275
Author: Kamil Sambor <email address hidden>
Date: Wed Oct 13 12:15:56 2021 +0200

    Add ovn_chassis_mac_map to ExtraConfig role

    Related-Bug: #1881593
    Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/827141

    Change-Id: Ia766bda0afd5232c13cd28c8bf9162ad1ed580f4
    (cherry picked from commit f2fd2a856e95852dd7b4f8eb2f5686b9cbe24c1a)

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/827147
Committed: https://opendev.org/openstack/tripleo-ansible/commit/893a237e61476bc44c3377982f7a748897de62aa
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 893a237e61476bc44c3377982f7a748897de62aa
Author: Kamil Sambor <email address hidden>
Date: Wed Oct 13 12:12:48 2021 +0200

    Make template ovn_chassis_mac_map backwards-compatible

    Conflicts:
      tripleo_ansible/roles/tripleo_hieradata/templates/ovn_chassis_mac_map.j2

    Related-Bug: #1881593
    Change-Id: If11f21c05a795108d76a3d210e2ebf11d7114c50
    (cherry picked from commit 528888a664d0792b182a890aee5ed9bce6871208)

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/827148
Committed: https://opendev.org/openstack/tripleo-ansible/commit/36dd9e91ee23d087d8be5e9cc438508487c7a85e
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 36dd9e91ee23d087d8be5e9cc438508487c7a85e
Author: Kamil Sambor <email address hidden>
Date: Wed Oct 13 12:12:48 2021 +0200

    Make template ovn_chassis_mac_map backwards-compatible

    Conflicts:
      tripleo_ansible/roles/tripleo_hieradata/templates/ovn_chassis_mac_map.j2

    Related-Bug: #1881593
    Change-Id: If11f21c05a795108d76a3d210e2ebf11d7114c50
    (cherry picked from commit 528888a664d0792b182a890aee5ed9bce6871208)

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

Reviewed: https://review.opendev.org/c/openstack/tripleo-ansible/+/827145
Committed: https://opendev.org/openstack/tripleo-ansible/commit/2e4161703c3d8981a3e36b21694fcd6522a86a5e
Submitter: "Zuul (22348)"
Branch: stable/train

commit 2e4161703c3d8981a3e36b21694fcd6522a86a5e
Author: Brent Eagles <email address hidden>
Date: Mon Jan 31 12:46:17 2022 -0330

    Make template ovn_chassis_mac_map backwards-compatible

    Semantic backport of If11f21c05a795108d76a3d210e2ebf11d7114c50
    which corrects an issue with writing out the chassis map to hiera.

    Semantic backport was required because of pathname change.

    Related-Bug: #1881593

    Change-Id: Id742deba9d7bec55e8476f22bc9388bb491cfdbe

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/ussuri)

Change abandoned by "Marios Andreou <email address hidden>" on branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/827150
Reason: abandoning per http://lists.openstack.org/pipermail/openstack-discuss/2022-April/028026.html - so we can move EOL https://review.opendev.org/c/openstack/releases/+/834049

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/victoria)

Change abandoned by "Harald Jensås <email address hidden>" on branch: stable/victoria
Review: https://review.opendev.org/c/openstack/tripleo-heat-templates/+/827149
Reason: stable/victoria is going EOL.

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/+/827146
Committed: https://opendev.org/openstack/tripleo-heat-templates/commit/4690cab2d46731a2c44d46330219e5cb4c9dd920
Submitter: "Zuul (22348)"
Branch: stable/train

commit 4690cab2d46731a2c44d46330219e5cb4c9dd920
Author: Kamil Sambor <email address hidden>
Date: Wed Oct 13 12:15:56 2021 +0200

    Add ovn_chassis_mac_map to ExtraConfig role

    Note: this patch includes a fix for the standalone role cases where
    there OVNMacAddressPorts are not created for the OVNBridgeMappings.

    Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/827145

    Related-Bug: #1881593

    Change-Id: Ia766bda0afd5232c13cd28c8bf9162ad1ed580f4
    (cherry picked from commit f2fd2a856e95852dd7b4f8eb2f5686b9cbe24c1a)

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.