Open jsoref opened 1 year ago
Hey there! Found the same issue when trying to update application parameters.
Running command under local admin account:
argocd app set app --kustomize-image=registry.gl.com/app:test
Logs:
time="2023-05-13T15:49:53Z" level=info msg="received unary call /application.ApplicationService/Get" grpc.method=Get grpc.request.content="name:\"app\" appNamespace:\"\" " grpc.service=application.ApplicationService grpc.start_time="2023-05-13T15:49:53Z" span.kind=server system=grpc time="2023-05-13T15:49:53Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=Get grpc.service=application.ApplicationService grpc.start_time="2023-05-13T15:49:53Z" grpc.time_ms=13.529 span.kind=server system=grpc time="2023-05-13T15:49:53Z" level=info msg="received unary call /application.ApplicationService/UpdateSpec" grpc.method=UpdateSpec grpc.request.content="%!v(PANIC=String method: reflect.Value.Bytes of non-byte slice)" grpc.service=application.ApplicationService grpc.start_time="2023-05-13T15:49:53Z" span.kind=server system=grpc time="2023-05-13T15:49:54Z" level=info msg="admin updated application spec" application=app dest-namespace=test dest-server="https://1.1.1.1" reason=ResourceUpdated type=Normal user=admin time="2023-05-13T15:49:54Z" level=info msg="finished unary call with code OK" grpc.code=OK grpc.method=UpdateSpec grpc.service=application.ApplicationService grpc.start_time="2023-05-13T15:49:53Z" grpc.time_ms=598.103 span.kind=server system=grpc
I believe it relates to ApplicationSet. When i had app-root -> appset -> app
, trying to set image parameter in latest app led me to the logs mentioned above. Also I tried to get logs from applicationset controller with no luck - no errors were there.
When i changed to schema to app-root -> app
everything started to work as expected.
Maybe it could help. Thanks.
argocd-server in v.2.7.11 also getting:
time="2023-08-15T00:12:33Z" level=info msg="received unary call /repository.RepositoryService/GetAppDetails" grpc.method=GetAppDetails grpc.request.claims="{\"at_hash\":\"redact\",\"aud\":\"argo-cd\",\"c_hash\":\"redact\",\"email\":\"redact\",\"email_verified\":true,\"exp\":1692144683,\"iat\":1692058283,\"iss\":\"https://redact/api/dex\",\"name\":\"redact\",\"sub\":\"redact\"}" grpc.request.content="%!v(PANIC=String method: reflect.Value.Bytes of non-byte slice)" grpc.service=repository.RepositoryService grpc.start_time="2023-08-15T00:12:33Z" span.kind=server system=grpc
Any updates on this issue ? Facing the same error when updating and creating an app with parameters in v2.9.1
This issue seems slighly more pervasive, as I've also had it pop up when creating a new project through argocd proj create
(on v2.12.3):
time="2024-09-26T07:38:33Z" level=info msg="received unary call /project.ProjectService/Create" grpc.method=Create grpc.request.claims="{ ...authstuffhere... }" grpc.request.content="%!v(PANIC=String method: reflect.Value.Bytes of non-byte slice)" grpc.service=project.ProjectService grpc.start_time="2024-09-26T07:38:33Z" span.kind=server system=grpc time="2024-09-26T07:38:33Z" level=info msg="admin created project" project=cheese-dev reason=ResourceCreated type=Normal
Checklist:
argocd version
.Describe the bug
%!v
To Reproduce
Sorry, I don't really know what triggered it. I did switch the branch for my applications (including cascades at times)...
Expected behavior
None of the items in the bug section
Screenshots
Version
Logs