[Bug 1411163] Re: No fdb entries added when failover dhcp and l3 agent together
Xiang Hui
hui.xiang at canonical.com
Fri Dec 9 09:05:47 UTC 2016
Reviewing this SRU its not clear why the devel task for neutron is Invalid.
The devel task for neutron already have it, since it has been fixed in neutron7.0.0 liberty, afterwards version e.g Mitaka Newton are all have already had it in the neutron upstream code.
Has this been fixed in Zesty? If so in what release did the fix land?
Yes, same as above, Newton in Zesty have already had it in the neutron code.
Additionally, a "Regression Potential" of None is frowned upon. Is there really no regression potential. If so please explain how this is possible.
I am just backporting the higher version fix from liberty to icehouse, and any new release are already having it, with such a simple fix, I really can't think out the Regression Potential.
** Changed in: neutron (Ubuntu Trusty)
Status: Incomplete => Fix Committed
** Changed in: neutron (Ubuntu Trusty)
Assignee: (unassigned) => Xiang Hui (xianghui)
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1411163
Title:
No fdb entries added when failover dhcp and l3 agent together
Status in neutron:
Fix Released
Status in neutron kilo series:
Fix Released
Status in neutron package in Ubuntu:
Invalid
Status in neutron source package in Trusty:
Fix Committed
Bug description:
[Env]
OpenStack: icehouse
OS: ubuntu
enable l2 population
enable gre tunnel
[Description]
If the dhcp and l3 agent on the same host, then after this host is down, then there will be a probability that scheduled to other same host, then sometimes the ovs tunnel can't be created on the new scheduled host.
[Root cause]
After debugging, we found below log:
2015-01-14 13:44:18.284 9815 INFO neutron.plugins.ml2.drivers.l2pop.db [req-e36fe1fe-a08c-43c9-9d9c-75fe714d6f91 None] query:[<neutron.db.model
s_v2.Port[object at 7f8d706a3650] {tenant_id=u'ae27091dccf148249349d6396e10f230', id=u'2061f5e4-c4a0-42ae-b611-4fe6c2c5cfbd', name=u'', network
_id=u'12ee7040-119a-47bf-a968-67509ebb8eda', mac_address=u'fa:16:3e:b6:20:8e', admin_state_up=True, status=u'ACTIVE', device_id=u'dhcp28f6fc30-
af6e-5f44-ae85-dcc1cc074ee5-12ee7040-119a-47bf-a968-67509ebb8eda', device_owner=u'network:dhcp'}>, <neutron.db.models_v2.Port[object at 7f8d706
a37d0] {tenant_id=u'ae27091dccf148249349d6396e10f230', id=u'6e99eae8-5c6a-4b8e-b9e1-dbd8d133dfa1', name=u'', network_id=u'12ee7040-119a-47bf-a9
68-67509ebb8eda', mac_address=u'fa:16:3e:22:56:ba', admin_state_up=True, status=u'ACTIVE', device_id=u'e63a0802-d86d-4a30-95fa-0005a6aef6fb', d
evice_owner=u'network:router_interface'}>]
Above shows there will be a probability that two ACTIVE ports shows up in db together, but from l2 pop mech_driver:
"
if agent_active_ports == 1 or (
self.get_agent_uptime(agent) < cfg.CONF.l2pop.agent_boot_time):
"
only in above condition the fdb entry will be added and notified to agent, so failures are pop up.
---------------------------
[Impact]
This patch addresses an issue on neutron(1:2014.1.5-0ubuntu6) where no
tunnel is created between network node and compute node during
failover testing and which causing vms unreachable.
[Test Case]
Deploy an OpenStack cloud w/ trusty-icehouse with neutron HA, doing failover tests on network nodes, there will be a high certain rate that this issue happened.
[Regression Potential]
None.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1411163/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list