Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-112413

[regression] sos report stops workig in a toolbox container

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • rhel-8.10.z
    • rhel-8.10.z, rhel-9.2.0.z, rhel-9.4.z, rhel-9.6.z, rhel-10.0.z
    • sos
    • sos-4.10.0-4.el8_10
    • Yes
    • Critical
    • ZStream
    • rhel-sst-cee-supportability
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Regression Exception
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      What were you trying to do that didn't work?

      Running `sos report` in toolbox container on Opeshift stops working since sos-4.10. It prints just

      ```
      temporary directory /host/host/var/tmp does not exist or is not writable
      ```

      See the double `/host`.

      The regression is due to https://github.com/sosreport/sos/commit/57bbc89a0c6406a391a90c1330f5c532ee0b2c66, upstream PR ith a fix is https://github.com/sosreport/sos/pull/4118 .

      We need to either:

      • revert the regression commit (quick working but not final fix)
      • apply the PR 4118 (final fix, once merged)

      What is the impact of this issue to you?

      sos report (and a few other sos subcommands) stops working in toolbox container

      Please provide the package NVR for which the bug is seen:

      sos-4.10.0-1 on el9_6, el9_4, el9_2, el8 and el10.

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. See https://issues.redhat.com/browse/RHEL-110512?focusedId=27968817&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-27968817 - basically run on openshift toolbox container and run `sos report` there.

      Expected results

      The `sos report` works.

      Actual results

      It fails with

      ```
      temporary directory /host/host/var/tmp does not exist or is not writable
      ```

              rhn-support-jjansky Jan Jansky
              rhn-support-pmoravec Pavel Moravec
              se cee-supportability se cee-supportability
              Adriana Jurkechova Adriana Jurkechova
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: