operator-lifecycle-manager
operator-lifecycle-manager copied to clipboard
Operator OLM installation failing with error message "Failed to install OLM version "latest": deployment/olm-operator failed to rollout: timed out waiting for the condition "
Command executed:
operator-sdk olm install
Result:
INFO[0000] Fetching CRDs for version "latest"
INFO[0000] Fetching resources for resolved version "latest"
INFO[0001] Creating CRDs and resources
INFO[0001] Creating CustomResourceDefinition "catalogsources.operators.coreos.com"
INFO[0001] CustomResourceDefinition "catalogsources.operators.coreos.com" created
INFO[0001] Creating CustomResourceDefinition "clusterserviceversions.operators.coreos.com"
INFO[0001] CustomResourceDefinition "clusterserviceversions.operators.coreos.com" created
INFO[0001] Creating CustomResourceDefinition "installplans.operators.coreos.com"
INFO[0001] CustomResourceDefinition "installplans.operators.coreos.com" created
INFO[0001] Creating CustomResourceDefinition "olmconfigs.operators.coreos.com"
INFO[0001] CustomResourceDefinition "olmconfigs.operators.coreos.com" created
INFO[0001] Creating CustomResourceDefinition "operatorconditions.operators.coreos.com"
INFO[0001] CustomResourceDefinition "operatorconditions.operators.coreos.com" created
INFO[0001] Creating CustomResourceDefinition "operatorgroups.operators.coreos.com"
INFO[0001] CustomResourceDefinition "operatorgroups.operators.coreos.com" created
INFO[0001] Creating CustomResourceDefinition "operators.operators.coreos.com"
INFO[0001] CustomResourceDefinition "operators.operators.coreos.com" created
INFO[0001] Creating CustomResourceDefinition "subscriptions.operators.coreos.com"
INFO[0001] CustomResourceDefinition "subscriptions.operators.coreos.com" created
INFO[0001] Creating Namespace "olm"
INFO[0001] Namespace "olm" created
INFO[0001] Creating Namespace "operators"
INFO[0001] Namespace "operators" created
INFO[0001] Creating ServiceAccount "olm/olm-operator-serviceaccount"
INFO[0001] ServiceAccount "olm/olm-operator-serviceaccount" created
INFO[0001] Creating ClusterRole "system:controller:operator-lifecycle-manager"
INFO[0001] ClusterRole "system:controller:operator-lifecycle-manager" created
INFO[0001] Creating ClusterRoleBinding "olm-operator-binding-olm"
INFO[0001] ClusterRoleBinding "olm-operator-binding-olm" created
INFO[0001] Creating OLMConfig "cluster"
INFO[0001] Failed to create OLMConfig "cluster". CRD is not ready yet. Retrying...
INFO[0004] OLMConfig "cluster" created
INFO[0004] Creating Deployment "olm/olm-operator"
INFO[0004] Deployment "olm/olm-operator" created
INFO[0004] Creating Deployment "olm/catalog-operator"
INFO[0004] Deployment "olm/catalog-operator" created
INFO[0004] Creating ClusterRole "aggregate-olm-edit"
INFO[0004] ClusterRole "aggregate-olm-edit" created
INFO[0004] Creating ClusterRole "aggregate-olm-view"
INFO[0004] ClusterRole "aggregate-olm-view" created
INFO[0004] Creating OperatorGroup "operators/global-operators"
INFO[0004] OperatorGroup "operators/global-operators" created
INFO[0004] Creating OperatorGroup "olm/olm-operators"
INFO[0004] OperatorGroup "olm/olm-operators" created
INFO[0004] Creating ClusterServiceVersion "olm/packageserver"
INFO[0004] ClusterServiceVersion "olm/packageserver" created
INFO[0004] Creating CatalogSource "olm/operatorhubio-catalog"
INFO[0004] CatalogSource "olm/operatorhubio-catalog" created
INFO[0004] Waiting for deployment/olm-operator rollout to complete
INFO[0004] Waiting for Deployment "olm/olm-operator" to rollout: 0 of 1 updated replicas are available
FATA[0120] Failed to install OLM version "latest": deployment/olm-operator failed to rollout: timed out waiting for the condition
kubectl version:
Client Version: v1.28.3 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.28.3
This step had always worked till today.
Any update on this ? Issue disappears when both KVM and Docker is present. With just Docker it does not work.