Failed to install OLM version "latest"

345 views
Skip to first unread message

Максим Гайдай

unread,
May 27, 2022, 2:08:22 AM5/27/22
to Operator Framework
~: $ operator-sdk version
operator-sdk version: "v1.21.0-3-ga6ec94a4", commit: "a6ec94a4905ed3d6658f205d717bee4d476df9ae", kubernetes version: "v1.23", go version: "go1.18.1", GOOS: "linux", GOARCH: "amd64"

~: $ operator-sdk olm install
INFO[0000] Fetching CRDs for version "latest"
INFO[0000] Fetching resources for resolved version "latest"
I0527 12:29:32.632402 4031517 request.go:665] Waited for 1.047450294s due to client-side throttling, not priority and fairness, request: GET:https://m1-node.local:6443/apis/storage.k8s.io/v1beta1?timeout=32s
INFO[0009] Creating CRDs and resources
INFO[0009]   Creating CustomResourceDefinition "catalogsources.operators.coreos.com"
INFO[0009]   Creating CustomResourceDefinition "clusterserviceversions.operators.coreos.com"
INFO[0010]   Creating CustomResourceDefinition "installplans.operators.coreos.com"
INFO[0010]   Creating CustomResourceDefinition "olmconfigs.operators.coreos.com"
INFO[0010]   Creating CustomResourceDefinition "operatorconditions.operators.coreos.com"
INFO[0010]   Creating CustomResourceDefinition "operatorgroups.operators.coreos.com"
INFO[0010]   Creating CustomResourceDefinition "operators.operators.coreos.com"
INFO[0010]   Creating CustomResourceDefinition "subscriptions.operators.coreos.com"
INFO[0010]   Creating Namespace "olm"
INFO[0010]   Creating Namespace "operators"
INFO[0010]   Creating ServiceAccount "olm/olm-operator-serviceaccount"
INFO[0010]   Creating ClusterRole "system:controller:operator-lifecycle-manager"
INFO[0010]   Creating ClusterRoleBinding "olm-operator-binding-olm"
INFO[0010]   Creating OLMConfig "cluster"
FATA[0013] Failed to install OLM version "latest": failed to create CRDs and resources: no matches for kind "OLMConfig" in version "operators.coreos.com/v1"

~: $ kubectl api-resources|grep operators.coreos.com
catalogsources                    catsrc       operators.coreos.com/v1alpha1          true         CatalogSource
clusterserviceversions            csv,csvs     operators.coreos.com/v1alpha1          true         ClusterServiceVersion
installplans                      ip           operators.coreos.com/v1alpha1          true         InstallPlan
olmconfigs                                     operators.coreos.com/v1                false        OLMConfig
operatorconditions                condition    operators.coreos.com/v2                true         OperatorCondition
operatorgroups                    og           operators.coreos.com/v1                true         OperatorGroup
operators                                      operators.coreos.com/v1                false        Operator
subscriptions                     sub,subs     operators.coreos.com/v1alpha1          true         Subscription


Camila Macedo

unread,
Jun 7, 2022, 9:07:05 PM6/7/22
to Максим Гайдай, Operator Framework
Hi Максим, 

Seems like you face a timeout issue:

INFO[0000] Fetching resources for resolved version "latest"
I0527 12:29:32.632402 4031517 request.go:665] Waited for 1.047450294s due to client-side throttling, not priority and fairness, request: GET:https://m1-node.local:6443/apis/storage.k8s.io/v1beta1?timeout=32s


I tested it locally with kind and all worked fine. (kind v0.12.0 go1.17.8 darwin/amd64)
If you still facing issues could you please raise an issue in the repo and provide all info asked in the template like the versions used? 

Cheers, 

CAMILA MACEDO

SR. SOFTWARE ENGINEER 

RED HAT Operator framework

Red Hat UK

She / Her / Hers

IM: cmacedo

I respect your work-life balance. Therefore there is no need to answer this email out of your office hours.




--
You received this message because you are subscribed to the Google Groups "Operator Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to operator-framew...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/operator-framework/76331200-d5b7-4a72-a1a0-ba55668b3ecen%40googlegroups.com.

Максим Гайдай

unread,
Jun 8, 2022, 12:29:44 AM6/8/22
to Operator Framework
Hi,  CAMILA
Sorry, i have no time for checking and testing anything.
Not working - go away.
I'm post that for information only, not for solve.
Thnx!

среда, 8 июня 2022 г. в 08:07:05 UTC+7, cma...@redhat.com:
Reply all
Reply to author
Forward
0 new messages