2.2-B64:Static Routes configured/deleted on Service Instances do not change the VRF table.

Bug #1479283 reported by Sandeep Sridhar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
High
Rudra Rugge
Trunk
Fix Committed
High
Rudra Rugge

Bug Description

The FRS version Contrail 2.2 Build 64 seems to have issues in updating the static route entries in the VRF table.

Here is the setup :

10.209.107.20 (cfgm/contrail)
10.209.107.21 ( compute1 )
10.209.107.22 ( compute2 )

Credentials: root/contrail

Topology here :

<<left-1>>---------<<vsrx-in-network>>---------<<right-1>>

Dynamically, add a static route on one of the interfaces on the service instance firewall.

For e.g), I edit the service instance and add a static route on right vrf of the firewall - 200.200.200.0/24

Post saving, if you check the routes under service-instance-left or service-instance-right, there is no route present for the static route added.

This seems to be broken. Can you please check and provide a workaround. We have a PS working with a customer and is blocked due to this.

The only static route related I could find from launchpad was bug id 1466755 ( not sure whether this has anything to do with the problem being described ).

Greetings,
Sandeep.

Revision history for this message
Naveen N (naveenn) wrote :

Upon updating service instance static route list, interface route table
for the VMI is not updated with same data.

ServiceInstance snippet:
<interface-list>
   <virtual-network>default-domain:admin:left-network</virtual-network>
   <ip-address></ip-address>
   <static-routes>
    <route>
     <prefix>1.1.1.0/24</prefix>
     <next-hop></next-hop>
     <next-hop-type></next-hop-type>
    </route>
   </static-routes>
  </interface-list>

Interface route table corresponding to the same

<iq>
 <interface-route-table-routes />
 <id-perms>
  <permissions>
   <owner>admin</owner>
   <owner-access>7</owner-access>
   <group>KeystoneServiceAdmin</group>
   <group-access>7</group-access>
   <other-access>7</other-access>
  </permissions>
  <uuid>
   <uuid-mslong>2380226816671960413</uuid-mslong>
   <uuid-lslong>11771735788566025470</uuid-lslong>
  </uuid>
  <enable>true</enable>
  <created>2015-07-29T09:28:47</created>
  <last-modified>2015-07-29T09:28:48</last-modified>
  <description></description>
  <user-visible>true</user-visible>
  <creator></creator>
 </id-perms>
 <display-name>e353a74d-f78e-4bf8-8640-9c909b18e20e left</display-name>
</iq>

Looks like if SI is in active state, any config change on the static route doesn't seem to be updated in interface route table.

Changed in juniperopenstack:
importance: Undecided → High
tags: added: config service-chain
Changed in juniperopenstack:
assignee: nobody → Rudra Rugge (rudrarugge)
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/12735
Submitter: Rudra Rugge (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/12736
Submitter: Rudra Rugge (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/12736
Committed: http://github.org/Juniper/contrail-controller/commit/4c3fca5ad31d257d99390ddc1d5561215c3bd546
Submitter: Zuul
Branch: R2.20

commit 4c3fca5ad31d257d99390ddc1d5561215c3bd546
Author: Rudra Rugge <email address hidden>
Date: Wed Jul 29 14:15:42 2015 -0700

Update service on static route changes

Update service state so that any property changes are reflected.
This does not relaunch the service VMs but only updates the properties
that have changed (in this case interface static routes)

Change-Id: I1b49be6bc159dab962f002c1f134cf45dc41fe41
Closes-Bug: #1479283

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/12735
Submitter: Rudra Rugge (<email address hidden>)

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

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

commit c286a96d6ec73339427fdeb42e2b2b0338f41861
Author: Rudra Rugge <email address hidden>
Date: Wed Jul 29 14:15:42 2015 -0700

Update service on static route changes

Update service state so that any property changes are reflected.
This does not relaunch the service VMs but only updates the properties
that have changed (in this case interface static routes)

Change-Id: I1b49be6bc159dab962f002c1f134cf45dc41fe41
Closes-Bug: #1479283

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22-dev

Review in progress for https://review.opencontrail.org/13868
Submitter: Rudra Rugge (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13868
Committed: http://github.org/Juniper/contrail-controller/commit/ae118a3755bc41e3bf06c1d1d3e87b6120a80a42
Submitter: Zuul
Branch: R2.22-dev

commit ae118a3755bc41e3bf06c1d1d3e87b6120a80a42
Author: Rudra Rugge <email address hidden>
Date: Thu Jul 23 09:52:42 2015 -0700

Service instance spawn issue after upgrade

Service instance upgrade failed because of a config_db change to
store VM index correctly. VM index should be extracted from nova
vm name for all releases prior to 2.2.

Change-Id: I34fd02a643c8300d6992dc7fd20971449feb53ea
Closes-Bug: #1475820

Update service on static route changes

Update service state so that any property changes are reflected.
This does not relaunch the service VMs but only updates the properties
that have changed (in this case interface static routes)

Change-Id: I1b49be6bc159dab962f002c1f134cf45dc41fe41
Closes-Bug: #1479283

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22-dev

Review in progress for https://review.opencontrail.org/13927
Submitter: Vinay Vithal Mahuli (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20.x

Review in progress for https://review.opencontrail.org/14199
Submitter: Hampapur Ajay (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14199
Committed: http://github.org/Juniper/contrail-controller/commit/ea7b272d7f983042af3eb97e5c3f9e451bb08b0b
Submitter: Zuul
Branch: R2.20.x

commit ea7b272d7f983042af3eb97e5c3f9e451bb08b0b
Author: Rudra Rugge <email address hidden>
Date: Wed Jul 29 14:15:42 2015 -0700

Update service on static route changes

Update service state so that any property changes are reflected.
This does not relaunch the service VMs but only updates the properties
that have changed (in this case interface static routes)

Change-Id: I1b49be6bc159dab962f002c1f134cf45dc41fe41
Closes-Bug: #1479283
(cherry picked from commit 4c3fca5ad31d257d99390ddc1d5561215c3bd546)

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.