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

Ramdisk logs are unreadable and unparseable

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • Important
    • None
    • None
    • Rejected
    • Metal Platform 270
    • 1
    • Done
    • Bug Fix
    • Hide
      * Before this update, RAM Disk logs did not include clear file separators, which occasionally caused the content to overlap on a single line. As a consequence, users could not parse RAM Disk logs. With this release, RAM Disk logs include clear file headers to indicate the boundary between the content of each file. As a result, the readability of RAM Disk logs for users is improved.(link:https://issues.redhat.com/browse/OCPBUGS-55381[OCPBUGS-55381])
      Show
      * Before this update, RAM Disk logs did not include clear file separators, which occasionally caused the content to overlap on a single line. As a consequence, users could not parse RAM Disk logs. With this release, RAM Disk logs include clear file headers to indicate the boundary between the content of each file. As a result, the readability of RAM Disk logs for users is improved.(link: https://issues.redhat.com/browse/OCPBUGS-55381 [ OCPBUGS-55381 ])
    • None
    • None
    • None
    • None

      Description of problem:

      Ramdisk logs are created by dumping an entire tarball to stdout. As a result, file separators are hard to detect, and sometimes they end up at the end of a random line instead of a new line, like this (ip_addr is the file name):

      2025-04-25T12:05:44.727687118Z 7356cfea-1e0e-4238-9623-007fd58be6cf_openshift-machine-api~ostest-worker-2_11ff0b22-3746-425c-951f-fb482b135dc1_cleaning_2025-04-25-12-05-44.tar.gz: [    1.390910] systemd[1]: Queued start job for default target Initrd De-rw-r--r-- 0/0            1096 2025-04-25 12:05 ip_addr
      

      Let us try to at least make it clear where one file ends and the next begins.

              rhn-engineering-dtantsur Dmitry Tantsur
              rhn-engineering-dtantsur Dmitry Tantsur
              None
              None
              Jad Haj Yahya Jad Haj Yahya
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: