After integrating OpenStack with ODL, vms ping fails after live migration

asked 2016-09-15 05:33:49 -0800

Praveenn gravatar image

updated 2016-09-16 02:48:39 -0800

Hi All, I have OpenStack mitaka packstack multinode setup (2 CentOS7 VMS: 1AIO & 1 Compute node). Everything is just good enough. Live migrated an instance(which is pinging to another instance) from aio host to compute host. I observed ping was not interrupted but with few packet loss.

Then i integrated my Openstack with ODL Berylium(running on separate Ubuntu VM). Everything looks good.Launched VMs on aio & compute hosts. ping works between vms and also vms can reach to 8.8.8.8. Then i live migrated an instance. After migration, that instance is not reachable. It cannot ping to other instance nor the external network. Please help to fix this. Any kind of inputs will be of great help..!!

Below is neutron server log: f493b6d1bb2c a48648d109314ff2ab7f493a12e28a5c 53e43d5634a44402b342d3d9304ae2e7 - - -] Interface type not found in network topology node u'c0cb3a59-9bc6-47d4-a00d-8f9b44009bb4'. updateelementfromjsonovsdbtopologynode /usr/lib/python2.7/site-packages/networkingodl/ml2/ovsdbtopology.py:90 2016-09-15 17:06:39.693 26608 DEBUG networkingodl.ml2.ovsdbtopology [req-50016c03-bd70-4d76-b58a-f493b6d1bb2c a48648d109314ff2ab7f493a12e28a5c 53e43d5634a44402b342d3d9304ae2e7 - - -] Topology element updated: - uuid: u'c0cb3a59-9bc6-47d4-a00d-8f9b44009bb4' - remoteip: u'192.168.192.50' - supportvhostuser: False updateelementfromjsonovsdbtopologynode /usr/lib/python2.7/site-packages/networkingodl/ml2/ovsdbtopology.py:99 2016-09-15 17:06:39.694 26608 DEBUG networkingodl.ml2.ovsdbtopology [req-50016c03-bd70-4d76-b58a-f493b6d1bb2c a48648d109314ff2ab7f493a12e28a5c 53e43d5634a44402b342d3d9304ae2e7 - - -] Interface type not found in network topology node u'dba78fb5-0f27-45ac-941c-b3ea11381ed2'. _updateelementfromjsonovsdbtopologynode /usr/lib/python2.7/site-packages/networkingodl/ml2/ovsdbtopology.py:90 2016-09-15 17:06:39.694 26608 DEBUG networkingodl.ml2.ovsdbtopology [req-50016c03-bd70-4d76-b58a-f493b6d1bb2c a48648d109314ff2ab7f493a12e28a5c 53e43d5634a44402b342d3d9304ae2e7 - - -] Topology element updated: - uuid: u'dba78fb5-0f27-45ac-941c-b3ea11381ed2' - remoteip: u'192.168.192.60' - supportvhostuser: False updateelementfromjsonovsdbtopologynode /usr/lib/python2.7/site-packages/networkingodl/ml2/ovsdbtopology.py:99 2016-09-15 17:06:39.694 26608 WARNING networkingodl.common.cache [req-50016c03-bd70-4d76-b58a-f493b6d1bb2c a48648d109314ff2ab7f493a12e28a5c 53e43d5634a44402b342d3d9304ae2e7 - - -] Error fetching values for keys: "u'openstack-aio', '172.27.3.190'" 2016-09-15 17:06:39.694 26608 ERROR networkingodl.common.cache Traceback (most recent call last): 2016-09-15 17:06:39.694 26608 ERROR networkingodl.common.cache File "/usr/lib/python2.7/site-packages/networkingodl/common/cache.py", line 117, in fetchall 2016-09-15 17:06:39.694 26608 ERROR networkingodl.common.cache for key, value in self.fetchall(newentrykeys): 2016-09-15 17:06:39.694 26608 ERROR networkingodl.common.cache File "/usr/lib/python2.7/site-packages/networkingodl/ml2/networktopology.py", line 228, in fetchandparsenetworktopology 2016-09-15 17:06:39.694 26608 ERROR networkingodl.common.cache ', '.join(addresses))) 2016-09-15 17:06:39.694 26608 ERROR networkingodl.common.cache ValueError: No such topology element for given host addresses: openstack-aio, 172.27.3.190 2016-09-15 17:06:39.694 26608 ERROR networkingodl.common.cache 2016-09-15 17:06:39.695 26608 ERROR networkingodl.ml2.networktopology [req-50016c03-bd70-4d76-b58a-f493b6d1bb2c a48648d109314ff2ab7f493a12e28a5c 53e43d5634a44402b342d3d9304ae2e7 - - -] No such network topology elements for given host u'openstack-aio' and given ... (more)

edit retag flag offensive close merge delete

Comments

Did you find anything?

90.suman ( 2016-09-19 21:12:03 -0800 )edit

No Suman, not yet !!

Praveenn ( 2016-09-20 00:59:47 -0800 )edit

I have seen that the l2 switch does not support host mobility, it might be the same issue.

danielZt ( 2016-09-20 07:37:24 -0800 )edit

Thanks danielZt. Is there any workaround or permanent fix either from ODL side or neutron side ? Any clue !!

Praveenn ( 2016-09-20 08:04:31 -0800 )edit

I haven't tried odl + openstack...but can you please check if you are using the l2switch app in odl. anyway the problem I found in the l2switch is that it installs flows (srcMac,dstMac -> port) and they are not removed/updated when a host migrates.

danielZt ( 2016-09-20 08:48:46 -0800 )edit