Bug 2075720
| Summary: | sos report collects data from container instead of host due to symlinks | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Derrick Ornelas <dornelas> |
| Component: | sos | Assignee: | Jan Jansky <jjansky> |
| Status: | CLOSED ERRATA | QA Contact: | Miroslav HradĂlek <mhradile> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.5 | CC: | agk, bmr, dornelas, mhradile, plambri, pmoravec, sbradley, theute |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-26 08:37:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Derrick Ornelas
2022-04-15 00:04:32 UTC
I do feel we have fixed such sort of an issue but I cant find when; could you please try it with sos-4.2 or sos-4.3 or current upstream (e.g. from https://github.com/sosreport/sos/releases)? This doesn't appear to be fixed in 4.2 or 4.3 * Testing sos-4.2 # toolbox Spawning a container 'toolbox-root' with image 'registry.redhat.io/rhel8/support-tools' Detected RUN label in the container image. Using that as the default... [root@worker1 /]# rpm -q sos sos-4.2-15.el8.noarch [root@worker1 /]# sos report --batch sosreport (version 4.2) This command will collect diagnostic and configuration information from this Red Hat CoreOS system. [...] Finished running plugins Creating compressed archive... Your sosreport has been generated and saved in: /host/var/tmp/sosreport-worker1-2022-05-25-atsvalj.tar.xz Size 88.83MiB Owner root sha256 e5f4d1a0f92e6d2543c053afb30b2aeec88d03fb125243f353d84f407dfec63c Please send this file to your support representative. [root@worker1 /]# exit exit # cd /var/tmp/ && tar xf sosreport-worker1-2022-05-25-atsvalj.tar.xz # cat sosreport-worker1-2022-05-25-atsvalj/etc/os-release NAME="Red Hat Enterprise Linux" VERSION="8.6 (Ootpa)" ID="rhel" ID_LIKE="fedora" VERSION_ID="8.6" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8" REDHAT_BUGZILLA_PRODUCT_VERSION=8.6 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.6" # cat /etc/os-release NAME="Red Hat Enterprise Linux CoreOS" VERSION="410.84.202204261500-0" ID="rhcos" ID_LIKE="rhel fedora" VERSION_ID="4.10" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux CoreOS 410.84.202204261500-0 (Ootpa)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8::coreos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://docs.openshift.com/container-platform/4.10/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="OpenShift Container Platform" REDHAT_BUGZILLA_PRODUCT_VERSION="4.10" REDHAT_SUPPORT_PRODUCT="OpenShift Container Platform" REDHAT_SUPPORT_PRODUCT_VERSION="4.10" OPENSHIFT_VERSION="4.10" RHEL_VERSION="8.4" OSTREE_VERSION='410.84.202204261500-0' * Testing sos-4.3 # podman rm toolbox-root 8fd28056c32728fd9cf2cf9c6663b4023b32bebbf22f78b97412fcf2d9e0e3d1 # toolbox Spawning a container 'toolbox-root' with image 'registry.redhat.io/rhel8/support-tools' Detected RUN label in the container image. Using that as the default... [root@worker1 /]# rpm -Uvh http://download-node-02.eng.bos.redhat.com/brewroot/packages/sos/4.3/1.el8/noarch/sos-4.3-1.el8.noarch.rpm Retrieving http://download-node-02.eng.bos.redhat.com/brewroot/packages/sos/4.3/1.el8/noarch/sos-4.3-1.el8.noarch.rpm Verifying... ################################# [100%] Preparing... ################################# [100%] Updating / installing... 1:sos-4.3-1.el8 ################################# [ 50%] Cleaning up / removing... 2:sos-4.2-15.el8 ################################# [100%] [root@worker1 /]# sos report -o release --batch sosreport (version 4.3) WARNING: unable to set option for disabled or non-existing plugin (networking). This command will collect diagnostic and configuration information from this Red Hat CoreOS system. [...] Starting 1/1 release [Running: release] Finished running plugins Creating compressed archive... Your sosreport has been generated and saved in: /host/var/tmp/sosreport-worker1-2022-05-26-etxvnhy.tar.xz Size 2.87KiB Owner root sha256 f203c8c928f10d43869d6ef244087d8697a8bdbcee98c298db699248848b1337 Please send this file to your support representative. [root@worker1 /]# exit exit # cd /var/tmp/ && tar xf sosreport-worker1-2022-05-26-etxvnhy.tar.xz # cat sosreport-worker1-2022-05-26-etxvnhy/etc/os-release NAME="Red Hat Enterprise Linux" VERSION="8.6 (Ootpa)" ID="rhel" ID_LIKE="fedora" VERSION_ID="8.6" PLATFORM_ID="platform:el8" PRETTY_NAME="Red Hat Enterprise Linux 8.6 (Ootpa)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos" HOME_URL="https://www.redhat.com/" DOCUMENTATION_URL="https://access.redhat.com/documentation/red_hat_enterprise_linux/8/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8" REDHAT_BUGZILLA_PRODUCT_VERSION=8.6 REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION="8.6" a candidate to sos-4.5.5 build Will you be able to test the fix for us when we will have release candidate? Yes, I can test the fix Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (sos bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:4279 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |