Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-1807

Ingress Operator startup bad log message formatting

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • None
    • 4.11
    • Networking / router
    • None
    • Informational
    • 1
    • Sprint 225, Sprint 226, Sprint 227, Sprint 228
    • 4
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Cause: The fix in OpenShift 4.11.0 for Bug 2094932 added a log statement with incorrect format.

      Consequence: After an upgrade from OpenShift 4.10 to 4.11, the Ingress Operator would log the following string, including literal "%" formats: 'Patched %q ingress config defaultPlacement status to %q {"cluster": "Workers"}'.

      Fix: The log format has been fixed.

      Result: The Ingress Operator now logs the following: 'Patched ingress config defaultPlacement status {"cluster": "Workers"}'.
      Show
      Cause: The fix in OpenShift 4.11.0 for Bug 2094932 added a log statement with incorrect format. Consequence: After an upgrade from OpenShift 4.10 to 4.11, the Ingress Operator would log the following string, including literal "%" formats: 'Patched %q ingress config defaultPlacement status to %q {"cluster": "Workers"}'. Fix: The log format has been fixed. Result: The Ingress Operator now logs the following: 'Patched ingress config defaultPlacement status {"cluster": "Workers"}'.
    • Bug Fix

    Description

      Description of problem:

      The ingress operator has a log message with weird formatting during startup handleSingleNode4Dot11Upgrade function 

      Version-Release number of selected component (if applicable):

      4.11

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install 4.10 single node cluster
      2. Upgrade to 4.11
      

      Actual results:

      Ingress operator prints badly formatted log message

      Expected results:

      Ingress operator prints correctly formatted log message

      Additional info:

       

      Attachments

        Activity

          People

            otuchfel@redhat.com Omer Tuchfeld
            otuchfel@redhat.com Omer Tuchfeld
            Shudi Li Shudi Li
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: