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

MetalLB operator 4.10 reverts loglevel configuration in metallb CR

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 4.10.z
    • Networking / Metal LB
    • Moderate
    • No
    • CNF Network Sprint 235
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Control over logging verbosity for MetalLB
      With this release, you can control the verbosity of MetalLB logs. You can control logging levels by using the following values for the `logLevel` specification in the MetalLB custom resource (CR):

      * all
      * debug
      * info
      * warn
      * error
      * none

      For example, you can specify the `debug` value to include diagnostic logging information that is helpful for troubleshooting.

      For more information about logging levels for MetalLB, see xref:../networking/metallb/metallb-troubleshoot-support.adoc#nw-metallb-setting-metalb-logging-levels_metallb-troubleshoot-support[Setting the MetalLB logging levels]
      Show
      Control over logging verbosity for MetalLB With this release, you can control the verbosity of MetalLB logs. You can control logging levels by using the following values for the `logLevel` specification in the MetalLB custom resource (CR): * all * debug * info * warn * error * none For example, you can specify the `debug` value to include diagnostic logging information that is helpful for troubleshooting. For more information about logging levels for MetalLB, see xref:../networking/metallb/metallb-troubleshoot-support.adoc#nw-metallb-setting-metalb-logging-levels_metallb-troubleshoot-support[Setting the MetalLB logging levels]
    • Feature
    • Proposed

    Description

      Description of problem:

      Setting logLevel on the Metallb CR according to the documentation below, doesn't work as the operator removes it automaticaly.
      
      https://docs.openshift.com/container-platform/4.10/networking/metallb/metallb-troubleshoot-support.html#nw-metallb-setting-metalb-logging-levels_metallb-troubleshoot-support
      
      

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

      OCP 4.10.55
      

      How reproducible:

      Everytime
      

      Steps to Reproduce:

      1. Create a MetalLb CR with the logLeve spec set.
      

      Actual results:

      logLevel spec is removed once the CR is created or changed.
      

      Expected results:

      Loglevel to be set like it can happen on 4.11 and above
      

      Attachments

        Activity

          People

            lnoy@redhat.com Lior Noy
            rhn-support-andcosta Andre Costa
            Arti Sood Arti Sood
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: