[K8s-R5.0]: ECMP route of a service not having more than 2 entries

Bug #1742065 reported by Pulkit Tandon
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Released
Critical
Naveen N

Bug Description

Kubernetes
R5.0 (Mainline)
Issue observed post CB build 85
Ocata
Ubuntu16.04

Setup:
HA setup with 3 Control nodes. 1 Kube master
2 compute nodes

Issue:
Created a deployment with 3 replicas.
Created a service which was having the 3 pods of deployment as end points.
Observed that 1 of the pod never responded.

On debugging, found that the route corresponding to the service was having only 2 entries.
3rd entry was missing from ECMP route.
Thus only 2 Pods were responding.
This is consistent issue and observed in Build 83 and 85 as well.

Changed in juniperopenstack:
assignee: Sachchidanand Vaidya (vaidyasd) → Yuvaraja Mariappan (ymariappan)
Revision history for this message
Yuvaraja Mariappan (ymariappan) wrote :

Instance ip has 3 routes in the config. Reassigning to naveen to take a look.

Thanks,
Yuvaraja

Changed in juniperopenstack:
assignee: Yuvaraja Mariappan (ymariappan) → Naveen N (naveenn)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/38852
Submitter: Naveen N (<email address hidden>)

Revision history for this message
Ato (amonge) wrote :

I tested the fix and it works fine.

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

Reviewed: https://review.opencontrail.org/38852
Committed: http://github.com/Juniper/contrail-controller/commit/9d9355a7878af4757f29e9e3c5301873f3ee2e56
Submitter: Zuul (<email address hidden>)
Branch: master

commit 9d9355a7878af4757f29e9e3c5301873f3ee2e56
Author: Naveen N <email address hidden>
Date: Fri Jan 12 14:11:42 2018 +0530

* Set path prefernce for interface in underlay mode

VMI would be programmed with ip-fabric:__default__ as VRF in
vrouter when the VM is enabled for underlay forwarding, in that
case if ARP response would be received in ip-fabric:__default__
vrf and agent has to copy the preference to overlay VRF.

Change-Id: I75b9eddbed0adca755c1840ab03e5cf79439c2a0
Closes-bug: #1742065

Revision history for this message
Pulkit Tandon (pulkitt) wrote :

Associated failed Sanity Test case:

TestPodDeployment.test_deployment_1
TestPodDeployment.test_deployment_replica_updation
TestService.test_service_scale_up_down
TestServiceVNIsolated.test_service_scale_up_down

Revision history for this message
Pulkit Tandon (pulkitt) wrote :

Verified on Mainline CB build 92 - coat - ubuntu-16.04.
All above test cases passed.
Hence closing the bug

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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