← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1592463] Re: Avoid removing SegmentHostMapping in other host when update agent

 

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

commit b20188d2652e4907dcfc173f4d5d1a8d557227e1
Author: Hong Hui Xiao <xiaohhui@xxxxxxxxxx>
Date:   Tue Jun 14 15:35:40 2016 +0000

    Only update SegmentHostMapping for the given host
    
    Now, when an agent removes a physical network from its configuration,
    not only the segments with that physical network will be unbinded
    from the host of upated agent. All the segments with that physical
    network will be unbinded from all hosts. This is incorrect, the
    segments should only be unbinded from the host of updated agent.
    
    Change-Id: Iccca843d1682ac54ec87c3b003a33a0fc5c62205
    Closes-bug: #1592463


** 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/1592463

Title:
  Avoid removing SegmentHostMapping in other host when update agent

Status in neutron:
  Fix Released

Bug description:
  Found this when working on OVN, but it should also apply to topology
  with l2 agent.

  Steps to reproduce:
  1) Have segment1 with physical network physical_net1
  Have segment2 with physical network physical_net2

  2) Have 2 agents(host1, host2), both configured with physical_net1.
  When the agent created/updated in neutron, there will be a
  SegmentHostMapping for segment1->host1, and a SegmentHostMapping for
  segment1->host2.

  3) Update agent at host2 to only configure with physical_net2. There will be only one SegmentHostMapping for host2, segment2->host2.
  But the SegmentHostMapping for segment1->host1 will also be deleted. This is not expected.

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


References