Bug 1872363

Summary: Add endpoint slices to must-gather data collection
Product: OpenShift Container Platform Reporter: Stephen Greene <sgreene>
Component: NetworkingAssignee: Stephen Greene <sgreene>
Networking sub component: router QA Contact: Hongan Li <hongli>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: aos-bugs
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:32:33 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 Stephen Greene 2020-08-25 14:55:43 UTC
Description of problem:

OpenShift 4.6 will use EndpointSlices for ingress by default.

Must gather (https://github.com/openshift/must-gather) does not currently collect EndpointSlices resources, just Endpoint resources. Must-gather should include both of these endpoint resources going forward to help with debugging.

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

How reproducible:
100%

Steps to Reproduce:
1. Create 4.6 cluster
2. Collect must gather data with `oc adm must-gather`


Actual results:

Each namespace folder in must gather is missing EndpointSlices resources

Expected results:

Each namespace folder includes EndpointSlices resources (in addition to endpoint resources).

Comment 4 Hongan Li 2020-09-03 11:14:18 UTC
verified with 4.6.0-0.nightly-2020-09-02-165033 and passed


$ ll ./must-gather.local.428013668617161244/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-0085b6f827c043a1eb32d62572079adbb885a4877ecf60ef6e6649dae8d74315/namespaces/openshift-ingress/discovery.k8s.io/endpointslices.yaml 
-rwxr-xr-x. 1 hongan hongan 5831 Sep  3 18:07 ./must-gather.local.428013668617161244/quay-io-openshift-release-dev-ocp-v4-0-art-dev-sha256-0085b6f827c043a1eb32d62572079adbb885a4877ecf60ef6e6649dae8d74315/namespaces/openshift-ingress/discovery.k8s.io/endpointslices.yaml

Comment 6 errata-xmlrpc 2020-10-27 16:32:33 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.6 GA Images), 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-2020:4196