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

Same error is in the logs several times #3006

Closed
mgledi opened this issue Sep 1, 2023 · 2 comments
Closed

Same error is in the logs several times #3006

mgledi opened this issue Sep 1, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@mgledi
Copy link

mgledi commented Sep 1, 2023

Describe the bug

We configured argo rollouts' logformat to be json.

        chart_values:
          controller:
            extraArgs:
              - "--logformat"
              - "json"
              - "--loglevel"
              - "warn"

To Reproduce

Configure logformat=json

Expected behavior

All messages are in json format

Screenshots

Version

application version 1.5.1
chart version 2.31.5

Logs

{"generation":1,"level":"error","msg":"roCtx.reconcile err Operation cannot be fulfilled on replicasets.apps \"tm-tm-upgrade-dev-7d5c95ddd7\": the object has been modified; please apply your changes to the latest version and try again","namespace":"tm-tm-upgrade-dev","resourceVersion":"150709083","rollout":"tm-tm-upgrade-dev","time":"2023-09-01T08:41:48Z"}
{"level":"error","msg":"rollout syncHandler error: Operation cannot be fulfilled on replicasets.apps \"tm-tm-upgrade-dev-7d5c95ddd7\": the object has been modified; please apply your changes to the latest version and try again","namespace":"tm-tm-upgrade-dev","rollout":"tm-tm-upgrade-dev","time":"2023-09-01T08:41:48Z"}
time="2023-09-01T08:41:48Z" level=error msg="Operation cannot be fulfilled on replicasets.apps \"tm-tm-upgrade-dev-7d5c95ddd7\": the object has been modified; please apply your changes to the latest version and try again\n" error="<nil>"
...
time="2023-09-01T08:46:29Z" level=info msg="unknown field \"spec.template.metadata.creationTimestamp\"\n"
time="2023-09-01T08:46:29Z" level=info msg="unknown field \"spec.template.metadata.creationTimestamp\"\n"
time="2023-09-01T08:46:36Z" level=info msg="unknown field \"spec.template.metadata.creationTimestamp\"\n"
time="2023-09-01T08:46:36Z" level=info msg="unknown field \"spec.template.metadata.creationTimestamp\"\n"


Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

@mgledi mgledi added the bug Something isn't working label Sep 1, 2023
@zachaller
Copy link
Collaborator

This should be fixed in 1.6 #2707

@zachaller
Copy link
Collaborator

Going to mark as close feel free to re-open if it's not fixed in 1.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants