Bug 1853734
Summary: | cluster-image-registry-operator calls ListKeys excessively | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jim Minter <jminter> |
Component: | Image Registry | Assignee: | Ricardo Maraschini <rmarasch> |
Status: | CLOSED ERRATA | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.z | CC: | aos-bugs, jminter, mjudeiki, obulatov, pasik, rmarasch, xiuwang, xtian |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Feature:
Avoid calling Azure endpoints too many times.
Reason:
Azure enforces quotas and the operator was constantly querying for storage account keys.
Result:
By caching the keys locally for a time we avoid going remotely to get them every time.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:12:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jim Minter
2020-07-03 17:41:18 UTC
No progress due to higher severity bugs. From Azure portal console, we could see the event "List Storage Account Keys" has been cached every 5 mins no longer cached several times a minute. Test with 4.6.0-0.nightly-2020-09-10-195619 azure cluster. And image_registry_operator_azure_key_cache_requests_total metrics has been added image_registry_operator_azure_key_cache_requests_total{endpoint="60000",instance="10.129.0.13:60000",job="image-registry-operator",namespace="openshift-image-registry",pod="cluster-image-registry-operator-f5f4469b4-l8k2f",result="hit",service="image-registry-operator"} 2586 image_registry_operator_azure_key_cache_requests_total{endpoint="60000",instance="10.129.0.13:60000",job="image-registry-operator",namespace="openshift-image-registry",pod="cluster-image-registry-operator-f5f4469b4-l8k2f",result="miss",service="image-registry-operator"} 18 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196 |