[OVN] Stop using external_ids from SB Chassis table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Rodolfo Alonso |
Bug Description
Since the release of ovn v22.09.0 the content of SB Chassis table column other_config is no longer copied to the external_ids.
Neutron still relies on the external_ids e.g. in neutron-agent, mech-driver etc.
All code pieces that use the chassis.
The duplication of the column was introduced in v20.06.0.
description: | updated |
Bence Romsics (bence-romsics) wrote : | #1 |
Changed in neutron: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in neutron: | |
assignee: | nobody → Rodolfo Alonso (rodolfo-alonso-hernandez) |
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master) | #2 |
Fix proposed to branch: master
Review: https:/
Changed in neutron: | |
status: | Triaged → In Progress |
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master) | #3 |
Related fix proposed to branch: master
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master) | #4 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7b15ad94339fd59
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Sep 30 04:23:26 2022 +0200
Bump minimum OVN version to v21.06.0
Bumped minimum OVN version of "neutron-
to v21.06.0
Now "neutron-
use this specific verison too, instead of using the default OS package
(in Ubuntu 20.04, the released package is v20.03.2).
Related-Bug: #1990229
Change-Id: I077a8409773ca4
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master) | #5 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f8fa909444cf87d
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Sep 23 09:11:25 2022 +0200
Since OVN 20.06, config is stored in "Chassis.
Since OVN 20.06 [1], the OVN configuration is stored in
"Chassis.
Since OVN 22.09, the "Chassis" configuration stored in
"Chassis.
"Chassis.
This patch replaces any reference to "external_ids" when
retrieving the Chassis configuration. That means Neutron
no longer supports OVN versions below 20.06.
[1]https:/
[2]https:/
Closes-Bug: #1990229
Change-Id: If379cefb66a262
Changed in neutron: | |
status: | In Progress → Fix Released |
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master) | #6 |
Fix proposed to branch: master
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master) | #7 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 536498a29a4e766
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Sep 23 09:11:25 2022 +0200
Since OVN 20.06, config is stored in "Chassis.
Since OVN 20.06 [1], the OVN configuration is stored in
"Chassis.
Since OVN 22.09, the "Chassis" configuration stored in
"Chassis.
"Chassis.
The ML2/OVN plugin tries to retrieve the "Chassis"
configuration from the "other_config" field first; if this
field does not exist (in OVN versions before 20.06), the plugin
will use "external_ids" field instead. Neutron will be compatible
with the different OVN versions (with and without "other_config"
field).
[1]https:/
[2]https:/
NOTE: this patch is similar to [1], but in this case neutron keeps
compatibility with the different OVN versions (with and without
"other_config" field). Since [2], the Neutron CI has a new job that
uses the OVN/OVS packages distributed by the operating system
installed by the CI (in this case, Ubuntu 20.04 and OVN 20.03).
[1]https:/
[2]https:/
Closes-Bug: #1990229
Change-Id: I54c8fd4d065ae5
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/zed) | #8 |
Fix proposed to branch: stable/zed
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/yoga) | #9 |
Fix proposed to branch: stable/yoga
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/zed) | #10 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/zed
commit af8a3a7f0810dc6
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Sep 23 09:11:25 2022 +0200
Since OVN 20.06, config is stored in "Chassis.
Since OVN 20.06 [1], the OVN configuration is stored in
"Chassis.
Since OVN 22.09, the "Chassis" configuration stored in
"Chassis.
"Chassis.
The ML2/OVN plugin tries to retrieve the "Chassis"
configuration from the "other_config" field first; if this
field does not exist (in OVN versions before 20.06), the plugin
will use "external_ids" field instead. Neutron will be compatible
with the different OVN versions (with and without "other_config"
field).
[1]https:/
[2]https:/
NOTE: this patch is similar to [1], but in this case neutron keeps
compatibility with the different OVN versions (with and without
"other_config" field). Since [2], the Neutron CI has a new job that
uses the OVN/OVS packages distributed by the operating system
installed by the CI (in this case, Ubuntu 20.04 and OVN 20.03).
[1]https:/
[2]https:/
Closes-Bug: #1990229
Change-Id: I54c8fd4d065ae5
(cherry picked from commit 536498a29a4e766
tags: | added: in-stable-zed |
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/yoga) | #11 |
Fix proposed to branch: stable/yoga
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (stable/yoga) | #12 |
Change abandoned by "Felix Huettner <email address hidden>" on branch: stable/yoga
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/yoga) | #13 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit 8a4c62d094a5419
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Sep 23 09:11:25 2022 +0200
Since OVN 20.06, config is stored in "Chassis.
Since OVN 20.06 [1], the OVN configuration is stored in
"Chassis.
Since OVN 22.09, the "Chassis" configuration stored in
"Chassis.
"Chassis.
The ML2/OVN plugin tries to retrieve the "Chassis"
configuration from the "other_config" field first; if this
field does not exist (in OVN versions before 20.06), the plugin
will use "external_ids" field instead. Neutron will be compatible
with the different OVN versions (with and without "other_config"
field).
[1]https:/
[2]https:/
NOTE: this patch is similar to [1], but in this case neutron keeps
compatibility with the different OVN versions (with and without
"other_config" field). Since [2], the Neutron CI has a new job that
uses the OVN/OVS packages distributed by the operating system
installed by the CI (in this case, Ubuntu 20.04 and OVN 20.03).
[1]https:/
[2]https:/
conflicting files in cherry pick:
- neutron/
- neutron/
Closes-Bug: #1990229
Change-Id: I54c8fd4d065ae5
(cherry picked from commit 536498a29a4e766
tags: | added: in-stable-yoga |
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/xena) | #14 |
Fix proposed to branch: stable/xena
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/wallaby) | #15 |
Fix proposed to branch: stable/wallaby
Review: https:/
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/wallaby) | #16 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 1ece93f835b2738
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Sep 23 09:11:25 2022 +0200
Since OVN 20.06, config is stored in "Chassis.
Since OVN 20.06 [1], the OVN configuration is stored in
"Chassis.
Since OVN 22.09, the "Chassis" configuration stored in
"Chassis.
"Chassis.
The ML2/OVN plugin tries to retrieve the "Chassis"
configuration from the "other_config" field first; if this
field does not exist (in OVN versions before 20.06), the plugin
will use "external_ids" field instead. Neutron will be compatible
with the different OVN versions (with and without "other_config"
field).
[1]https:/
[2]https:/
NOTE: this patch is similar to [1], but in this case neutron keeps
compatibility with the different OVN versions (with and without
"other_config" field). Since [2], the Neutron CI has a new job that
uses the OVN/OVS packages distributed by the operating system
installed by the CI (in this case, Ubuntu 20.04 and OVN 20.03).
[1]https:/
[2]https:/
Conflicts:
Closes-Bug: #1990229
Change-Id: I54c8fd4d065ae5
(cherry picked from commit 536498a29a4e766
(cherry picked from commit 8a4c62d094a5419
(cherry picked from commit a007da1e9a68821
tags: | added: in-stable-wallaby |
tags: | added: in-stable-xena |
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/xena) | #17 |
Reviewed: https:/
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit 70e179e9b74282a
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Fri Sep 23 09:11:25 2022 +0200
Since OVN 20.06, config is stored in "Chassis.
Since OVN 20.06 [1], the OVN configuration is stored in
"Chassis.
Since OVN 22.09, the "Chassis" configuration stored in
"Chassis.
"Chassis.
The ML2/OVN plugin tries to retrieve the "Chassis"
configuration from the "other_config" field first; if this
field does not exist (in OVN versions before 20.06), the plugin
will use "external_ids" field instead. Neutron will be compatible
with the different OVN versions (with and without "other_config"
field).
[1]https:/
[2]https:/
NOTE: this patch is similar to [1], but in this case neutron keeps
compatibility with the different OVN versions (with and without
"other_config" field). Since [2], the Neutron CI has a new job that
uses the OVN/OVS packages distributed by the operating system
installed by the CI (in this case, Ubuntu 20.04 and OVN 20.03).
[1]https:/
[2]https:/
Conflicts:
Closes-Bug: #1990229
Change-Id: I54c8fd4d065ae5
(cherry picked from commit 536498a29a4e766
(cherry picked from commit 8a4c62d094a5419
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.5.0 | #18 |
This issue was fixed in the openstack/neutron 19.5.0 release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 22.0.0.0rc1 | #19 |
This issue was fixed in the openstack/neutron 22.0.0.0rc1 release candidate.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 20.3.0 | #21 |
This issue was fixed in the openstack/neutron 20.3.0 release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 21.1.0 | #22 |
This issue was fixed in the openstack/neutron 21.1.0 release.
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron wallaby-eom | #23 |
This issue was fixed in the openstack/neutron wallaby-eom release.
I believe the relevant ovn commits are the following:
https:/ /github. com/ovn- org/ovn/ commit/ 51309429cc3032a 0cb422603e7bbda 4905ca01ae treewide: Disable storing of other_config in external_ids /github. com/ovn- org/ovn/ commit/ 74d90c2223d0a8c 123823fb849b4c2 de58c296e4 ovn-controller to no longer monitor Chassis' external_ids
https:/
I believe this bug needs to be fixed before we can bump the ovn version used in the gate to v22.09.0: /opendev. org/openstack/ neutron/ src/commit/ cd2c5be839e6093 1d45c3ff681a406 4e5ade5b94/ zuul.d/ base.yaml# L41
https:/
The report sounds like you have a plan to fix this. Do you know who will pick this bug up?