Skip to content

Commit dae5acc

Browse files
Merge pull request #54489 from snarayan-redhat/OCPBUGS-1375_mustgather
OCPBUGS#1375: Added network logs to must-gather
2 parents 93f5cc2 + 8ba2656 commit dae5acc

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * support/gathering-cluster-data.adoc
4+
5+
6+
:_content-type: PROCEDURE
7+
[id="gathering-data-network-logs_{context}"]
8+
= Gathering network logs
9+
10+
You can gather network logs on all nodes in a cluster.
11+
12+
.Procedure
13+
14+
. Run the `oc adm must-gather` command with `-- gather_network_logs`:
15+
+
16+
[source,terminal]
17+
----
18+
$ oc adm must-gather -- gather_network_logs
19+
----
20+
21+
. Create a compressed file from the `must-gather` directory that was just created in your working directory. For example, on a computer that uses a Linux operating system, run the following command:
22+
+
23+
[source,terminal]
24+
----
25+
$ tar cvaf must-gather.tar.gz must-gather.local.472290403699006248 <1>
26+
----
27+
<1> Replace `must-gather-local.472290403699006248` with the actual directory name.
28+
29+
. Attach the compressed file to your support case on the link:https://access.redhat.com[Red Hat Customer Portal].

support/gathering-cluster-data.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ include::modules/gathering-data-specific-features.adoc[leveloffset=+2]
3737
// Gathering audit logs
3838
include::modules/gathering-data-audit-logs.adoc[leveloffset=+2]
3939

40+
// Gathering network logs
41+
include::modules/gathering-data-network-logs.adoc[leveloffset=+2]
42+
4043
ifndef::openshift-origin[]
4144
// Obtain your cluster identifier
4245
include::modules/support-get-cluster-id.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)