-
Bug
-
Resolution: Done
-
Blocker
-
quay-v3.7.11, quay-v3.8.1, quay-v3.8.2, quay-v3.9.0
Description of problem:
Quay operator pod can not deploy quay pods when set horizontalpodautoscaler as managed in OCP 4.13.
Version-Release number of selected component (if applicable):
quay-operator-bundle-container-v3.8.2-7
Index image v4.13: registry-proxy.engineering.redhat.com/rh-osbs/iib:429785
How reproducible:
always
Steps to Reproduce:
1. set up quay 3.8.2-7 in OCP 4.13 with below configuration
------------------ apiVersion: quay.redhat.com/v1 kind: QuayRegistry metadata: name: quayregistry namespace: quay-enterprise spec: configBundleSecret: config-bundle-secret components: - kind: clair managed: true - kind: postgres managed: true - kind: objectstorage managed: false - kind: redis managed: true - kind: horizontalpodautoscaler managed: true - kind: route managed: true - kind: mirror managed: true - kind: monitoring managed: false - kind: quay managed: true overrides: env: - name: DEBUGLOG value: "true"
Actual results:
Quay operator pod can not deploy quay pods, the errer log are
$ oc logs quay-operator.v3.8.2-7b6b774955-szhh5 ......... 1.676345646595593e+09 ERROR controllers.QuayRegistry failed to create/update object {"quayregistry": "quay-enterprise/quayregistry", "kind": "HorizontalPodAutoscaler", "name": "quayregistry-quay-mirror", "error": "no matches for kind \"HorizontalPodAutoscaler\" in version \"autoscaling/v2beta2\""} github.com/quay/quay-operator/controllers/quay.(*QuayRegistryReconciler).Reconcile /workspace/controllers/quay/quayregistry_controller.go:458 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:114 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 /workspace/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227 1.6763456465958538e+09 DEBUG events Warning {"object": {"kind":"QuayRegistry","namespace":"quay-enterprise","name":"quayregistry","uid":"a631c81b-a033-4692-bf6f-d2cb98b4b81f","apiVersion":"quay.redhat.com/v1","resourceVersion":"78018"}, "reason": "ComponentCreationFailed", "message": "error creating object: no matches for kind \"HorizontalPodAutoscaler\" in version \"autoscaling/v2beta2\""}
Expected results:
quay pods should be deployed successfully.
- is cloned by
-
PROJQUAY-5620 [3.7] Quay operator pod can not deploy quay pods when set horizontalpodautoscaler as managed in OCP 4.13
- Closed
- is duplicated by
-
PROJQUAY-5284 Create QuayRegistry is failing with status 'Condition: RolloutBlocked' on OCP 4.13 with ODF 4.13
- Closed
- relates to
-
PROJQUAY-8204 [3.12] Quay instance is still producing HPA for some operator-unmanaged components.
- Testing
-
PROJQUAY-5086 Quay instance is still producing HPA for some operator-unmanaged components.
- Closed
- links to
- mentioned on