VxLan tunnels IPs are not updated
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Denis Puchkin |
Bug Description
This is MOS7.0+MU3
Steps to reproduce:
1)Deploy environment with tunnel segmentation
2)Make sure you have few computes
3)Delete compute from environment
4)Add the same computes(with the same name) to environment
5)Try to boot VM
Actual result - VM boot failed, in neutron logs there are messages, like:
<163>Jun 3 14:07:06 controller-1 neutron-server 2016-06-03 14:07:06.208 15217 ERROR oslo_messaging.
req-6de6e70a-
IP %(ip)s in use with host %(host)s', {'ip': u'10.200.240.11', 'host': u'uslv-
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
aging/rpc/
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
aging/rpc/
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
aging/rpc/
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
lugins/
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
el IP %(ip)s in use with host %(host)s', {'ip': u'10.200.240.11', 'host': u'uslv-
2016-06-03 14:07:06.208 15217 TRACE oslo_messaging.
<163>Jun 3 14:07:06 controller-1 neutron-server 2016-06-03 14:07:06.209 15217 ERROR oslo_messaging.
[req-6de6e70a-
use with host %(host)s', {'ip': u'10.200.240.11', 'host': u'uslv-
<163>Jun 3 14:07:06 controller-1 neutron-server 2016-06-03 14:07:06.209 15217 ERROR oslo_messaging.
[req-6de6e70a-
t-packages/
"/usr/lib/
n', ' File "/usr/lib/
lt = func(ctxt, **new_args)\n', ' File "/usr/lib/
", line 248, in tunnel_sync\n raise exc.InvalidInpu
ation: (u'Tunnel IP %(ip)s in use with host %(host)s', {'ip': u'10.200.240.11', 'host': u'uslv-
}).\n"]
If we grab the data from mysql:
use neutron;
select * from ml2_vxlan_
The stale data exists, with old IPs. Fuel serialize new IPs for computes, but they can't be updated.
We fix this by cleaning ml2_vxlan_endpoints table and restarting neutron-
root@controller
ii neutron-common 1:2015.
ii neutron-dhcp-agent 1:2015.
ii neutron-l3-agent 1:2015.
ii neutron-
ii neutron-plugin-ml2 1:2015.
ii neutron-
ii neutron-server 1:2015.
ii python-neutron 1:2015.
ii python-
ii python-
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → MOS Maintenance (mos-maintenance) |
milestone: | none → 7.0-updates |
Changed in mos: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → MOS Maintenance (mos-maintenance) |
milestone: | none → 7.0-updates |
no longer affects: | fuel |
Changed in mos: | |
assignee: | MOS Maintenance (mos-maintenance) → Denis Puchkin (dpuchkin) |
Changed in mos: | |
milestone: | 7.0-updates → 7.0-mu-6 |
Changed in mos: | |
status: | In Progress → Fix Committed |
tags: | added: on-verification |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
expected result
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug