operator-lifecycle-manager icon indicating copy to clipboard operation
operator-lifecycle-manager copied to clipboard

OLM install/uninstall livelock condition reached

Open cfilleke opened this issue 2 years ago • 0 comments

Bug Report

Can't install OLM because it's "already installed" (on a new install). But then can't uninstall OLM either, because it's "not installed."

[root@smi41 ~]# operator-sdk olm uninstall --verbose
DEBU[0000] Debug logging is set                         
I0623 11:30:04.370643   96127 request.go:690] Waited for 1.045761013s due to client-side throttling, not priority and fairness, request: GET:https://api.kiali-ui-qez-47.maistra.upshift.redhat.com:6443/apis/console.openshift.io/v1alpha1?timeout=32s
FATA[0005] Failed to uninstall OLM: error getting installed OLM version (set --version to override the default version): no existing installation found 
[root@smi41 ~]# operator-sdk olm install --verbose
DEBU[0000] Debug logging is set                         
I0623 11:30:21.155443   96400 request.go:690] Waited for 1.033952554s due to client-side throttling, not priority and fairness, request: GET:https://api.kiali-ui-qez-47.maistra.upshift.redhat.com:6443/apis/controlplane.operator.openshift.io/v1alpha1?timeout=32s
INFO[0002] Fetching CRDs for version "latest"           
INFO[0002] Fetching resources for resolved version "latest" 
FATA[0003] Failed to install OLM version "latest": detected existing OLM resources: OLM must be completely uninstalled before installation 

What did you expect to see?

expect to be able to install olm as documented

can neither install nor uninstall

Environment latest OLM

operator-sdk version: "v1.29.0", commit: "78c564319585c0c348d1d7d9bbfeed1098fab006", kubernetes version: "1.26.0", go version: "go1.19.9", GOOS: "linux", GOARCH: "s390x"

  • Kubernetes version information:

OpenShift 4.13.0 on KVM s390x

  • Kubernetes cluster kind:

Possible Solution

Additional context Add any other context about the problem here.

cfilleke avatar Jun 23 '23 15:06 cfilleke