-
Bug
-
Resolution: Won't Do
-
Undefined
-
None
-
4.16.0
-
None
-
Important
-
No
-
Rejected
-
False
-
Description of problem:
As follows, the quay-operator, and the PlatformOperator display it was installed fail, but the BundleDeployment shows it was installed successfully.
jiazha-mac:~ jiazha$ oc get bundledeployment NAME INSTALL STATE AGE external-dns-operator InstallFailed 19m quay-operator InstallationSucceeded 13m jiazha-mac:~ jiazha$ oc get platformoperator NAME AGE external-dns-operator 20m quay-operator 14m jiazha-mac:~ jiazha$ oc get platformoperator quay-operator -o yaml apiVersion: platform.openshift.io/v1alpha1 kind: PlatformOperator metadata: creationTimestamp: "2024-02-26T07:57:44Z" generation: 1 name: quay-operator resourceVersion: "70019" uid: 02b2fb55-d923-4689-903a-0f45c38c970a spec: package: name: quay-operator status: activeBundleDeployment: name: "" conditions: - lastTransitionTime: "2024-02-26T07:57:47Z" message: Waiting for the bundle to be unpacked reason: UnpackPending status: "False" type: Installed jiazha-mac:~ jiazha$ oc get bd quay-operator -o yaml apiVersion: core.rukpak.io/v1alpha2 kind: BundleDeployment metadata: creationTimestamp: "2024-02-26T07:57:47Z" finalizers: - core.rukpak.io/delete-cached-bundle generation: 1 name: quay-operator ownerReferences: - apiVersion: platform.openshift.io/v1alpha1 blockOwnerDeletion: true controller: true kind: PlatformOperator name: quay-operator uid: 02b2fb55-d923-4689-903a-0f45c38c970a resourceVersion: "70300" uid: 23272ca6-56da-43b2-9653-36a9acc9d04f spec: provisionerClassName: core-rukpak-io-registry source: image: ref: registry.redhat.io/quay/quay-operator-bundle@sha256:34a0e75c106c6baf0bec422f510540c8cb982f85f13eee3204e9efc09c1cb0dc type: image status: conditions: - lastTransitionTime: "2024-02-26T07:57:54Z" message: Successfully unpacked the image Bundle reason: UnpackSuccessful status: "True" type: Unpacked - lastTransitionTime: "2024-02-26T07:57:56Z" message: Instantiated bundle quay-operator successfully reason: InstallationSucceeded status: "True" type: Installed - lastTransitionTime: "2024-02-26T07:58:12Z" message: BundleDeployment is healthy reason: Healthy status: "True" type: Healthy contentURL: https://core.openshift-rukpak.svc/bundles/quay-operator.tgz observedGeneration: 1 resolvedSource: image: ref: 8054ccef38c4e59af968bf2ae2fd5d0da150f00649f4a27b31904a8ffdeac727 type: image
I checked the core log, it shows "error": "convert registry+v1 bundle to plain+v0 bundle: webhookDefinitions are not supported"} , however the quay-operator pod was running well.
$ oc logs deploy/core -n openshift-rukpak ... 2024-02-26T07:57:05Z ERROR Reconciler error {"controller": "controller.bundledeployment.core-rukpak-io-registry", "controllerGroup": "core.rukpak.io", "c ontrollerKind": "BundleDeployment", "BundleDeployment": {"name":"external-dns-operator"}, "namespace": "", "name": "external-dns-operator", "reconcileID": "da14a5b3- cfec-48b4-a2c0-2834d6b04155", "error": "convert registry+v1 bundle to plain+v0 bundle: webhookDefinitions are not supported"} 359 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler 360 /build/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:329 361 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem 362 /build/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266 363 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2 364 /build/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227 365 2024-02-26T07:57:47Z DEBUG starting reconciliation {"controller": "controller.bundledeployment.core-rukpak-io-registry", "controllerGroup": "core.rukpak.io", "c ontrollerKind": "BundleDeployment", "BundleDeployment": {"name":"quay-operator"}, "namespace": "", "name": "quay-operator", "reconcileID": "2230c6ab-cc62-4316-af30-4 47e70f9363f"} jiazha-mac:~ jiazha$ oc get pods -n quay-operator-system NAME READY STATUS RESTARTS AGE quay-operator.v3.10.3-85694b68b6-ll4w9 1/1 Running 0 23m
Version-Release number of selected component (if applicable):
4.16.0-0.nightly-2024-02-23-013505
How reproducible:
always
Steps to Reproduce:
1. Install OCP 4.16.0 2. enable TP. $ oc patch featuregate cluster -p '{"spec": {"featureSet": "TechPreviewNoUpgrade"}}' --type=merge 3.Deploy a platform operator. jiazha-mac:~ jiazha$ cat po-valid.yaml apiVersion: platform.openshift.io/v1alpha1 kind: PlatformOperator metadata: name: quay-operator spec: package: name: quay-operator jiazha-mac:~ jiazha$ oc create -f po-valid.yaml
Actual results:
the PlatformOperator displays it was installed failure, but the BundleDeployment shows it was installed successfully.
jiazha-mac:~ jiazha$ oc get platformoperator quay-operator -o yaml apiVersion: platform.openshift.io/v1alpha1 kind: PlatformOperator metadata: creationTimestamp: "2024-02-26T07:57:44Z" generation: 1 name: quay-operator resourceVersion: "70019" uid: 02b2fb55-d923-4689-903a-0f45c38c970a spec: package: name: quay-operator status: activeBundleDeployment: name: "" conditions: - lastTransitionTime: "2024-02-26T07:57:47Z" message: Waiting for the bundle to be unpacked reason: UnpackPending status: "False" type: Installed jiazha-mac:~ jiazha$ oc get bundledeployment NAME INSTALL STATE AGE external-dns-operator InstallFailed 40m quay-operator InstallationSucceeded 34m
Expected results:
1, The platformoperator should show the right info.
2, the core(oc logs deploy/core -n openshift-rukpak) pod logs should NOT output "error": "convert registry+v1 bundle to plain+v0 bundle: webhookDefinitions are not supported" since it was installed successfully.
jiazha-mac:~ jiazha$ oc get pods -n quay-operator-system NAME READY STATUS RESTARTS AGE quay-operator.v3.10.3-85694b68b6-ll4w9 1/1 Running 0 23m
Additional info:
- is caused by
-
OPRUN-3337 Remove Platform Operators manifests from payload
- Closed