[k8s-sanity]: On restart of kube-apiserver, it takes around 2 minutes to connect back to kube-manager. Need to extend the test script accordingly

Bug #1781165 reported by Pulkit Tandon on 2018-07-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Released
Medium
Pulkit Tandon
Trunk
Fix Released
Medium
Pulkit Tandon

Bug Description

After kube-apiserver restart, it takes 2 reties to connect back to contrail-kube-manager.
This takes almost 120 seconds.

Currently, the wait timer after kube-apiserver restart is 20 seconds.
This used to work some time back.
Now, its taking more time to connect.

I cannot add polling here as contrail-kube-manager is Contrail process and kube-apiserver is kubernetes process.
There is no way that I can check the status of this connection and poll out.

Thus, adding a sleep of 120 seconds

Review in progress for https://review.opencontrail.org/44518
Submitter: Pulkit Tandon (<email address hidden>)

Review in progress for https://review.opencontrail.org/44519
Submitter: Pulkit Tandon (<email address hidden>)

Reviewed: https://review.opencontrail.org/44518
Committed: http://github.com/Juniper/contrail-test/commit/9e540bf063ed132685be68cf18d63031c8157cde
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 9e540bf063ed132685be68cf18d63031c8157cde
Author: Pulkit Tandon <email address hidden>
Date: Wed Jul 11 16:06:01 2018 +0530

Increasing the wait timer for kube-api server to connect to contrail-kube-manager

Kube-manager is taking 2 retry intervals to connect to kube-api server.
1 retry amounts for 60 seconds.
Thus, increaing the wait timer in kube-apiserver test case

Change-Id: I4f3a46ac3f65fc972f9d379a4308076658aebe82
Closes-bug: #1781165

OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/44519
Committed: http://github.com/Juniper/contrail-test/commit/c8ba4fcbe8557ef3d0880095790175c64523f0cc
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit c8ba4fcbe8557ef3d0880095790175c64523f0cc
Author: Pulkit Tandon <email address hidden>
Date: Wed Jul 11 16:06:01 2018 +0530

Increasing the wait timer for kube-api server to connect to contrail-kube-manager

Kube-manager is taking 2 retry intervals to connect to kube-api server.
1 retry amounts for 60 seconds.
Thus, increaing the wait timer in kube-apiserver test case

Change-Id: I4f3a46ac3f65fc972f9d379a4308076658aebe82
Closes-bug: #1781165

Pulkit Tandon (pulkitt) wrote :

Verified on latest:
ocata-5.0-152
ocata-master-196
Hence closing the bug

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

Other bug subscribers