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

CLI-based install of Kuadrant Operator hangs with status Unknown #877

Open
smccarthy-ie opened this issue Sep 26, 2024 · 3 comments
Open

Comments

@smccarthy-ie
Copy link
Contributor

smccarthy-ie commented Sep 26, 2024

Installing the Kuadrant Operator on OpenShift 4.16 and AWS using the install instructions gives error executing jsonpath instead of complete:

$ kubectl apply -f - <<EOF                                                    	 
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  name: kuadrant-operator
  namespace: kuadrant-system
spec:
  channel: preview
  installPlanApproval: Automatic
  name: kuadrant-operator
  source: kuadrant-operator-catalog
  sourceNamespace: kuadrant-system
---
kind: OperatorGroup
apiVersion: operators.coreos.com/v1
metadata:
  name: kuadrant
  namespace: kuadrant-system
spec:
  upgradeStrategy: Default
EOF
subscription.operators.coreos.com/kuadrant-operator created
operatorgroup.operators.coreos.com/kuadrant created

$ kubectl get installplan -n kuadrant-system -o=jsonpath='{.items[0].status.phase}'
error: error executing jsonpath "{.items[0].status.phase}": Error executing template: array index out of bounds: index 0, length 0. Printing more information for debugging the template:
	template was:
    	{.items[0].status.phase}
	object given to jsonpath engine was:
    	map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":""}}

Changing the channel to stable made no difference.

The Operator hangs in the OCP web console with status Unknown and CatalogSource not found:

Screenshot from 2024-09-26 15-41-46

The Conditions table displays the following error under ResolutionFailed:

constraints not satisfiable: no operators found from catalog kuadrant-operator-catalog in namespace 
kuadrant-system referenced by subscription kuadrant-operator, subscription kuadrant-operator exists
@eguzki
Copy link
Contributor

eguzki commented Sep 27, 2024

Yes, one of the dependencies (limitador operator especifically) was not released in 4.16. We limited to 4.12-4.14. We are working on a new release of kuadrant on the public OLM catalogs that fixes that with the latest release of kuadrant (v0.10.0). You are trying to install 0.7.1 ;)

It should be a matter of few (working) days.

@eguzki
Copy link
Contributor

eguzki commented Sep 27, 2024

BTW, you already have kuadrant v0.10.0 for bare kubernetes in operatorhub.io. Just not in Openshift community catalog yet.

@smccarthy-ie
Copy link
Contributor Author

smccarthy-ie commented Sep 27, 2024

Thanks @eguzki, that's very helpful info, will try on OCP 4.14 instead.

Also makes sense now why trying to install using OCP v4.16 web console selects Kuadrant v0.72, hangs with status Unknown, and Conditions table displays the following under ResolutionFailed :)

constraints not satisfiable: bundle kuadrant-operator.v0.7.2 requires an operator with package: 
limitador-operator and with version in range: 0.8.0, subscription kuadrant-operator exists, subscription 
kuadrant-operator requires community-operators/openshift-marketplace/stable/kuadrant-operator.v0.7.2

Looking forward to trying this again when fixed for OCP 4.16 and Kuadrant 0.10.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants