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

Error loading Operands for argocd-operator in argocd: r: Failed to list operands: could not find underlying CSV for operator argocd-operator.argocd #1458

Open
UriZafrir opened this issue Jul 15, 2024 · 10 comments

Comments

@UriZafrir
Copy link

UriZafrir commented Jul 15, 2024

Describe the bug
can't install argo-cd on openshift

To Reproduce
Steps to reproduce the behavior:

  1. go to operator hub
  2. search argocd and install
    it remains stuck as in the screenshot below.
    When i get to uninstall it it prints
    "Error loading Operands for argocd-operator in argocd: r: Failed to list operands: could not find underlying CSV for operator argocd-operator.argocd"

i also get no resources for it:
oc get all -n argocd
Warning: apps.openshift.io/v1 DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+
No resources found in argocd namespace.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image
image

Additional context

@svghadi
Copy link
Collaborator

svghadi commented Jul 15, 2024

What is the Openshift and ArgoCD Operator version?

@UriZafrir
Copy link
Author

hi
openshift is 4.14
argocd is argocd-operator.v0.10.1

@svghadi
Copy link
Collaborator

svghadi commented Jul 17, 2024

I could successfully install and uninstall the operator on Openshift 4.14. Can you check operator subscription and events to see if there are any errors during install? Other thing which you can try is to clean up all argocd-operator resources like operands, subscription, crd, csv manually to do a clean fresh install.

@tijnwe
Copy link

tijnwe commented Jul 17, 2024

I'm having the exact same issue, 4.14.30

@tijnwe
Copy link

tijnwe commented Jul 17, 2024

An update:

I've cleaned up everything and tried installing following versions: 0.9.0, 0.8.0, 0.10.0 and 0.10.1. Same issue as above on all.

On openshift 4.14.18 it works as expected.

@svghadi
Copy link
Collaborator

svghadi commented Jul 17, 2024

Is it possible to share the error logs?

@tijnwe
Copy link

tijnwe commented Jul 17, 2024

Any specific thing you want to see? The only thing similar to an error that I see is the screenshot above posted by UriZafrir.
There are no events in the namespace, the yaml of the subscription doesn't have any errors in it either.

@tijnwe
Copy link

tijnwe commented Jul 18, 2024

For what it's worth I updated our 4.14.18 cluster to 4.14.30 and couldn't reproduce it on that specific cluster.
So will investigate further to see what the issue could be.

@tijnwe
Copy link

tijnwe commented Jul 18, 2024

Ok so I found the error in the catalog pod in the openshift-operator-lifecycle-manager namespace.
First I had to remove all remaining crd's linking to argocd.
Then I had to remove a jobs.batch in openshift-marketplace namespace. Command below was the fix for me:

oc delete jobs.batch $ID -n openshift-marketplace

@svghadi
Copy link
Collaborator

svghadi commented Jul 19, 2024

Glad to hear that. By any chance, do you remember what the error message said?

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

No branches or pull requests

3 participants