L3 agent driver singletons pointing at old agent during testing

Bug #1404662 reported by Assaf Muller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Assaf Muller

Bug Description

L3 agent drivers are singletons. They're created once, and hold self.l3_agent. During testing, the agent is tossed away and re-built, but the drivers singletons are pointing at the old agent, and its old configuration. Single each agent has its own state_path (And dependent metadata_proxy_socket and such), the drivers are looking at old, non-relevant configuration.

Assaf Muller (amuller)
Changed in neutron:
assignee: nobody → Assaf Muller (amuller)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/143300

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/143300
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1e562decdc03295dec4cb37d26162e5d9aa31079
Submitter: Jenkins
Branch: master

commit 1e562decdc03295dec4cb37d26162e5d9aa31079
Author: Assaf Muller <email address hidden>
Date: Sun Dec 21 16:15:12 2014 +0200

    Update L3 agent drivers singletons to look at new agent

    L3 agent drivers are singletons. They're created once, and hold
    self.l3_agent. During testing, the agent is tossed away and
    re-built, but the drivers singletons are pointing at the old
    agent, and its old configuration.

    Change-Id: Ie8a15318e71ea47cccad3b788751d914d51cbf18
    Closes-Bug: #1404662

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-2 → 2015.1.0
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.