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

Argocd CLI with --core: key is missing #21742

Open
stephaneetje opened this issue Feb 3, 2025 · 5 comments · May be fixed by #21786
Open

Argocd CLI with --core: key is missing #21742

stephaneetje opened this issue Feb 3, 2025 · 5 comments · May be fixed by #21786
Assignees
Labels
bug Something isn't working component:cli Affects the Argo CD CLI

Comments

@stephaneetje
Copy link

Hello,

I'm trying to use argocd CLI with the --core option.
Some commands work, like listing apps, refresh...
But when i try to list app resources or to sync a specific resource i get an error:

:/# argocd app resources argocd/test
ERRO[0004] finished unary call with code Unknown         error="error getting cached app resource tree: cache: key is missing" grpc.code=Unknown grpc.method=ResourceTree grpc.service=application.ApplicationService grpc.start_time="2025-02-03T13:25:53Z" grpc.time_ms=4257.993 span.kind=server system=grpc
FATA[0004] rpc error: code = Unknown desc = error getting cached app resource tree: cache: key is missing

I could not find a workaround yet.

@stephaneetje stephaneetje added the bug Something isn't working label Feb 3, 2025
@nitishfy
Copy link
Member

nitishfy commented Feb 3, 2025

Is the application controller running? Have you tried restarting it?

@stephaneetje
Copy link
Author

I did, i restarted all pods, also upgraded to latest version but bug is still here.

@stephaneetje
Copy link
Author

I have to add, the exact same command works if i argocd login with username/password without the --core option, inside the same container.

@nitishfy
Copy link
Member

nitishfy commented Feb 4, 2025

have you tried running argocd app resources argocd/test --core ?

@nitishfy
Copy link
Member

nitishfy commented Feb 4, 2025

I was able to reproduce this issue. I'll start working on this.

@nitishfy nitishfy self-assigned this Feb 4, 2025
@nitishfy nitishfy added the component:cli Affects the Argo CD CLI label Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:cli Affects the Argo CD CLI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants