Bug 2059777 - must-gather | gather_metallb_logs can't detect metallb pod
Summary: must-gather | gather_metallb_logs can't detect metallb pod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 4.10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: 4.10.z
Assignee: Lior Noy
QA Contact: Nikita
URL:
Whiteboard:
: 2054646 (view as bug list)
Depends On: 2054319
Blocks: 2054646
TreeView+ depends on / blocked
 
Reported: 2022-03-01 23:37 UTC by OpenShift BugZilla Robot
Modified: 2022-07-20 07:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-20 07:46:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift must-gather pull 288 0 None open [release-4.10] Bug 2059777: Fix the namespace extract filter 2022-03-01 23:37:52 UTC
Red Hat Product Errata RHBA-2022:5568 0 None None None 2022-07-20 07:46:33 UTC

Comment 1 Carlos Goncalves 2022-03-01 23:39:29 UTC
*** Bug 2054646 has been marked as a duplicate of this bug. ***

Comment 2 Carlos Goncalves 2022-07-14 07:50:21 UTC
Fixed in ose-must-gather-container-v4.10.0-202207132026.p0.g8dc79dd.assembly.stream

Comment 4 Nikita 2022-07-14 16:05:18 UTC
@cgoncalves 

Manage to collect metallb logs using must gather:

oc adm must-gather --image=registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-must-gather:v4.10.0-202207132026.p0.g8dc79dd.assembly.stream -- /usr/bin/gather_metallb_logs
[must-gather      ] OUT Using must-gather plug-in image: registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-must-gather:v4.10.0-202207132026.p0.g8dc79dd.assembly.stream
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
ClusterID: 641781a9-dc60-46d3-8a10-d1eb14044725
ClusterVersion: Stable at "4.10.22"
ClusterOperators:
	All healthy and stable


[must-gather      ] OUT namespace/openshift-must-gather-bgdgm created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-xs5kt created
[must-gather      ] OUT pod for plug-in image registry-proxy.engineering.redhat.com/rh-osbs/openshift-ose-must-gather:v4.10.0-202207132026.p0.g8dc79dd.assembly.stream created
[must-gather-79f26] POD 2022-07-14T16:01:26.920675977Z Gathering data for ns/metallb-system...
[must-gather-79f26] POD 2022-07-14T16:01:27.842630668Z Wrote inspect data to must-gather.
[must-gather-79f26] OUT waiting for gather to complete
[must-gather-79f26] OUT downloading gather output
[must-gather-79f26] OUT receiving incremental file list
[must-gather-79f26] OUT ./
[must-gather-79f26] OUT event-filter.html
[must-gather-79f26] OUT timestamp
[must-gather-79f26] OUT namespaces/
[must-gather-79f26] OUT namespaces/metallb-system/
[must-gather-79f26] OUT namespaces/metallb-system/metallb-system.yaml
[must-gather-79f26] OUT namespaces/metallb-system/apps.openshift.io/
[must-gather-79f26] OUT namespaces/metallb-system/apps.openshift.io/deploymentconfigs.yaml
[must-gather-79f26] OUT namespaces/metallb-system/apps/
[must-gather-79f26] OUT namespaces/metallb-system/apps/daemonsets.yaml
[must-gather-79f26] OUT namespaces/metallb-system/apps/deployments.yaml
[must-gather-79f26] OUT namespaces/metallb-system/apps/replicasets.yaml
[must-gather-79f26] OUT namespaces/metallb-system/apps/statefulsets.yaml
[must-gather-79f26] OUT namespaces/metallb-system/autoscaling/
[must-gather-79f26] OUT namespaces/metallb-system/autoscaling/horizontalpodautoscalers.yaml
[must-gather-79f26] OUT namespaces/metallb-system/batch/
[must-gather-79f26] OUT namespaces/metallb-system/batch/cronjobs.yaml
[must-gather-79f26] OUT namespaces/metallb-system/batch/jobs.yaml
[must-gather-79f26] OUT namespaces/metallb-system/build.openshift.io/
[must-gather-79f26] OUT namespaces/metallb-system/build.openshift.io/buildconfigs.yaml
[must-gather-79f26] OUT namespaces/metallb-system/build.openshift.io/builds.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/
[must-gather-79f26] OUT namespaces/metallb-system/core/configmaps.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/endpoints.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/events.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/persistentvolumeclaims.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/pods.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/replicationcontrollers.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/secrets.yaml
[must-gather-79f26] OUT namespaces/metallb-system/core/services.yaml
[must-gather-79f26] OUT namespaces/metallb-system/cr/
[must-gather-79f26] OUT namespaces/metallb-system/cr/addresspools.yaml
[must-gather-79f26] OUT namespaces/metallb-system/cr/bfdprofiles.yaml
[must-gather-79f26] OUT namespaces/metallb-system/cr/bgppeers.yaml
[must-gather-79f26] OUT namespaces/metallb-system/discovery.k8s.io/
[must-gather-79f26] OUT namespaces/metallb-system/discovery.k8s.io/endpointslices.yaml
[must-gather-79f26] OUT namespaces/metallb-system/image.openshift.io/
[must-gather-79f26] OUT namespaces/metallb-system/image.openshift.io/imagestreams.yaml
[must-gather-79f26] OUT namespaces/metallb-system/k8s.ovn.org/
[must-gather-79f26] OUT namespaces/metallb-system/k8s.ovn.org/egressfirewalls.yaml
[must-gather-79f26] OUT namespaces/metallb-system/networking.k8s.io/
[must-gather-79f26] OUT namespaces/metallb-system/networking.k8s.io/networkpolicies.yaml
[must-gather-79f26] OUT namespaces/metallb-system/pods/
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/metallb-operator-controller-manager-775844c5f4-4xkft.yaml
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/manager/
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/manager/manager/
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/manager/manager/logs/
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/manager/manager/logs/current.log
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/manager/manager/logs/previous.insecure.log
[must-gather-79f26] OUT namespaces/metallb-system/pods/metallb-operator-controller-manager-775844c5f4-4xkft/manager/manager/logs/previous.log
[must-gather-79f26] OUT namespaces/metallb-system/policy/
[must-gather-79f26] OUT namespaces/metallb-system/policy/poddisruptionbudgets.yaml
[must-gather-79f26] OUT namespaces/metallb-system/route.openshift.io/
[must-gather-79f26] OUT namespaces/metallb-system/route.openshift.io/routes.yaml
[must-gather-79f26] OUT 
[must-gather-79f26] OUT sent 765 bytes  received 61,207 bytes  17,706.29 bytes/sec
[must-gather-79f26] OUT total size is 606,861  speedup is 9.79
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-xs5kt deleted
[must-gather      ] OUT namespace/openshift-must-gather-bgdgm 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: 641781a9-dc60-46d3-8a10-d1eb14044725
ClusterVersion: Stable at "4.10.22"
ClusterOperators:
	All healthy and stable


Move BZ to verified

Comment 6 Carlos Goncalves 2022-07-15 09:46:12 UTC
Yes, the file rename happened in 4.11. The official documentation does not mention any of the script files. Users are expected to run a full must-gather capture.

Comment 8 errata-xmlrpc 2022-07-20 07:46:10 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 (OpenShift Container Platform 4.10.23 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/RHBA-2022:5568


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