Skip to content

Update sos report collection in Tool Meister container images and "all in one" image #3126

Open

Description

@portante

The recommended container image construction for invoking enabling sos report from within a container is located at https://catalog.redhat.com/software/containers/rhel8/support-tools/5ba3eaf9bed8bd6ee819b78b?container-tabs=dockerfile.

Activity

  1. added
    toolsOf and related to the operation and behavior of various tools (iostat, sar, etc.)
    Tool MeisterOf and relating to the Tool Meister sub-system
    on Dec 21, 2022
  2. added this to the v0.72 milestone on Dec 21, 2022
  3. self-assigned this
    on Dec 21, 2022
  4. jhutar commented on Dec 21, 2022

    @jhutar
    Contributor

    Even when we run the container like this, looks like sos tries to be smart and changes the output path to start with /host :-/

    # podman run --name pbench --rm -ti --privileged --ipc=host --net=host --pid=host -e HOST=/host -e NAME=pbench -e IMAGE=quay.io/pbench/pbench-agent-all-centos-8 -v /run:/run -v /var/log:/var/log -v /etc/machine-id:/etc/machine-id -v /etc/localtime:/etc/localtime -v /:/host quay.io/pbench/pbench-agent-all-centos-8 sos report -o date -o host -o release -o kernel -o filesys -o devicemapper -o system -o memory -o hardware -o networking -o block -o processor -o collectd -o tuned --batch --quiet --tmp-dir="/var/lib/pbench-agent/pbench-user-benchmark__2022.12.13T07.40.33/sysinfo/end/15017efd2c2d" --name "pbench-15017efd2c2d"
    temporary directory /host/var/lib/pbench-agent/pbench-user-benchmark__2022.12.13T07.40.33/sysinfo/end/15017efd2c2d does not exist or is not writable
    
  5. portante commented on Dec 21, 2022

    @portante
    MemberAuthor

    Bugger all. We'll have to look into what can be done. Thanks for the update!

  6. modified the milestones: v0.72, v0.73 on Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

AgentTool MeisterOf and relating to the Tool Meister sub-systembugtoolsOf and related to the operation and behavior of various tools (iostat, sar, etc.)

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions