[GENIUS-233] the vxlan tunnel disappear after deleting the vms on the compute node Created: 29/Oct/18 Updated: 30/Nov/18 Resolved: 30/Nov/18 |
|
| Status: | Resolved |
| Project: | genius |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Qiuzheng Ren | Assignee: | Faseela K |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The netvirt configure file is : {odl_dir}/etc/opendaylight/datastore/initial/config/genius-itm-config.xml :<def-tz-enabled>false</def-tz-enabled> <gpe-extension-enabled>true</gpe-extension-enabled> {odl_dir} /etc/opendaylight/datastore/initial/config/netvirt-elanmanager-config.xml : <auto-config-transport-zones>true</auto-config-transport-zones> <use-of-tunnels>true</use-of-tunnels> 1、So the vxlan tunnels are created after the vm is booted first on the compute node. like this: [root@computer1-r ~]# ovs-vsctl show c40586c2-afe7-4be9-87e0-3405fbcc2ae4 Manager "tcp:192.168.100.13:6640" is_connected: true Bridge br-int Controller "tcp:192.168.100.13:6653" is_connected: true fail_mode: secure Port "tun1593f6a7311" Interface "tun1593f6a7311" type: vxlan options: {exts=gpe, key=flow, local_ip="192.168.100.31", remote_ip=flow} Port "tap6087d304-05" Interface "tap6087d304-05" Port br-int Interface br-int type: internal ovs_version: "2.9.0"
2、Then I delete the vm on the compute ,I found the vxlan tunnel is deleted. like : [root@computer1-r ~]# ovs-vsctl show c40586c2-afe7-4be9-87e0-3405fbcc2ae4 Manager "tcp:192.168.100.13:6640" is_connected: true Bridge br-int Controller "tcp:192.168.100.13:6653" is_connected: true fail_mode: secure Port br-int Interface br-int type: internal ovs_version: "2.9.0" The log follow the link: https://www.hastebin.com/amikohutox.rb
3、Last I created a new vm on the compute node ,I found the vm was created successfully but the vxlan tunnels was not created: c40586c2-afe7-4be9-87e0-3405fbcc2ae4 Manager "tcp:192.168.100.13:6640" is_connected: true Bridge br-int Controller "tcp:192.168.100.13:6653" is_connected: true fail_mode: secure Port "tap2a22261c-d4" Interface "tap2a22261c-d4" Port br-int Interface br-int type: internal ovs_version: "2.9.0"
The log follow the link: https://www.hastebin.com/melevikiha.rb
4、I restart the odl ,and the tunnel was recreated again.
|