← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Hong Hui Xiao (xiaohhui)
         Status: In Progress

-- 
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:
  In Progress

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


Follow ups