Este contenido no está disponible en el idioma seleccionado.
Chapter 2. Using sos reports
As an administrator, you can use the sos tool to collect troubleshooting information about a {op-system-full} host and share that information with Red Hat support.
You can use an sos report to troubleshoot a failing host or problems with Red Hat OpenShift GitOps. The sos tool combines plugins that help you gather information from different applications. The sos report command generates a detailed report that shows all of the enabled plugins and data from the different components and applications in a system.
A MicroShift-specific plugin from sos version 4.5.1 gathers the following data:
MicroShift configuration and version
YAML output for node and system namespaced resources
You can create an sos report about a failing {op-system-full} host that you can share with Red Hat support for troubleshooting.
Prerequisites
You must have the sos package installed.
You have root access to the host.
Procedure
Log in to the failing host as a root user.
Perform the debug report creation procedure by running the following command:
microshift-sos-report
$microshift-sos-report
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Example output
sosreport (version 4.5.1)
This command will collect diagnostic and configuration information from
this Red Hat Enterprise Linux system and installed applications.
An archive containing the collected information will be generated in
/var/tmp/sos.o0sznf_8 and may be provided to a Red Hat support
representative.
Any information provided to Red Hat will be treated in accordance with
the published support policies at:
Distribution Website : https://www.redhat.com/
Commercial Support : https://www.access.redhat.com/
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Setting up archive ...
Setting up plugins ...
Running plugins. Please wait ...
Starting 1/2 microshift [Running: microshift]
Starting 2/2 microshift_ovn [Running: microshift microshift_ovn]
Finishing plugins [Running: microshift]
Finished running plugins
Found 1 total reports to obfuscate, processing up to 4 concurrently
sosreport-microshift-rhel9-2023-03-31-axjbyxw : Beginning obfuscation...
sosreport-microshift-rhel9-2023-03-31-axjbyxw : Obfuscation completed
Successfully obfuscated 1 report(s)
Creating compressed archive...
A mapping of obfuscated elements is available at
/var/tmp/sosreport-microshift-rhel9-2023-03-31-axjbyxw-private_map
Your sosreport has been generated and saved in:
/var/tmp/sosreport-microshift-rhel9-2023-03-31-axjbyxw-obfuscated.tar.xz
Size 444.14KiB
Owner root
sha256 922e5ff2db25014585b7c6c749d2c44c8492756d619df5e9838ce863f83d4269
Please send this file to your support representative.
sosreport (version 4.5.1)
This command will collect diagnostic and configuration information from
this Red Hat Enterprise Linux system and installed applications.
An archive containing the collected information will be generated in
/var/tmp/sos.o0sznf_8 and may be provided to a Red Hat support
representative.
Any information provided to Red Hat will be treated in accordance with
the published support policies at:
Distribution Website : https://www.redhat.com/
Commercial Support : https://www.access.redhat.com/
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before being
passed to any third party.
No changes will be made to system configuration.
Setting up archive ...
Setting up plugins ...
Running plugins. Please wait ...
Starting 1/2 microshift [Running: microshift]
Starting 2/2 microshift_ovn [Running: microshift microshift_ovn]
Finishing plugins [Running: microshift]
Finished running plugins
Found 1 total reports to obfuscate, processing up to 4 concurrently
sosreport-microshift-rhel9-2023-03-31-axjbyxw : Beginning obfuscation...
sosreport-microshift-rhel9-2023-03-31-axjbyxw : Obfuscation completed
Successfully obfuscated 1 report(s)
Creating compressed archive...
A mapping of obfuscated elements is available at
/var/tmp/sosreport-microshift-rhel9-2023-03-31-axjbyxw-private_map
Your sosreport has been generated and saved in:
/var/tmp/sosreport-microshift-rhel9-2023-03-31-axjbyxw-obfuscated.tar.xz
Size 444.14KiB
Owner root
sha256 922e5ff2db25014585b7c6c749d2c44c8492756d619df5e9838ce863f83d4269
Please send this file to your support representative.
Copy to ClipboardCopied!Toggle word wrapToggle overflow
Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.
Hacer que el código abierto sea más inclusivo
Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.
Acerca de Red Hat
Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.