-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.20.0
Description of problem:
Running the must-gather logging plugin fails inside the pod with: /bin/bash: line 17: setsid: command not found The failure happens because a recent change in the oc client (PR #2087) now wraps the gather command using: setsid -w bash <<EOF Minimal must-gather plugin images (including logging) do not include setsid, because util-linux is not installed. This causes must-gather for logging to fail immediately when the gather script starts.
Version-Release number of selected component (if applicable):
How reproducible:
100% reproducible when using: oc adm must-gather --image=registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator@sha256:5f96aaba248207054bdf1dd8dd8e43a2550a210c62367535fb31fa9907c5ee7a with an image that lacks setsid
Steps to Reproduce:
1.oc adm must-gather --image=registry.redhat.io/openshift-logging/cluster-logging-rhel9-operator:latest
2.
3.
Actual results:
/bin/bash: line <n>: setsid: command not found
Expected results:
Additional info: