← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1510796] [NEW] Function sync_routers always call "get_dvr_sync_data" in ha but not dvr scenario

 

Public bug reported:

The configuration 
neutron.conf:
[DEFAULT]
....
l3_ha = True
service_plugins = router
....

l3_agent.ini:

[DEFAULT]
...
agent_mode = legacy
...

The current code call  the "get_dvr_sync_data" through the plugin support dvr or not ,  it's better to judge "agent mode" here:
https://github.com/openstack/neutron/blob/master/neutron/db/l3_hamode_db.py#L535-L536

Call "get_sync_data" method here can save more time.

** Affects: neutron
     Importance: Undecided
     Assignee: ZongKai LI (lzklibj)
         Status: New

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

Title:
  Function sync_routers always call "get_dvr_sync_data" in ha but not
  dvr scenario

Status in neutron:
  New

Bug description:
  The configuration 
  neutron.conf:
  [DEFAULT]
  ....
  l3_ha = True
  service_plugins = router
  ....

  l3_agent.ini:

  [DEFAULT]
  ...
  agent_mode = legacy
  ...

  The current code call  the "get_dvr_sync_data" through the plugin support dvr or not ,  it's better to judge "agent mode" here:
  https://github.com/openstack/neutron/blob/master/neutron/db/l3_hamode_db.py#L535-L536

  Call "get_sync_data" method here can save more time.

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


Follow ups