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

[4.13] Improve ironic logging configuration in metal3

    XMLWordPrintable

Details

    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, the {product-title} ironic container included a redundant configuration file that caused the creation of duplicate log files. These log files could grow indefinetly and lead to excessive disk space consumption. With this update, the redundant configuration file has been removed so the duplicate log file issue no longer remains. (link:https://issues.redhat.com/browse/OCPBUGS-4305[*OCPBUGS-4305*])
      Show
      Previously, the {product-title} ironic container included a redundant configuration file that caused the creation of duplicate log files. These log files could grow indefinetly and lead to excessive disk space consumption. With this update, the redundant configuration file has been removed so the duplicate log file issue no longer remains. (link: https://issues.redhat.com/browse/OCPBUGS-4305 [* OCPBUGS-4305 *])
    • Bug Fix
    • Done

    Description

      Description of problem:

      Please add an option to DISABLE debug in ironic-api. Presently it is enabled by default and there is no way to disable it or reduce log level

      https://github.com/metal3-io/ironic-image/blob/main/ironic-config/ironic.conf.j2#L3

      
      

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

      How reproducible: Every time

      Steps to Reproduce:

      Please check source code here: https://github.com/metal3-io/ironic-image/blob/main/ironic-config/ironic.conf.j2#L3

      It is enabled by default and there is no way to disable it or reduce log level

      Actual results:

      Please check Case: 03371411, the log file grew to 409 GB

      Expected results: Need a way to disable debug

      Additional info: Case 03371411. A cluster must gather and log file can be found in the case.

      Attachments

        Issue Links

          Activity

            People

              janders@redhat.com Jacob Anders
              rhn-support-mdkhorsh MD Tanzim Khorshed
              Jad Haj Yahya Jad Haj Yahya
              unassigned unassigned
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: