Bug 2059840 - [LSO]Could not gather logs for pod diskmaker-discovery and diskmaker-manager
Summary: [LSO]Could not gather logs for pod diskmaker-discovery and diskmaker-manager
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.11.0
Assignee: Jan Safranek
QA Contact: Chao Yang
URL:
Whiteboard:
: 2058293 (view as bug list)
Depends On:
Blocks: 2112815
TreeView+ depends on / blocked
 
Reported: 2022-03-02 07:41 UTC by Chao Yang
Modified: 2022-08-10 10:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2112815 2114724 (view as bug list)
Environment:
Last Closed: 2022-08-10 10:51:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 330 0 None open Bug 2059840: Use oc adm inspect to gather everything 2022-03-04 11:23:20 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:52:26 UTC

Description Chao Yang 2022-03-02 07:41:56 UTC
Description of problem:
Could not gather logs for pod diskmaker-discovery and diskmaker-manager

Version-Release number of selected component (if applicable):
local-storage-operator.4.10.0-202203011424

How reproducible:
Always

Steps to Reproduce:
1.Install Local Storage Operator
2.Create localvolumediscovery and localvolumeset
3.Error is like below when using must-gather
error: a container name must be specified for pod diskmaker-discovery-hmnh7, choose one of: [diskmaker-discovery kube-rbac-proxy]

oc adm must-gather --image=brew.registry.redhat.io/rh-osbs/openshift-ose-local-storage-mustgather:latest
[must-gather      ] OUT Using must-gather plug-in image: brew.registry.redhat.io/rh-osbs/openshift-ose-local-storage-mustgather:latest
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information.
ClusterID: 06ab5993-14fc-44c2-9caa-f0e0600e6725
ClusterVersion: Stable at "4.10.0-0.nightly-2022-02-26-230022"
ClusterOperators:
	All healthy and stable


[must-gather      ] OUT namespace/openshift-must-gather-js9s6 created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-p2zgg created
[must-gather      ] OUT pod for plug-in image brew.registry.redhat.io/rh-osbs/openshift-ose-local-storage-mustgather:latest created
[must-gather-8hvw7] POD 2022-03-02T07:09:59.150451421Z error: a container name must be specified for pod diskmaker-discovery-hmnh7, choose one of: [diskmaker-discovery kube-rbac-proxy]
[must-gather-8hvw7] POD 2022-03-02T07:09:59.210237228Z error: a container name must be specified for pod diskmaker-discovery-k2grx, choose one of: [diskmaker-discovery kube-rbac-proxy]
[must-gather-8hvw7] POD 2022-03-02T07:09:59.269385258Z error: a container name must be specified for pod diskmaker-discovery-lr5t6, choose one of: [diskmaker-discovery kube-rbac-proxy]
[must-gather-8hvw7] POD 2022-03-02T07:09:59.321359700Z error: a container name must be specified for pod diskmaker-manager-g7m24, choose one of: [diskmaker-manager kube-rbac-proxy]
[must-gather-8hvw7] POD 2022-03-02T07:09:59.373680372Z error: a container name must be specified for pod diskmaker-manager-h4vdv, choose one of: [diskmaker-manager kube-rbac-proxy]
[must-gather-8hvw7] POD 2022-03-02T07:09:59.420534377Z error: a container name must be specified for pod diskmaker-manager-j2xhw, choose one of: [diskmaker-manager kube-rbac-proxy]
[must-gather-8hvw7] OUT waiting for gather to complete
[must-gather-8hvw7] OUT downloading gather output
[must-gather-8hvw7] OUT receiving file list ... done
[must-gather-8hvw7] OUT ./
[must-gather-8hvw7] OUT namespaces/
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumediscoveries.local.storage.openshift.io/
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumediscoveries.local.storage.openshift.io/auto-discover-devices.yaml
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumediscoveryresults.local.storage.openshift.io/
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumediscoveryresults.local.storage.openshift.io/discovery-result-ip-10-0-138-246.us-east-2.compute.internal.yaml
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumediscoveryresults.local.storage.openshift.io/discovery-result-ip-10-0-188-102.us-east-2.compute.internal.yaml
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumediscoveryresults.local.storage.openshift.io/discovery-result-ip-10-0-222-39.us-east-2.compute.internal.yaml
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumesets.local.storage.openshift.io/
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/crs/localvolumesets.local.storage.openshift.io/lvs.yaml
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/diskmaker-discovery-hmnh7.log
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/diskmaker-discovery-k2grx.log
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/diskmaker-discovery-lr5t6.log
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/diskmaker-manager-g7m24.log
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/diskmaker-manager-h4vdv.log
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/diskmaker-manager-j2xhw.log
[must-gather-8hvw7] OUT namespaces/openshift-local-storage/pods/local-storage-operator-587f54545f-rr6h9.log
[must-gather-8hvw7] OUT 
[must-gather-8hvw7] OUT sent 328 bytes  received 7050 bytes  983.73 bytes/sec
[must-gather-8hvw7] OUT total size is 38975  speedup is 5.28
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-p2zgg deleted
[must-gather      ] OUT namespace/openshift-must-gather-js9s6 deleted

Actual results:
error: a container name must be specified for pod diskmaker-discovery-hmnh7, choose one of: [diskmaker-discovery kube-rbac-proxy]

Expected results:
LSO must-gather should work for all lso pods
Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 1 Jonathan Dobson 2022-03-03 17:46:02 UTC
*** Bug 2058293 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2022-08-10 10:51:53 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.