redhat-cop / cert-utils-operator

Set of functionalities around certificates packaged in a Kubernetes operator
Apache License 2.0
94 stars 35 forks source link

ConstraintsNotSatisfiable - V1.3.9 #131

Closed dylandeflavia closed 2 years ago

dylandeflavia commented 2 years ago

Hi, I tried to uninstall and re-install a new version of the cert-utils-operator however I get the below error:

constraints not satisfiable: @existing/cert-utils-operator//cert-utils-operator.v1.3.9 and community-operators/openshift-marketplace/alpha/cert-utils-operator.v1.3.9 originate from package cert-utils-operator, subscription cert-utils-operator requires community-operators/openshift-marketplace/alpha/cert-utils-operator.v1.3.9, subscription cert-utils-operator exists, clusterserviceversion cert-utils-operator.v1.3.9 exists and is not referenced by a subscription

operator.v1.3.9 exists and is not referenced by a subscription, subscription cert-utils-operator requires at least one of community-operators/openshift-marketplace/alpha/cert-utils-operator.v1.3.9, community-operators/openshift-marketplace/alpha/cert-utils-operator.v1.3.8, community-operators/openshift-marketplace/alpha/cert-utils-operator.v1.3.7, community-

I am guessing there might be residual files, but cannot find any.

Thanks!

raffaelespazzoli commented 2 years ago

hello, I had similar issues with other operators. I don't know how to fix them it looks like an OLM problem. Can you try uninstall the operator and reinstalling it? It should not affect your current certificates.

dylandeflavia commented 2 years ago

Thank you Raffaele.

Tried to uninstall and re-install the operator but getting the constraint errors.

image

dylandeflavia commented 2 years ago

@raffaelespazzoli - Thank you for pointing me in the right direction 👍

Basically, I managed to install the cert-utils-operator in the same namespace which is the recommended.

Issue was with the catalog-operator: restarted the operator and worked.