Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1523354 - [starter-us-west-1] AWS API invocations from storage contributing to API call limit
[starter-us-west-1] AWS API invocations from storage contributing to API call...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.9.0
Assigned To: Hemant Kumar
chaoyang
:
Depends On:
Blocks: 1523359
  Show dependency treegraph
 
Reported: 2017-12-07 14:43 EST by Justin Pierce
Modified: 2018-03-28 10:15 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1523359 (view as bug list)
Environment:
Last Closed: 2018-03-28 10:14:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 None None None 2018-03-28 10:14 EDT

  None (edit)
Description Justin Pierce 2017-12-07 14:43:14 EST
Description of problem:
Over the course of about 4 hours, the following API invocation were recorded. DescribeVolumes and AttachVolumes are major contributors to hitting the AWS API limits for our clusters.

cloud_provider:
    DescribeSubnets   1904
    DescribeInstances   110747
    CreateTags   247
    CreateVolume   2765
    DescribeVolumes   137380    <--- 
    DetachVolume   3459
    AttachVolume   159765    <---
    DeleteVolume   274
    DescribeLoadBalancers   16622

(~4700 PV's on the cluster. ~4800 PVCs)

When these limits are hit, Ops cannot perform vital management operations on the clusters. 

Version-Release number of selected component (if applicable):
v3.7.9

How reproducible:
100%

Steps to Reproduce:
1. Monitor AWS API usage on large cluster


Actual results:
AWS API limits being hit and interfering with critical Operations to manage the clusters. Amazon will not raise these limits.

Expected results:
AWS API invocations must be well under the API limits imposed by Amazon.
Comment 3 Hemant Kumar 2018-01-04 11:25:42 EST
We have fix majority of DescribeVolume and AttachVolume calls in https://github.com/openshift/ose/pull/981 PR.

Specifically - https://github.com/openshift/ose/pull/981/commits/13570756be7d2d9119760f70465198716e6b83a5 commit ensures that we do not make calls for AttachVolume if volume is not in attachable state.

Also because starter-us-east-2 is running old version of 3.6, it does not have multiattach fix we made (https://github.com/openshift/ose/pull/877).

In a nutshell https://github.com/openshift/ose/pull/877 and https://github.com/openshift/ose/pull/981 will reduce frequency of these calls within a very reasonable limit.
Comment 4 Hemant Kumar 2018-01-18 17:56:38 EST
This should be fixed in 3.9
Comment 6 chaoyang 2018-01-29 04:43:15 EST
It is passed on 
oc v3.9.0-0.31.0
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://ip-172-18-1-24.ec2.internal:443
openshift v3.9.0-0.31.0
kubernetes v1.9.1+a0ce1bc657

The describevolumes and attachvolumes calls is reduced in V3.9
Comment 9 errata-xmlrpc 2018-03-28 10:14:24 EDT
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-2018:0489

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