-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Bug Report
What did you do?
[aqadmin@aqa1vmppauto01]operator-sdk olm install
INFO[0000] Fetching CRDs for version "0.28.0"
INFO[0000] Fetching resources for resolved version "v0.28.0"
INFO[0001] Checking for existing OLM CRDs
INFO[0001] Checking for existing OLM resources
FATA[0001] Failed to install OLM version "0.28.0": detected existing OLM resources: OLM must be completely uninstalled before installation
[aqadmin@aqa1vmppauto01]operator-sdk olm uninstall --version v0.28.0 --verbose
DEBU[0000] Debug logging is set
INFO[0000] Fetching CRDs for version "v0.28.0"
INFO[0000] Fetching resources for resolved version "v0.28.0"
INFO[0001] Uninstalling resources for version "v0.28.0"
INFO[0001] Deleting CustomResourceDefinition "catalogsources.operators.coreos.com"
INFO[0001] CustomResourceDefinition "catalogsources.operators.coreos.com" does not exist
INFO[0001] Deleting CustomResourceDefinition "clusterserviceversions.operators.coreos.com"
INFO[0001] CustomResourceDefinition "clusterserviceversions.operators.coreos.com" does not exist
INFO[0001] Deleting CustomResourceDefinition "installplans.operators.coreos.com"
INFO[0001] CustomResourceDefinition "installplans.operators.coreos.com" does not exist
INFO[0001] Deleting CustomResourceDefinition "olmconfigs.operators.coreos.com"
INFO[0001] CustomResourceDefinition "olmconfigs.operators.coreos.com" does not exist
INFO[0002] Deleting CustomResourceDefinition "operatorconditions.operators.coreos.com"
INFO[0002] CustomResourceDefinition "operatorconditions.operators.coreos.com" does not exist
INFO[0002] Deleting CustomResourceDefinition "operatorgroups.operators.coreos.com"
INFO[0002] CustomResourceDefinition "operatorgroups.operators.coreos.com" does not exist
INFO[0002] Deleting CustomResourceDefinition "operators.operators.coreos.com"
INFO[0002] CustomResourceDefinition "operators.operators.coreos.com" does not exist
INFO[0002] Deleting CustomResourceDefinition "subscriptions.operators.coreos.com"
INFO[0002] CustomResourceDefinition "subscriptions.operators.coreos.com" does not exist
INFO[0002] Deleting Namespace "olm"
INFO[0002] Namespace "olm" does not exist
INFO[0002] Deleting Namespace "operators"
INFO[0002] Namespace "operators" does not exist
INFO[0002] Deleting ServiceAccount "olm/olm-operator-serviceaccount"
INFO[0002] ServiceAccount "olm/olm-operator-serviceaccount" does not exist
INFO[0002] Deleting ClusterRole "system:controller:operator-lifecycle-manager"
INFO[0002] ClusterRole "system:controller:operator-lifecycle-manager" does not exist
INFO[0002] Deleting ClusterRoleBinding "olm-operator-binding-olm"
INFO[0002] ClusterRoleBinding "olm-operator-binding-olm" does not exist
INFO[0003] Deleting OLMConfig "cluster"
FATA[0003] Failed to uninstall OLM: no matches for kind "OLMConfig" in version "operators.coreos.com/v1"
[aqadmin@aqa1vmppauto01]operator-sdk olm install --version 0.31.0 --verbose
DEBU[0000] Debug logging is set
INFO[0000] Fetching CRDs for version "0.31.0"
INFO[0000] Fetching resources for resolved version "v0.31.0"
INFO[0001] Checking for existing OLM CRDs
INFO[0001] Checking for existing OLM resources
FATA[0001] Failed to install OLM version "0.31.0": detected existing OLM resources: OLM must be completely uninstalled before installation
[aqadmin@aqa1vmppauto01]operator-sdk olm install
INFO[0000] Fetching CRDs for version "0.28.0"
INFO[0000] Fetching resources for resolved version "v0.28.0"
INFO[0001] Checking for existing OLM CRDs
INFO[0001] Checking for existing OLM resources
FATA[0001] Failed to install OLM version "0.28.0": detected existing OLM resources: OLM must be completely uninstalled before installation
[aqadmin@aqa1vmppauto01]
What did you expect to see?
Expected to see sucessfull olm installation
What did you see instead? Under which circumstances?
[aqadmin@aqa1vmppauto01]operator-sdk olm install
INFO[0000] Fetching CRDs for version "0.28.0"
INFO[0000] Fetching resources for resolved version "v0.28.0"
INFO[0001] Checking for existing OLM CRDs
INFO[0001] Checking for existing OLM resources
FATA[0001] Failed to install OLM version "0.28.0": detected existing OLM resources: OLM must be completely uninstalled before installation
Environment
Operator type:
Kubernetes cluster type:
$ operator-sdk version
RKE
[aqadmin@aqa1vmppauto01]operator-sdk version
operator-sdk version: "v1.40.0", commit: "c975e3a03ef8e3d589806b679638f55036b56212", kubernetes version: "1.32.0", go version: "go1.23.6", GOOS: "linux", GOARCH: "amd64"
$ go version
(if language is Go)
[aqadmin@aqa1vmppauto01]go version
go version go1.22.2 linux/amd64
$ kubectl version
[aqadmin@aqa1vmppauto01]kubectl version
Client Version: v1.32.5+k3s1
Kustomize Version: v5.5.0
Server Version: v1.32.5+rke2r1
[aqadmin@aqa1vmppauto01]