Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
portante opened this issue Dec 21, 2022 · 2 comments
Assignees
Labels
Agent bug Tool Meister Of and relating to the Tool Meister sub-system tools Of and related to the operation and behavior of various tools (iostat, sar, etc.)
Milestone

Comments

@portante
Copy link
Member

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.

@portante portante added bug Agent tools Of and related to the operation and behavior of various tools (iostat, sar, etc.) Tool Meister Of and relating to the Tool Meister sub-system labels Dec 21, 2022
@portante portante added this to the v0.72 milestone Dec 21, 2022
@portante portante self-assigned this Dec 21, 2022
@portante portante added this to To do in v0.72 via automation Dec 21, 2022
@jhutar
Copy link
Contributor

jhutar commented Dec 21, 2022

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

@portante
Copy link
Member Author

portante commented Dec 21, 2022

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

@portante portante modified the milestones: v0.72, v0.73 Mar 14, 2023
@portante portante removed this from To do in v0.72 Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agent bug Tool Meister Of and relating to the Tool Meister sub-system tools Of and related to the operation and behavior of various tools (iostat, sar, etc.)
Projects
Status: To Do
Development

No branches or pull requests

2 participants