[NETVIRT-932] NeutronBgpvpnChangeListener update does not handle iRT/eRT updates Created: 29/Sep/17  Updated: 25/Nov/19  Resolved: 25/Nov/19

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Carbon
Fix Version/s: Magnesium

Type: Bug Priority: Low
Reporter: Thomas Sounapoglou Assignee: Abhinav Gupta
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File OVS flows_groups_tc4.txt    
External issue ID: 9227

 Description   

SDNVPN testcase4 fails (subtest where iRT=eRT)

https://wiki.opnfv.org/display/sdnvpn/SDNVPN+Testing#SDNVPNTesting-TestCase4-VPNprovidesconnectivitybetweensubnetsusingrouterassociation

It looks like iRT and eRT are not updated properly in vpn instance:

[heat-admin@overcloud-controller-0 ~]$ curl -s -u admin:admin -X GET http://192.0.2.7:8181/controller/nb/v2/neutron/bgpvpns/

{
   "bgpvpns" : [ {
      "id" : "05380409-329c-4ec2-b5b3-9fab3c378783",
      "tenant_id" : "6ebeaac8760249988ed66bc875b7c58e",
      "project_id" : "6ebeaac8760249988ed66bc875b7c58e",
      "name" : "sdnvpn-389776",
      "admin_state_up" : true,
      "status" : "ACTIVE",
      "type" : "l3",
      "route_targets" : [ ],
      "import_targets" : [ "88:88" ],
      "export_targets" : [ "88:88" ],
      "route_distinguishers" : [ "12:12" ],
      "auto_aggregate" : false,
      "networks" : [ "72ab30dd-3841-4ac6-9c62-67996346744b" ],
      "routers" : [ "511f8c12-14be-45d5-9ad3-86419b511f12" ]
   } ]


heat-admin@overcloud-controller-0 ~]$ curl -s -u admin:admin -X GET http://192.0.2.7:8181/restconf/config/l3vpn:vpn-instances/

{"vpn-instances":{"vpn-instance":[{"vpn-instance-name":"9fba3f66-463f-461f-9ccd-82656fb14af6","ipv4-family":{"vpnTargets":{}},"type":"l3","l3vni":0},{"vpn-instance-name":"511f8c12-14be-45d5-9ad3-86419b511f12","ipv4-family":{"vpnTargets":{}},"type":"l3","l3vni":0},{"vpn-instance-name":"05380409-329c-4ec2-b5b3-9fab3c378783","ipv4-family":{"route-distinguisher":["12:12"],"vpnTargets":{"vpnTarget":[{"vrfRTValue":"55:55","vrfRTType":"export_extcommunity"},{"vrfRTValue":"88:88","vrfRTType":"import_extcommunity"}]}},"type":"l3","l3vni":0},{"vpn-instance-name":"4bafa485-2b8c-4c0d-829d-411f375f406d","ipv4-family":{"vpnTargets":{}},"type":"l3","l3vni":0}]}}

OVS flows/groups: https://pastebin.com/geXs2R7v



 Comments   
Comment by Thomas Sounapoglou [ 29/Sep/17 ]

Attachment OVS flows_groups_tc4.txt has been added with description: OVS flows/groups

Comment by Thomas Sounapoglou [ 16/Nov/17 ]

Even when bgpvpn is created with iRT=eRT (not by update) with both router and network association, I don't see ping works from router associated VM to network associated VM. I could see bgpvpn, vpninstance and vpninterface config datastore are properly and fib flows are not proper in the compute.

Here are the relevant logs:
https://paste.ubuntu.com/25974272/

Generated at Wed Feb 07 20:22:50 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.