Closed dllegru closed 2 years ago
After a recent upgrade to argo-cd v2.4.3 coming from v2.2.x we're seeing the following error in argocd-application-controller component:
v2.4.3
v2.2.x
argocd-application-controller
time="2022-07-04T16:18:16Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://172.16.8.2" time="2022-07-04T16:18:17Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://172.16.8.2" time="2022-07-04T16:18:25Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://kubernetes.default.svc" time="2022-07-04T16:18:25Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://kubernetes.default.svc" time="2022-07-04T16:18:36Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://172.16.8.2" time="2022-07-04T16:18:36Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://172.16.8.2" time="2022-07-04T16:18:41Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://172.16.8.2" time="2022-07-04T16:18:43Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://172.16.8.2" time="2022-07-04T16:18:44Z" level=error msg="warning loading openapi schema" error="error creating gvk parser: duplicate entry for /v1, Kind=APIGroup" server="https://172.16.8.2"
The error is constantly outputed, as you can see it is being reported for both clusters we have under argo-cd management.
argo-cd
I guess it is very related to this last commit from release v0.7.0 @leoluz
Let me know if you need more information and I'll gladly help in troubleshooting this issue as I'm a bit lost.
Argo CD Server version:
{ "Version": "v2.4.3+471685f", "BuildDate": "2022-06-27T21:02:55Z", "GitCommit": "471685feae063c1c2e36a5ff268c4da87c697b85", "GitTreeState": "clean", "GoVersion": "go1.18.3", "Compiler": "gc", "Platform": "linux/amd64", "KustomizeVersion": "v4.4.1 2021-11-11T23:36:27Z", "HelmVersion": "v3.8.1+g5cb9af4", "KubectlVersion": "v0.23.1", "JsonnetVersion": "v0.18.0" }
The log level is wrong. This is basically a warning message and ArgoCD should work normally.
Thanks @leoluz , I confirm that apparently ArgoCD is working fine.
I've opened a PR to change the log level.
After a recent upgrade to argo-cd
v2.4.3
coming fromv2.2.x
we're seeing the following error inargocd-application-controller
component:The error is constantly outputed, as you can see it is being reported for both clusters we have under
argo-cd
management.I guess it is very related to this last commit from release v0.7.0 @leoluz
Let me know if you need more information and I'll gladly help in troubleshooting this issue as I'm a bit lost.
Argo CD Server version: