[NETVIRT-1358] Default SNAT flow added with vpnid -1 Created: 04/Jul/18  Updated: 04/Oct/18  Resolved: 04/Oct/18

Status: Resolved
Project: netvirt
Component/s: natservice
Affects Version/s: Oxygen-SR3, Fluorine
Fix Version/s: Oxygen-SR3, Fluorine

Type: Bug Priority: Medium
Reporter: Vishal Thapar Assignee: Vishal Thapar
Resolution: Done Votes: 0
Labels: netvirt
Remaining Estimate: 1 day
Time Spent: Not Specified
Original Estimate: 1 day


 Description   

When testing fix for NETVIRT-1249 we uncovered another race condition where routerId was -1 for default snat flow.

Table:21, Host:127745018911474, DpnId:127745018911474/0x742ef4795af2, FlowId:DefaultFibRouteForSNATSNAT.127745018911474.21.​​-1,VpnId:8388607/0xfffffe,Reason:VpnInstance for VpnId not found
('Flow: ', '{"barrier": false, "flow-name": "DefaultFibRouteForSNATSNAT.127745018911474.21.-1", "idle-timeout": 0, "installHw": true, "priority": 10, "strict": false, "table_id": 21, "id": "DefaultFibRouteForSNATSNAT.127745018911474.21.-1", "cookie": "0x8000006", "hard-timeout": 0, "match": {"ethernet-match": {"ethernet-type": {"type": 2048}}, "metadata": {"metadata-mask": "0xfffffe", "metadata": "0xfffffe"}}, "instructions": {"instruction": [{"go-to-table":

{"table_id": 26}

, "order": 0}]}}')

This leads to failure in some of the tempest FIP test cases.


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