-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
triage/supportIndicates an issue that is a support question.Indicates an issue that is a support question.
Milestone
Description
Bug Report
What did you do?
operator-sdk run bundle quay.io/community-operators-pipeline/flux:v0.25.2
operator-sdk run bundle-upgrade quay.io/operator_testing/flux:testing0.25.3
What did you expect to see?
Successful upgrade
What did you see instead? Under which circumstances?
operator-sdk run bundle-upgrade quay.io/operator_testing/flux:testing0.25.3
INFO[0001] Found existing subscription with name flux-v0-25-2-sub and namespace default
INFO[0001] Found existing catalog source with name flux-catalog and namespace default
INFO[0009] Successfully created registry pod: quay-io-operator-testing-flux-testing0-25-3
INFO[0009] Updated catalog source flux-catalog with address and annotations
INFO[0009] Deleted previous registry pod with name "quay-io-community-operators-pipeline-flux-v0-25-2"
INFO[0048] Approved InstallPlan install-5xp65 for the Subscription: flux-v0-25-2-sub
INFO[0048] Waiting for ClusterServiceVersion "default/flux.v0.25.3" to reach 'Succeeded' phase
INFO[0048] Waiting for ClusterServiceVersion "default/flux.v0.25.3" to appear
FATA[0120] Failed to run bundle upgrade: error waiting for CSV to install: timed out waiting for the condition
kubectl logs catalog-operator-5c4997c789-47bxt -n olm
time="2022-03-22T11:32:37Z" level=info msg="checking flux.v0.25.2"
time="2022-03-22T11:32:37Z" level=info msg="checking packageserver"
time="2022-03-22T11:32:37Z" level=info msg="checking packageserver"
time="2022-03-22T11:32:37Z" level=info msg="checking flux.v0.25.2"
time="2022-03-22T11:32:42Z" level=info msg="Processing olmConfig"
time="2022-03-22T11:32:43Z" level=info msg="Processing olmConfig"
time="2022-03-22T11:32:47Z" level=info msg="checking flux.v0.25.2"
time="2022-03-22T11:32:47Z" level=info msg="checking packageserver"
time="2022-03-22T11:32:47Z" level=info msg="checking flux.v0.25.2"
time="2022-03-22T11:32:52Z" level=info msg="Processing olmConfig"
time="2022-03-22T11:32:52Z" level=info msg="Processing olmConfig"
time="2022-03-22T11:33:30Z" level=info msg="checking packageserver"
time="2022-03-22T11:33:30Z" level=info msg="checking flux.v0.25.2"
time="2022-03-22T11:33:35Z" level=info msg="Processing olmConfig"
{"level":"error","ts":1647948830.2065864,"logger":"controllers.operatorcondition","msg":"Unable to find operatorcondition","request":"default/flux.v0.25.3","error":"OperatorCondition.operators.coreos.com \"flux.v0.25.3\" not found","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}
{"level":"error","ts":1647948830.2067282,"logger":"controller.operatorcondition","msg":"Reconciler error","reconciler group":"operators.coreos.com","reconciler kind":"OperatorCondition","name":"flux.v0.25.3","namespace":"default","error":"OperatorCondition.operators.coreos.com \"flux.v0.25.3\" not found","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227"}
Environment
Kubernetes cluster type:
kind cluster
with k8s 1.21
Additional information
You replicate easily by just 2 commands.
operator-sdk run bundle quay.io/community-operators-pipeline/flux:v0.25.2
operator-sdk run bundle-upgrade quay.io/operator_testing/flux:testing0.25.3
or
operator-sdk run bundle quay.io/community-operators-pipeline/apicurito:v1.0.2
operator-sdk run bundle-upgrade quay.io/operator_testing/apicurito:testing-apicurito.v1.0.3
It is blocking us delivering a new feature - Operator upgrade testing.
Metadata
Metadata
Assignees
Labels
triage/supportIndicates an issue that is a support question.Indicates an issue that is a support question.