[NETVIRT-526] Origin of static routes changed to 'local' on VM migration Created: 13/Mar/17  Updated: 19/Oct/17  Resolved: 03/Apr/17

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Boron
Fix Version/s: None

Type: Bug
Reporter: Miguel Perez Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7966

 Description   

When a VM is migrated to a different compute and there are static routes pointing to that VM, the origin of that routes is wrongly changed to 'local'.

Before migration:
RD Prefix NextHop Label Origin
-------------------------------------------------------------------
0e28a1e2... 20.0.0.2/32 192.168.2.4 70009 l
0e28a1e2... 9.9.9.9/32 192.168.2.4 70013 s
0e28a1e2... 20.0.0.1/32 70005 l
4a8f2234... 40.0.0.2/32 192.168.2.3 70010 l
4a8f2234... 30.0.0.2/32 192.168.2.3 70011 l
4a8f2234... 30.0.0.1/32 70004 l
4a8f2234... 40.0.0.1/32 70007 l
3fbf4cf5... 10.0.0.2/32 192.168.2.4 70008 l
3fbf4cf5... 10.0.0.1/32 70006 l
3fbf4cf5... 5.0.0.0/8 192.168.2.4 70012 s

After migration:
RD Prefix NextHop Label Origin
-------------------------------------------------------------------
0e28a1e2... 9.9.9.9/32 192.168.2.3 70017 l
0e28a1e2... 20.0.0.2/32 192.168.2.3 70016 l
0e28a1e2... 20.0.0.1/32 70005 l
4a8f2234... 40.0.0.2/32 192.168.2.3 70010 l
4a8f2234... 30.0.0.2/32 192.168.2.3 70011 l
4a8f2234... 30.0.0.1/32 70004 l
4a8f2234... 40.0.0.1/32 70007 l
3fbf4cf5... 10.0.0.2/32 192.168.2.3 70014 l
3fbf4cf5... 10.0.0.1/32 70006 l
3fbf4cf5... 5.0.0.0/8 192.168.2.3 70015 l



 Comments   
Comment by Vivekanandan Narasimhan [ 03/Apr/17 ]

This has been addressed via review:

https://git.opendaylight.org/gerrit/53080 (MASTER)

https://git.opendaylight.org/gerrit/#/c/53315/ (BORON)

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