← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1799328] Re: Should not store segmenthostmapping table when segment service plugin disabled

 

Reviewed:  https://review.openstack.org/612624
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=06ba6a1aceb8dd2c6df3b243bddb15ef8a8af27d
Submitter: Zuul
Branch:    master

commit 06ba6a1aceb8dd2c6df3b243bddb15ef8a8af27d
Author: ZhaoBo <zhaobo6@xxxxxxxxxx>
Date:   Tue Oct 23 15:18:11 2018 +0800

    Only store segmenthostmapping when enable segment plugin
    
    This patch adds a check to determine if the 'segments' service plugin is
    enabled. The segment-host mapping db table should only be saved and
    updated to the db table if the users configure the 'segments' service
    plugin in the config file. The data should be available only in a routed
    network resource situation.
    
    Change-Id: I65a42aa2129bef696906a18d82575461dc02ba21
    Closes-Bug: #1799328


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

Title:
  Should not store segmenthostmapping table when segment service plugin
  disabled

Status in neutron:
  Fix Released

Bug description:
  Version
  =========
  Openstack neutron Ocata

  Issue Description
  =========
  Currently, the default behavior of Neutron will store the segment in compute nodes level, so the port binding process can know exactly which network plane it can reach on some specific compute nodes. But for some SDN controllers, which integrated as a mechanism driver of ml2 core plugin, they may don't use the segmenthostmapping info, as they manage their own mapping, so they don't use that info, and it may raise some other issues, such as performance issue in a large
  scaled deployment.

  Proposal
  =========
  If the env doesn't enable the segments service plugin, neutron server won't inject any record into segmenthostmapping table. Only we enable the segments service plugin, and we want to create routed networks, then store the necessary info into the db table.

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


References