[NETVIRT-1406] Few datastores and dump-groups not removed. Created: 22/Aug/18 Updated: 27/Nov/19 Resolved: 27/Nov/19 |
|
| Status: | Resolved |
| Project: | netvirt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Magnesium |
| Type: | Bug | Priority: | High |
| Reporter: | RajaRajan Manickam | Assignee: | nithi thomas |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Priority: | Normal |
| Description |
|
Commands Used: neutron net-create mynet1 neutron subnet-create mynet1 10.1.1.0/24 --name net1-snet1 neutron port-create mynet1 --name myport11 --security-group=SG-default neutron port-create mynet1 --name myport12 --security-group=SG-default neutron port-create mynet1 --name myport13 --security-group=SG-default nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport11' | awk '{print $2}') myhost11 --availability-zone nova:cmp001 nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport12' | awk '{print $2}') myhost12 --availability-zone nova:cmp002 nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport13' | awk '{print $2}') myhost13 --availability-zone nova:cmp003 neutron subnet-create mynet1 2001:db8:1234::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name net1-snet2 neutron router-create R1 neutron router-interface-add R1 net1-snet2 neutron port-create mynet1 --name myport14 --security-group=SG-default neutron port-create mynet1 --name myport15 --security-group=SG-default neutron port-create mynet1 --name myport16 --security-group=SG-default nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport14' | awk '{print $2}') myhost14 --availability-zone nova:cmp001 nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport15' | awk '{print $2}') myhost15 --availability-zone nova:cmp002 nova boot --image ubuntu --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport16' | awk '{print $2}') myhost16 --availability-zone nova:cmp003 neutron bgpvpn-create --export-targets 100:1 --import-targets 100:1 --route-distinguishers 100:1 --name vpn1 --type l3 neutron bgpvpn-router-assoc-create --router R1 vpn1 neutron bgpvpn-router-assoc-delete --router R1 vpn1 neutron bgpvpn-router-assoc-delete --help neutron bgpvpn-router-assoc-delete 4dcc0ef5-cbae-431a-ac0f-04d0b5e101b6 vpn1 neutron bgpvpn-router-assoc-create --router R1 vpn1 neutron bgpvpn-delete vpn1 neutron bgpvpn-create --export-targets 100:1 --import-targets 100:1 --route-distinguishers 100:1 --name vpn1 --type l3 neutron bgpvpn-router-assoc-create --router R1 vpn1 neutron router-interface-delete R1 net1-snet2 neutron router-interface-add R1 net1-snet2 neutron bgpvpn-delete vpn1 neutron router-interface-delete R1 net1-snet2 neutron router-delete R1
root@cmp001:~# ovs-ofctl -OOpenflow13 dump-groups br-int OFPST_GROUP_DESC reply (OF1.3) (xid=0x2): group_id=6000,type=all,bucket=actions=resubmit(,81) group_id=155011,type=select,bucket=actions=group:155020 group_id=155029,type=select,bucket=actions=group:155028 group_id=155032,type=select,bucket=actions=group:155031 root@cmp001:~# COMMAND: curl --silent -u -X GET http://sdn01:8181/restconf/config/neutronvpn:neutron-vpn-portip-port-data/ |python -m json.tool { "neutron-vpn-portip-port-data": { "vpn-portip-to-port": [ { "mac-address": "fa:16:3e:cd:6f:52", "port-fixedip": "10.1.1.2", "port-name": "08fb6fa4-3b2b-427d-b6fa-0b02cfe4b51b", "subnet-ip": false, "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a" } , { "mac-address": "fa:16:3e:fe:05:97", "port-fixedip": "10.1.1.11", "port-name": "97a7b880-14b8-4c77-bc76-7839c0482e19", "subnet-ip": false, "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a" } , { "mac-address": "fa:16:3e:d7:c1:3a", "port-fixedip": "10.1.1.8", "port-name": "e4816746-63fa-4935-9d35-5809843ad9b3", "subnet-ip": false, "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a" } , { "mac-address": "fa:16:3e:c9:0e:75", "port-fixedip": "10.1.1.9", "port-name": "62232bf7-7f05-4938-90c7-01ac822389d9", "subnet-ip": false, "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a" } , { "mac-address": "fa:16:3e:6d:6a:3f", "port-fixedip": "10.1.1.16", "port-name": "1e57672d-7e7b-457a-b8e7-0c7363973145", "subnet-ip": false, "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a" } , { "mac-address": "fa:16:3e:56:35:b2", "port-fixedip": "10.1.1.15", "port-name": "bbe5bb3a-ea45-4f5d-b555-1ac1663c4115", "subnet-ip": false, "vpn-name": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a" } ] } }
------------------------------------------------------------ COMMAND: curl --silent -u -X GET http://sdn01:8181/restconf/operational/odl-l3vpn:neutron-router-dpns/ |python -m json.tool { "neutron-router-dpns": { "router-dpn-list": [ { "router-id": "edf443f5-d51d-4fca-84dd-c0572543bd62" } , { "dpn-vpninterfaces-list": [ { "dpn-id": 41800240382529 } ], "router-id": "9342cb5a-c50a-459c-b1f3-c0194ae8c00a" } ] } } |
| Comments |
| Comment by nithi thomas [ 27/Aug/18 ] |
|
neutron-vpn-portip-port-data d.s stale issue is fixed and the fix is in review. https://git.opendaylight.org/gerrit/#/c/75402/
|
| Comment by Chetan Arakere Gowdru [ 02/Sep/18 ] |
|
Review to address stale neutron-router-dpns DS in progress. https://git.opendaylight.org/gerrit/#/c/75402/
|
| Comment by RajaRajan Manickam [ 28/Sep/18 ] |
|
------------------------------------------------------------ , , , , , , , , , , , , , { "mac-address": "fa:16:3e:09:34:47", "port-fixedip": "2001:db8:2222:0:f816:3eff:fe09:3447", "port-name": "217a13ff-da55-4e3e-8aae-12dca37e0994", "subnet-ip": false, "vpn-name": "c490dd68-156d-4209-bc2a-22bbfd86ac6b" } ] --------------------- ------------------------------------------------------------ , , { "router-id": "274903fc-30d9-4c67-9763-8551fb98584d" } ]
|
| Comment by RajaRajan Manickam [ 28/Sep/18 ] |
|
Please find the Commands Used. neutron net-create mynet1 neutron subnet-create mynet1 10.1.1.0/24 --name net1-snet1 neutron subnet-create mynet1 2001:db8:1111::/64 --ip-version 6 --ipv6-ra-mode slaac --ipv6-address-mode slaac --name net1-snet2 neutron port-create mynet1 --name myport11 --security-group=raja neutron port-create mynet1 --name myport12 --security-group=raja neutron port-create mynet1 --name myport13 --security-group=raja nova boot --image raja --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport11' | awk '{print $2}') myhost11 --availability-zone nova:cmp001 nova boot --image raja --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport12' | awk '{print $2}') myhost12 --availability-zone nova:cmp002 nova boot --image raja --flavor myhuge --nic port-id=$(neutron port-list | grep 'myport13' | awk '{print $2}') myhost13 --availability-zone nova:cmp003 openstack router create R1 openstack router add subnet R1 net1-snet1 openstack router add subnet R1 net1-snet2 openstack router add subnet R1 net2-snet1 openstack router add subnet R1 net2-snet2 --> Validate data path --> Remove all subnets from router --> Delete all the configurations. |
| Comment by Abhinav Gupta [ 27/Nov/19 ] |
|
fixed in Magnesium |