-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.13
-
Moderate
-
No
-
3
-
False
-
-
-
Bug Fix
-
Proposed
Description of problem:
After installation of Custom Metrics Autoscaler Operator and configuring KedaController resource, the oc client started to report the below problem. $ oc get pod E0704 15:21:31.876262 2904372 memcache.go:255] couldn't get resource list for external.metrics.k8s.io/v1beta1: Got empty response for: external.metrics.k8s.io/v1beta1 NAME READY STATUS RESTARTS AGE $ oc edit deployment curl-ip E0704 15:21:01.197732 2903319 memcache.go:255] couldn't get resource list for external.metrics.k8s.io/v1beta1: Got empty response for: external.metrics.k8s.io/v1beta1 So every-time oc is invoked, "E0704 15:21:01.197732 2903319 memcache.go:255] couldn't get resource list for external.metrics.k8s.io/v1beta1: Got empty response for: external.metrics.k8s.io/v1beta1" is being reported. Once a ScaledObject is being created, the error goes away and is also not coming back when the ScaledObject is removed again. When rolling out Custom Metrics Autoscaler at scale it could be possible that in certain OpenShift Container Platform 4 - Cluster no ScaledObject will be created immediately. Hence the error is disturbing and might impact customer experience.
Version-Release number of selected component (if applicable):
OpenShift Container Platform 4.13.4
How reproducible:
Always
Steps to Reproduce:
1. Install OpenShift Container Platform 4 with Custom Metrics Controller 2. Configure KedaController 3. Run oc command with oc client version 4.13.z
Actual results:
$ oc version Client Version: 4.13.4 Kustomize Version: v4.5.7 Server Version: 4.12.22 Kubernetes Version: v1.26.5+7d22122 $ oc get pod E0704 15:21:36.351059 2904387 memcache.go:255] couldn't get resource list for external.metrics.k8s.io/v1beta1: Got empty response for: external.metrics.k8s.io/v1beta1 NAME READY STATUS RESTARTS AGE
Expected results:
$ oc version Client Version: 4.13.4 Kustomize Version: v4.5.7 Server Version: 4.12.22 Kubernetes Version: v1.26.5+7d22122 $ oc get pod NAME READY STATUS RESTARTS AGE Even if no initial ScaledObject is being created.
Additional info:
- links to
-
RHBA-2023:120782 Custom Metrics Autoscaler Operator for Red Hat 2.11.2-287 OpenShift Bug Fixes