Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 " #3107

Open
codersyacht opened this issue Nov 11, 2023 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@codersyacht
Copy link

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 
image image

kubectl version:

Client Version: v1.28.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3

@codersyacht codersyacht added the kind/bug Categorizes issue or PR as related to a bug. label Nov 11, 2023
@codersyacht
Copy link
Author

This step had always worked till today.

@codersyacht
Copy link
Author

Any update on this ? Issue disappears when both KVM and Docker is present. With just Docker it does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant