[OVN] Use the correct SB chassis table in "NeutronAgent".

Bug #1914754 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Medium
Rodolfo Alonso

Bug Description

"AgentCache" singleton stores the OVN agents present in a system. Since the introduction of "Chassis_Private" SB table, the events that populate this cache belong to this table like the registers stored.

When an agent needs to return the chassis information ("NeutronAgent.to_dict"), the "Chassis" sibling register should be retrieved because some parameters are stored only in this table.

Currently in the CI we are using a stable OVN release that has not "Chassis_Private" table but "Chassis" only.

"TestAgentApi" test cases retrieve the chassis table from the mech driver for the waiting events but "Chassis" is used always to add a fake chassis.

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
tags: added: ovn
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
summary: - [OVN][FT] Use the correct SB chassis table in testing
+ [OVN] Use the correct SB chassis table in "NeutronAgent".
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/neutron/+/790915

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/ussuri)

Fix proposed to branch: stable/ussuri
Review: https://review.opendev.org/c/openstack/neutron/+/790916

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/790915
Committed: https://opendev.org/openstack/neutron/commit/3e7f78c62a57f0556e1c6db10523b4a5a2a68457
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 3e7f78c62a57f0556e1c6db10523b4a5a2a68457
Author: Terry Wilson <email address hidden>
Date: Fri Feb 5 19:07:53 2021 +0000

    add_fake_chassis() may need to create a Chassis_Private

    If the Chassis_Private table exists in the schema, add_fake_chassis
    will need to create it since we aren't running ovn-controller.

    Closes-Bug: #1914754
    Change-Id: Ie36cb025540c158fbbed4126be5d654888715300
    (cherry picked from commit d452e7868756935b074cc2026262e588e9523413)

tags: added: in-stable-victoria
tags: added: in-stable-ussuri
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/ussuri)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/790916
Committed: https://opendev.org/openstack/neutron/commit/92b3b628404dfcfb77fb3b7bd64e6d459c8077d8
Submitter: "Zuul (22348)"
Branch: stable/ussuri

commit 92b3b628404dfcfb77fb3b7bd64e6d459c8077d8
Author: Terry Wilson <email address hidden>
Date: Fri Feb 5 19:07:53 2021 +0000

    add_fake_chassis() may need to create a Chassis_Private

    If the Chassis_Private table exists in the schema, add_fake_chassis
    will need to create it since we aren't running ovn-controller.

    Closes-Bug: #1914754
    Change-Id: Ie36cb025540c158fbbed4126be5d654888715300
    (cherry picked from commit d452e7868756935b074cc2026262e588e9523413)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 16.4.0

This issue was fixed in the openstack/neutron 16.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 17.2.0

This issue was fixed in the openstack/neutron 17.2.0 release.

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

Other bug subscribers