[OVN] "test_agent_show" failing, chassis not found

Bug #1897921 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Rodolfo Alonso
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

I think I found the culprit: https://review.opendev.org/#/c/752797/

I'll push a patch for this.

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
status: New → Triaged
importance: Undecided → Medium
assignee: Rodolfo Alonso (rodolfo-alonso-hernandez) → nobody
importance: Medium → Undecided
status: Triaged → New
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

My bad, c#1 is not for this bug.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
tags: added: ovn
Revision history for this message
Lajos Katona (lajos-katona) wrote :
Changed in neutron:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello:

So far, this is what I found: the chassis created by the test case does not match with the chassis searched. E.g.: in [1], the chassis created is

"Chassis":{"33bd8d74-76ad-4619-82a4-21d7648457d2":{"insert":{"name":"a44e691a-ecde-4021-b10f-76c4144d2764","hostname":"test-host","external_ids":["map",[["ovn-bridge-mappings",""]]],"encaps":["uuid","d5d827db-c394-4167-98b7-dbee5be492ca"]}}}

But the chassis searched is [2] 2fb76247-2ccd-429e-8aac-fce9fc9b35b6.

I don't see where this chassis UUID is generated and why.

Regards.

[1]https://6d4e6ce9034d29b14439-966b888ec4638d9e88fa61268e27aeea.ssl.cf5.rackcdn.com/747774/22/check/neutron-functional-with-uwsgi/4d1d62e/controller/logs/dsvm-functional-logs/neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestAgentApi.test_agent_show/ovn_sb-20-09-27_06-34-12_log.txt
[2]https://6d4e6ce9034d29b14439-966b888ec4638d9e88fa61268e27aeea.ssl.cf5.rackcdn.com/747774/22/check/neutron-functional-with-uwsgi/4d1d62e/controller/logs/dsvm-functional-logs/neutron.tests.functional.plugins.ml2.drivers.ovn.mech_driver.test_mech_driver.TestAgentApi.test_agent_show/testrun.txt

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

Fix proposed to branch: master
Review: https://review.opendev.org/755575

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/755575
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=be7882be27237e7803c0b8411335f66594729175
Submitter: Zuul
Branch: master

commit be7882be27237e7803c0b8411335f66594729175
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Oct 1 15:46:19 2020 +0000

    Do not update agents "alive" state in TestAgentApi

    During the execution of FT TestAgentApi, we should not update the
    chassis agents "alive" state; during the FT execution, some of the
    agents returned by "agents_from_chassis" do not really exist (not
    relevant for the test case).

    Change-Id: Ied5bdca2a3b3832f11d42614d609d0849111ae1a
    Closes-Bug: #1897921

Changed in neutron:
status: In Progress → Fix Released
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/761651

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

Reviewed: https://review.opendev.org/761651
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=3ca5b3a5de44af57024a67f7f6abc0a09711c232
Submitter: Zuul
Branch: stable/victoria

commit 3ca5b3a5de44af57024a67f7f6abc0a09711c232
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Thu Oct 1 15:46:19 2020 +0000

    Do not update agents "alive" state in TestAgentApi

    During the execution of FT TestAgentApi, we should not update the
    chassis agents "alive" state; during the FT execution, some of the
    agents returned by "agents_from_chassis" do not really exist (not
    relevant for the test case).

    Change-Id: Ied5bdca2a3b3832f11d42614d609d0849111ae1a
    Closes-Bug: #1897921
    (cherry picked from commit be7882be27237e7803c0b8411335f66594729175)

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

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

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

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

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.

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.