← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1899004] Re: [OVN] "test_agent_show" failing, agent not found

 

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

commit df2c7baa23b814ccd118fb69d16427b2bf59cecc
Author: Terry Wilson <twilson@xxxxxxxxxx>
Date:   Tue Oct 13 15:52:06 2020 +0000

    Make test_agent_show only look for its own agents
    
    Since plugin agents are a global resource, relying just on the
    'type' field for test_agent_show may end up finding an agent that
    we don't know about, and that agent could be deleted by another
    test. This reworks test_agent_show to sepecifically look for its
    own OVN controller agent and test agent.
    
    This also adds the 'id' field to the returned agent_status from
    create_or_update_agent() to make it possible to look for the agent
    that was just created.
    
    Change-Id: Ib840e7c51f7b918b5e17ce9deff9ceafacf063cc
    Closes-Bug: #1899004


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1899004

Title:
  [OVN] "test_agent_show" failing, agent not found

Status in neutron:
  Fix Released

Bug description:
  Related to https://bugs.launchpad.net/neutron/+bug/1897921

  This bug is very similar to LP#1897921 but is slightly different;
  that's why I've opened a second bug. In this case, the error is
  happening when the OVN driver tries to retrieve the agent [1]. The
  agent is not found using the OVN plugin neither the ML2 plugin [2].

  Snippet: http://paste.openstack.org/show/798827/

  
  [1]https://github.com/openstack/neutron/blob/9b02bc8543573fdcc9e6815163032130a5adaa66/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py#L1140-L1151
  [2]https://40f71fdb4a17c8b8e33a-40a7733116b3138073a0fe5a58665a17.ssl.cf5.rackcdn.com/729591/21/check/neutron-functional-with-uwsgi/aace04f/testr_results.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1899004/+subscriptions


References