operator-framework / operator-lifecycle-manager

A management framework for extending Kubernetes with Operators
https://olm.operatorframework.io
Apache License 2.0
1.7k stars 542 forks source link

Operator deployment InstallPlan fails on AKS cluster version 1.18.17 - bundle contents have not yet been persisted to installplan status #2127

Open sanj982052 opened 3 years ago

sanj982052 commented 3 years ago

Trying to deploy operator using olm on an aks cluster creating a subscription fails with the InstallPlan status reporting error bundle contents have not yet been persisted to installplan status.

status: Bundle Lookups: Catalog Source Ref: Name: operatorhubio-catalog Namespace: operator-lifecycle-manager Conditions: Message: bundle contents have not yet been persisted to inst allplan status Reason: BundleNotUnpacked Status: True Type: BundleLookupNotPersisted Last Transition Time: 2021-04-28T11:57:43Z Message: unpack job not completed Reason: JobIncomplete Status: True Type: BundleLookupPending Identifier: etcdoperator.v0.9.4 Path: quay.io/operatorhubio/etcd:v0.9.4 Properties: {"properties":[{"type":"olm.gvk","value":{"group":" etcd.database.coreos.com","kind":"EtcdBackup","version":"v1beta2"}},{"type":"olm .gvk","value":{"group":"etcd.database.coreos.com","kind":"EtcdCluster","version" :"v1beta2"}},{"type":"olm.gvk","value":{"group":"etcd.database.coreos.com","kind ":"EtcdRestore","version":"v1beta2"}},{"type":"olm.package","value":{"packageNam e":"etcd","version":"0.9.4"}}]} Replaces: etcdoperator.v0.9.2 Catalog Source Ref: Name: operatorhubio-catalog Namespace: operator-lifecycle-manager Conditions: Message: bundle contents have not yet been persisted to inst allplan status Reason: BundleNotUnpacked Status: True Type: BundleLookupNotPersisted Last Transition Time: 2021-04-28T11:57:43Z Message: unpack job not completed Reason: JobIncomplete Status: True Type: BundleLookupPending Identifier: elastic-cloud-eck.v1.5.0

exdx commented 3 years ago

Hi @sanj982052 ,

Could you take a look at the unpack job in the namespace and see what the logs point to? Could be a connectivity issue or an unpacking issue.

The error message isn't super descriptive, but we made a change to make it more informative in the latest v0.18.0 release -- so you could upgrade to get a more clear error on the installplan.