[NETVIRT-794] DualStack: VXLAN tunnels are not created dynamically Created: 18/Jul/17 Updated: 19/Oct/17 Resolved: 28/Jul/17 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | General |
| Affects Version/s: | Carbon |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Valentina Krasnobaeva | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 8865 |
| Description |
|
if we apply following patch [0] to Carbon HEAD [1], VXLAN tunnels will not be created dynamically between controller and compute nodes, when DualStack VM will be launched steps to reproduce: 0. cherry-pick the patch [0] and apply it to Carbon HEAD [1], compile a build 1. launch compiled build with following options in etc/custom.properties: ovsdb.of.version=1.3 install DevStack stable/newton 2. create following neutron network infrastructure: 2.1 neutron net-create A 2.2 neutron subnet-create --name SUB1 A 10.0.0.0/24 2.3 neutron subnet-create --name SUB2 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --allocation-pool start=2001:db8:0:2::2,end=2001:db8:0:2:ffff:ffff:ffff:fffe A 2001:db8:0:2::/64 2.4 neutron router-create RT 2.5
-------------------------------------
------------------------------------- 2.6 # neutron router-interface-add RT 44fd58bd-97d6-4c5f-8a6d-7c012e326155 2.7 # neutron router-interface-add RT 75e6f5b8-9cf7-411e-a440-fdfedd995779 2.8 # neutron security-group-create X 2.9 openstack security group rule create X --ingress --dst-port 1:65535 --protocol tcp openstack security group rule create X --ingress --ethertype IPv6 --dst-port 1:65535 --protocol tcp 2.10 neutron port-create --name PORT1 --security-group X A
2.11 openstack server create --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --nic port-id=ea93a757-84af-4b0a-a43c-01d1f9b5e85f --security-group X VM1 2.12 ovs-vsct show
3. reboot karaf 4. # ovs-vsctl show - finally we see, that after ODL reboot tunnel was created Port br-int 5. check access to VM:
root@controller-deray:/opt/stack/devstack# root@controller-deray:/opt/stack/devstack# ip netns exec qdhcp-23355db4-9e76-426d-a3cd-260643a845c6 ping 10.0.0.5 See ODL log from step 0 in the attachement [0] https://git.opendaylight.org/gerrit/#/c/60246/4 [1] commit 37b25203fae4e68f0235583c1c6f63294ce3d981 (gerrit/stable/carbon) Spec to support dualstack VMs in L3VPN This specification brings the ability for a BGPVPN configured VPN to Change-Id: Ia76e88a8eff6135d58b52ec69e610952cf8a3621 |
| Comments |
| Comment by Valentina Krasnobaeva [ 18/Jul/17 ] |
|
Attachment karaf.log has been added with description: ODL.log |
| Comment by Valentina Krasnobaeva [ 26/Jul/17 ] |
|
this patch fixes the problem: |
| Comment by Valentina Krasnobaeva [ 28/Jul/17 ] |
|
became no reproducable after applying following patch [0] to Nitrogen HEAD [1] [0] https://git.opendaylight.org/gerrit/#/c/60246/31 [1] commit 35879d24821135b1cfee6b79508a4a98186b96c5 (origin/master, origin/HEAD, gerrit/master, master) This commit fixes NPE observed in processInterfaceUpdate(). Change-Id: I895af6b8c59a85400b714c007dab5b03630d93cf |