Bug 2054646 - must-gather | gather_metallb_logs can't detect metallb pod
Summary: must-gather | gather_metallb_logs can't detect metallb pod
Keywords:
Status: CLOSED DUPLICATE of bug 2059777
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:
Depends On: 2054319 2059777
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-15 12:16 UTC by Carlos Goncalves
Modified: 2022-03-01 23:39 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2054319
Environment:
Last Closed: 2022-03-01 23:39:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Carlos Goncalves 2022-02-15 12:16:44 UTC
+++ This bug was initially created as a clone of Bug #2054319 +++

Description of problem:

must-gather doesn't work for metallb. Take a look below:

OCP version:

> oc version
Client Version: 4.10.0-rc.1
Server Version: 4.10.0-rc.1
Kubernetes Version: v1.23.3+b63be7f

Metallb is installed:

> oc get pods -n metallb-system
NAME                                                  READY   STATUS    RESTARTS   AGE
controller-54c59b7475-9btw6                           2/2     Running   0          104s
metallb-operator-controller-manager-9cb6fb86b-k5ccr   1/1     Running   0          143m
speaker-rb9xb                                         6/6     Running   0          104s
speaker-sg5gj                                         6/6     Running   0          104s

 

> oc adm must-gather – /usr/bin/gather_metallb_logs
[must-gather      ] OUT Using must-gather plug-in image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:90979cdd2bba6c5a63b62d3fa2cc3aca15e3e7c684198b40e915be82f4fdd175
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information.
ClusterID: 081e25ac-9826-48c5-95f8-2e5c99256979
ClusterVersion: Stable at "4.10.0-rc.1"
ClusterOperators:
        clusteroperator/kube-apiserver is degraded because VirtualResourceAdmissionDegraded: Mutating webhook mutation.gatekeeper.sh matches multiple virtual resources: bindings/v1, localresourceaccessreviews.authorization.openshift.io/v1, localsubjectaccessreviews.authorization.k8s.io/v1, localsubjectaccessreviews.authorization.openshift.io/v1, resourceaccessreviews.authorization.openshift.io/v1, selfsubjectaccessreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.openshift.io/v1, subjectaccessreviews.authorization.k8s.io/v1, subjectaccessreviews.authorization.openshift.io/v1, subjectrulesreviews.authorization.openshift.io/v1.
VirtualResourceAdmissionDegraded: Validating webhook validation.gatekeeper.sh matches multiple virtual resources: bindings/v1, localresourceaccessreviews.authorization.openshift.io/v1, localsubjectaccessreviews.authorization.k8s.io/v1, localsubjectaccessreviews.authorization.openshift.io/v1, resourceaccessreviews.authorization.openshift.io/v1, selfsubjectaccessreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.openshift.io/v1, subjectaccessreviews.authorization.k8s.io/v1, subjectaccessreviews.authorization.openshift.io/v1, subjectrulesreviews.authorization.openshift.io/v1.

[must-gather      ] OUT namespace/openshift-must-gather-zjc5m created
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-655tw created
[must-gather      ] OUT pod for plug-in image quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:90979cdd2bba6c5a63b62d3fa2cc3aca15e3e7c684198b40e915be82f4fdd175 created
[must-gather-mg7hd] POD 2022-02-11T19:58:00.172254127Z INFO: MetalLB not detected. Skipping.
[must-gather-mg7hd] OUT waiting for gather to complete
[must-gather-mg7hd] OUT downloading gather output
[must-gather-mg7hd] OUT receiving incremental file list
[must-gather-mg7hd] OUT ./
[must-gather-mg7hd] OUT 
[must-gather-mg7hd] OUT sent 27 bytes  received 41 bytes  15.11 bytes/sec
[must-gather-mg7hd] OUT total size is 0  speedup is 0.00
[must-gather      ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-655tw deleted
[must-gather      ] OUT namespace/openshift-must-gather-zjc5m deleted

When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information.
ClusterID: 081e25ac-9826-48c5-95f8-2e5c99256979
ClusterVersion: Stable at "4.10.0-rc.1"
ClusterOperators:
        clusteroperator/kube-apiserver is degraded because VirtualResourceAdmissionDegraded: Mutating webhook mutation.gatekeeper.sh matches multiple virtual resources: bindings/v1, localresourceaccessreviews.authorization.openshift.io/v1, localsubjectaccessreviews.authorization.k8s.io/v1, localsubjectaccessreviews.authorization.openshift.io/v1, resourceaccessreviews.authorization.openshift.io/v1, selfsubjectaccessreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.openshift.io/v1, subjectaccessreviews.authorization.k8s.io/v1, subjectaccessreviews.authorization.openshift.io/v1, subjectrulesreviews.authorization.openshift.io/v1.
VirtualResourceAdmissionDegraded: Validating webhook validation.gatekeeper.sh matches multiple virtual resources: bindings/v1, localresourceaccessreviews.authorization.openshift.io/v1, localsubjectaccessreviews.authorization.k8s.io/v1, localsubjectaccessreviews.authorization.openshift.io/v1, resourceaccessreviews.authorization.openshift.io/v1, selfsubjectaccessreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.k8s.io/v1, selfsubjectrulesreviews.authorization.openshift.io/v1, subjectaccessreviews.authorization.k8s.io/v1, subjectaccessreviews.authorization.openshift.io/v1, subjectrulesreviews.authorization.openshift.io/v1.
Version-Release number of selected component (if applicable):


How reproducible:
Run
oc adm must-gather – /usr/bin/gather_metallb_logs


Actual results:
[must-gather-mg7hd] POD 2022-02-11T19:58:00.172254127Z INFO: MetalLB not detected. Skipping.

Expected results:
Relevant logs should be collected.

Comment 1 Carlos Goncalves 2022-03-01 23:39:29 UTC

*** This bug has been marked as a duplicate of bug 2059777 ***


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