Floating IP and service chaining do not work together

Bug #1380750 reported by Nischal Sheth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Kumar Harsh

Bug Description

If a VN from which a floating-ip pool is created also has one or more
service chains starting/terminating on it, the floating IP functionality
may not work correctly.

The problem is that the VN will have more than 1 RI and agent code
does not have sufficient information to pick the default RI/VRF for
route lookup when using the FIP. Forwarding will not work correctly
if it happens to pick one of the service RIs.

Proposal is to implement the following:

- Add property to RI in schema to indicate if it's default RI for VN
- Default value of this new property is False
- Schema transformer sets property to True for default RI
- Agent uses property to find default RI/VRF for FIP processing
- Agent ignores a FIP if there's no default RI associated with VN

Tags: config vrouter
Nischal Sheth (nsheth)
description: updated
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/4737
Committed: http://github.org/Juniper/contrail-controller/commit/82ec61525ba153b1fb4dd527fde7db5e41ac8785
Submitter: Zuul
Branch: master

commit 82ec61525ba153b1fb4dd527fde7db5e41ac8785
Author: Sachin Bansal <email address hidden>
Date: Tue Nov 18 16:51:52 2014 -0800

Add a new property to routing instance to indicate that it is a default routing instance for the network

Change-Id: I7f36587045c0ad0257a8f3e63cef3fa28775c82d
Partial-Bug: 1380750

Revision history for this message
Sachin Bansal (sbansal) wrote :

Added a new property to routing instance to indicate that it is default RI or not. Assigning to Hari for agent implementation.

Changed in juniperopenstack:
assignee: Sachin Bansal (sbansal) → Hari Prasad Killi (haripk)
Nischal Sheth (nsheth)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12772
Submitter: Kumar Harsh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/13213
Submitter: Kumar Harsh (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/13213
Committed: http://github.org/Juniper/contrail-controller/commit/5b1e9ca3a3d812424c0e82c36eed20eaa964643a
Submitter: Zuul
Branch: master

commit 5b1e9ca3a3d812424c0e82c36eed20eaa964643a
Author: harsh <email address hidden>
Date: Thu Aug 20 14:57:51 2015 +0530

Use default ri/vrf for fip processing by looking at is_default property of ri.
Add UT for same .

Change-Id: I443916b9c3ff31d21b818d1ec1c8686b4f3736ae
Closes-Bug: #1380750

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.