Bug 1696901 - Request backport of https://github.com/kubernetes/kubernetes/pull/70002
Summary: Request backport of https://github.com/kubernetes/kubernetes/pull/70002
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 3.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.11.z
Assignee: Fabio Bertinatto
QA Contact: Liang Xia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-06 00:12 UTC by Jim Minter
Modified: 2019-08-13 14:09 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-13 14:09:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2352 0 None None None 2019-08-13 14:09:30 UTC

Description Jim Minter 2019-04-06 00:12:23 UTC
We've encountered a scenario on OCP 3.11 on Azure where the kubelet blocks for 15 minutes attaching a disk to a node.  Details in https://github.com/openshift/openshift-azure/issues/1362.

The problem happens when the Azure API is throttling API calls due to load, returning 429s.

https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-azure/1430/pull-ci-openshift-openshift-azure-master-e2e-azure/3415/artifacts/internal-e2e/compute-testapp-goroutine-dump is an example goroutine dump of the kubelet when the issue happens.

Goroutine 219 is cloudResourceSyncManager -> NodeAddresses -> getVmssVM. It has been stuck for 10 minutes because of 429(s?) returned by Azure.

Goroutine 3792 is GetDiskLun. It is stuck on Get because 219 holds the mutex.

We have also seen similar issues with the controller blocking for 15 minutes.  I don't have a goroutine dump but suspect the same problem.

We are enabling UseInstanceMetadata which will decrease API load, but would also like https://github.com/kubernetes/kubernetes/pull/70002 to be backported to at least OpenShift 3.11+.  This removes an unnecessary API call in this code path on the storage side, which will improve robustness.

Qualitatively, we have seen improvements by running with this patch.

Comment 5 Fabio Bertinatto 2019-04-12 15:17:39 UTC
PR submitted: https://github.com/openshift/origin/pull/22563

Comment 12 errata-xmlrpc 2019-08-13 14:09:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2352


Note You need to log in before you can comment on or make changes to this bug.