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

sos report generates an error message when running on ostree systems

XMLWordPrintable

    • Moderate
    • None
    • 3
    • True
    • Hide

      Waiting for sos 4.8 to get released in RHEL9.4 repos. This wont happen until a new z-stream for 9.4 and 9.5 though, so it might take some time.

      Show
      Waiting for sos 4.8 to get released in RHEL9.4 repos. This wont happen until a new z-stream for 9.4 and 9.5 though, so it might take some time.

      Description of problem:

      When sos report or sos report -p microshift command is run error `Unable to read booted kernel config: [Errno 2] No such file or directory: '/boot/config-5.14.0-427.33.1.el9_4.x86_64'` is seen but sos report continue to work.    

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

      problem seen in 4.17 and 4.16
         
       [redhat@dhcp-1-235-121 ~]$ microshift version
      MicroShift Version: 4.17.0~rc.2
      Base OCP Version: 4.17.0-rc.2
      
      
      [redhat@dhcp-1-235-9 ~]$ microshift version
      MicroShift Version: 4.16.10
      Base OCP Version: 4.16.10    

      How reproducible:

           Always    

      Steps to Reproduce:

          1. Install microshift via ostree deployment
          2. Login to the microshift vm and run `sudo sos report -p microshift` or sudo sos report     

      Actual results:

          sos report continues to run successfully but an error is shown at the begining as seen below
      [redhat@dhcp-1-235-121 ~]$ sudo /usr/bin/microshift-sos-report 
      Unable to read booted kernel config: [Errno 2] No such file or directory: '/boot/config-5.14.0-427.33.1.el9_4.x86_64'
      
      sosreport (version 4.7.2)   

      Expected results:

           No error should be seen.    

      Additional info:

          Looks like this is seen with microshift 4.16 as well https://redhat-internal.slack.com/archives/C042LATR98R/p1726147301349519
          

              pacevedo@redhat.com Pablo Acevedo Montserrat
              knarra@redhat.com Rama Kasturi Narra
              John George John George
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: