Bug 2106543 - Typo in must-gather release-4.10
Summary: Typo in must-gather release-4.10
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.10
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: 4.11.0
Assignee: Scott Dodson
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks: 2106559
TreeView+ depends on / blocked
 
Reported: 2022-07-12 22:57 UTC by Chuck Douglas
Modified: 2022-08-10 11:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: A typo in the gather script Consequence: Insights data was not properly collected. Fix: The typo was corrected Result: Insights data is now properly collected via must-gather.
Clone Of:
: 2106559 (view as bug list)
Environment:
Last Closed: 2022-08-10 11:20:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift must-gather pull 301 0 None Merged fix gather_insights collection 2022-07-13 01:48:47 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:21:09 UTC

Description Chuck Douglas 2022-07-12 22:57:17 UTC
Description of problem:
`must-gather` for release-4.10 contains a typo in the path name for the gather_insights call

Version-Release number of selected component (if applicable):
release-4.10

How reproducible:
Always


Steps to Reproduce:
1. run must-gather on an OCP node


Actual results: 
`/usr/bin/gather: line 49: /user/bin/gather_insights: No such file or directory`

Expected results:
program runs successfully.

Comment 1 OpenShift BugZilla Robot 2022-07-13 01:46:06 UTC
Bug status changed to NEW as previous linked PR https://github.com/openshift/must-gather/pull/321 has been closed

Comment 2 zhou ying 2022-07-13 10:30:09 UTC
can't reproduce the issue now :

[root@localhost ~]# oc adm must-gather -- /usr/bin/gather_insights
[must-gather      ] OUT Using must-gather plug-in image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:88d9b350be62e6314c2602112467e082bbf7d4c1538ae6a096c303d78ed5326f
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
ClusterID: b409e270-f5ab-44f4-86a9-5796f018d70c
ClusterVersion: Stable at "4.11.0-0.nightly-2022-07-11-080250"
ClusterOperators:
	clusteroperator/machine-config is degraded because Failed to resync 4.11.0-0.nightly-2022-07-11-080250 because: error during syncRequiredMachineConfigPools: [timed out waiting for the condition, error pool master is not ready, retrying. Status: (pool degraded: true total: 3, ready 0, updated: 0, unavailable: 3)]


[must-gather      ] OUT namespace/openshift-must-gather-ncxch created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-brmxs created
[must-gather      ] OUT pod for plug-in image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:88d9b350be62e6314c2602112467e082bbf7d4c1538ae6a096c303d78ed5326f created
[must-gather-2cnfp] POD 2022-07-13T10:28:22.860768587Z INFO: Collecting Insights Archives from insights-operator-69798d9b66-s69ct
[must-gather-2cnfp] POD 2022-07-13T10:28:23.200372116Z receiving incremental file list
[must-gather-2cnfp] POD 2022-07-13T10:28:23.205353409Z insights-operator/
[must-gather-2cnfp] POD 2022-07-13T10:28:23.205490712Z insights-operator/insights-2022-07-13-093920.tar.gz
[must-gather-2cnfp] POD 2022-07-13T10:28:23.210314602Z 
[must-gather-2cnfp] POD 2022-07-13T10:28:23.210434804Z sent 47 bytes  received 83,161 bytes  55,472.00 bytes/sec
[must-gather-2cnfp] POD 2022-07-13T10:28:23.210434804Z total size is 82,984  speedup is 1.00
[must-gather-2cnfp] OUT waiting for gather to complete
[must-gather-2cnfp] OUT downloading gather output
[must-gather-2cnfp] OUT receiving incremental file list
[must-gather-2cnfp] OUT ./
[must-gather-2cnfp] OUT insights-data/
[must-gather-2cnfp] OUT insights-data/insights-operator/
[must-gather-2cnfp] OUT insights-data/insights-operator/insights-2022-07-13-093920.tar.gz
[must-gather-2cnfp] OUT 
[must-gather-2cnfp] OUT sent 58 bytes  received 83,240 bytes  15,145.09 bytes/sec
[must-gather-2cnfp] OUT total size is 82,984  speedup is 1.00
[must-gather      ] OUT namespace/openshift-must-gather-ncxch deleted
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-brmxs 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: b409e270-f5ab-44f4-86a9-5796f018d70c
ClusterVersion: Stable at "4.11.0-0.nightly-2022-07-11-080250"
ClusterOperators:
	clusteroperator/machine-config is degraded because Failed to resync 4.11.0-0.nightly-2022-07-11-080250 because: error during syncRequiredMachineConfigPools: [timed out waiting for the condition, error pool master is not ready, retrying. Status: (pool degraded: true total: 3, ready 0, updated: 0, unavailable: 3)]


[root@localhost ~]# echo $?
0


 oc version 
Client Version: 4.11.0-202207072008.p0.gf17f1aa.assembly.stream-f17f1aa
Kustomize Version: v4.5.4

Comment 4 errata-xmlrpc 2022-08-10 11:20:54 UTC
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: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069


Note You need to log in before you can comment on or make changes to this bug.