-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
Undefined
-
1. Proposed title of this feature request
Tooling to easily collect PCAPs along multiple hops in the cluster
2. What is the nature and description of the request?
Currently the support team rely on customers to follow a long KCS to collect TCPDump / PCAPs in their OpenShift clusters, particularly when these PCAPS need to be collected at multiple hops (i.e. in multiple Pods and on multiple hosts). This will regularly require assistance from engineers within the support division and can consume large amounts of time.
KCS Used:
https://access.redhat.com/solutions/4569211
There should be a tool that is as easy as running commands similar to the following:
```
oc adm collect-pcaps pod/<pod> pod/<pod>
oc adm collect-pcaps deployment/<deployment> --filter="ip.addr == 192.168.1.1"
oc adm collect-pcaps daemonset/<ds> --filter="tcp"
oc adm collect-pcaps node/<node> --filter="tcp"
```
Pods should then be started to automatically collect these PCAPS based on the filters provided, and the output downloaded to the end-user machine, similarly to Must-Gathers.
3. Why does the customer need this? (List the business requirements here)
The difficulty of collecting PCAPs can dramatically slow down high-priority network outages as it takes a long time to collect data. For lower-priority cases this results with support engineers spending large amounts of time assisting customers collecting these PCAPs and instructing them on how to collect them in the appropriate places.
4. List any affected packages or components.
OpenShifts OC tool / Must-Gather