Skip to content

mco: clean up operator.go logging / mco logs #345

Closed

Description

@kikisdeliveryservice

The new osImageURL logging in operator.go fills the logs with hundreds of:
I0124 17:35:43.070627 1 operator.go:270] using osimageurl: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-01-23-155935@sha256:61dc83d62cfb5054c4c5532bd2478742a0711075ef5151572e63f94babeacc1a I0124 17:35:47.628086 1 operator.go:270] using osimageurl: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-01-23-155935@sha256:61dc83d62cfb5054c4c5532bd2478742a0711075ef5151572e63f94babeacc1a I0124 17:36:00.896894 1 operator.go:270] using osimageurl: registry.svc.ci.openshift.org/openshift/origin-v4.0-2019-01-23-155935@sha256:61dc83d62cfb5054c4c5532bd2478742a0711075ef5151572e63f94babeacc1a

making it very difficult to read the logs to troubleshoot. Thinking to move those to v2 or remove them altogether.

Activity

  1. kikisdeliveryservice commented on Jan 24, 2019

    @kikisdeliveryservice
    ContributorAuthor

    @cgwalters Happy to fix this, but what do you think would be best?

  2. ashcrow commented on Jan 25, 2019

    @ashcrow
    Member

    @kikisdeliveryservice Do we know why it's repeating? Is it happening per worker?

  3. cgwalters commented on Jan 25, 2019

    @cgwalters
    Member

    We can just delete that log message.

  4. kikisdeliveryservice commented on Jan 25, 2019

    @kikisdeliveryservice
    ContributorAuthor

    @ashcrow For clarity: this is just some logging that was added recently during the osImageURL work but that due to being in sync() it logs...often. I ran into this when I was looking into an issue reported in #346 it was really hard to see anything in the MCO logs due to these lines printed out 100s of times. The osImageURL is available in a few other places so removing this logging would make sense so that the MCO oc logs -f are readable.

    @cgwalters Thanks! I'll remove

  5. kikisdeliveryservice commented on Jan 25, 2019

    @kikisdeliveryservice
    ContributorAuthor

    /assign

  6. changed the title [-]mco: clean up operator.go logging to clean up mco logs[/-] [+]mco: clean up operator.go logging / mco logs[/+] on Jan 25, 2019
  7. ashcrow commented on Jan 26, 2019

    @ashcrow
    Member

    @kikisdeliveryservice thanks for the background!

  8. added a commit that references this issue on Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions