Bug 2265340
| Summary: | [must-gather] No need to call pre-install script for help flag | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Oded <oviner> |
| Component: | must-gather | Assignee: | yati padia <ypadia> |
| Status: | CLOSED ERRATA | QA Contact: | Oded <oviner> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.15 | CC: | nberry, odf-bz-bot, sheggodu, ypadia |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.16.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.16.0-86 | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-07-17 13:14:08 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
Oded
2024-02-21 15:32:57 UTC
Bug fixed, we dont call pre-install script for help flag OCP Version: 4.16.0-0.nightly-2024-04-26-145258 ODF Version: odf-operator.v4.16.0-89.stable $ oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.16 -- /usr/bin/gather --help [must-gather ] OUT Using must-gather plug-in image: quay.io/rhceph-dev/ocs-must-gather:latest-4.16 When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information: ClusterID: 6a8e0ddb-e4df-45c4-abb2-5eb930ef1d74 ClientVersion: 4.15.9 ClusterVersion: Stable at "4.16.0-0.nightly-2024-04-26-145258" ClusterOperators: All healthy and stable [must-gather ] OUT namespace/openshift-must-gather-997zv created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-hz5ph created [must-gather ] OUT pod for plug-in image quay.io/rhceph-dev/ocs-must-gather:latest-4.16 created [must-gather-sqsjv] POD 2024-04-30T11:15:54.199070834Z volume percentage checker started..... [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z Usage: /usr/bin/gather [OPTIONS] [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z Options: [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -o, --odf Collect ODF logs [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -d, --dr Collect DR logs [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -pc, --provider Collect openshift-storage-client logs from a provider/consumer cluster [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -n, --noobaa Collect noobaa logs [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -c, --ceph Collect ceph commands and pod logs [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -cl, --ceph-logs Collect ceph daemon, kernel, journal logs and crash reports [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -ns, --namespaced Collect namespaced resources [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -cs, --clusterscoped Collect clusterscoped resources [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z -h, --help Print this help message [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z Description: [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z ODF must-gather can run in modular mode and can collect JUST [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z the resources you require to collect. You can use the args [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z listed above to achieve that. If no arg is supplied the script [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z will run in FULL collection mode and will gather all the resources [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z from your cluster. This might take longer on some environments. [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z Note: Provide each arg separately and do not chain them like: [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z $ oc adm must-gather --image=<odf-must-gather-image> -- /usr/bin/gather -dpnc # Wrong [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z $ oc adm must-gather --image=<odf-must-gather-image> -- /usr/bin/gather -d -p -n -c # Correct [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z Examples: [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z $ oc adm must-gather --image=<odf-must-gather-image> -- /usr/bin/gather -d -n --ceph # Collect DR, noobaa and ceph logs only. [must-gather-sqsjv] POD 2024-04-30T11:15:54.207417525Z $ oc adm must-gather --image=<odf-must-gather-image> -- /usr/bin/gather -h # Print help [must-gather-sqsjv] POD 2024-04-30T11:15:54.218475528Z volume usage percentage 0 [must-gather-sqsjv] OUT waiting for gather to complete [must-gather-sqsjv] OUT downloading gather output [must-gather-sqsjv] OUT receiving incremental file list [must-gather-sqsjv] OUT ./ [must-gather-sqsjv] OUT [must-gather-sqsjv] OUT sent 27 bytes received 42 bytes 27.60 bytes/sec [must-gather-sqsjv] OUT total size is 0 speedup is 0.00 [must-gather ] OUT namespace/openshift-must-gather-997zv deleted [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-hz5ph deleted Reprinting Cluster State: When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information: ClusterID: 6a8e0ddb-e4df-45c4-abb2-5eb930ef1d74 ClientVersion: 4.15.9 ClusterVersion: Stable at "4.16.0-0.nightly-2024-04-26-145258" ClusterOperators: All healthy and stable 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 (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix 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/RHSA-2024:4591 |