Skip to content

Commit 3fa8fee

Browse files
authored
Merge pull request #91615 from wgabor0427/OCPBUGS-52653
OCPBUGS-52653 updated the tar code in step 3 and also added sentence in step 3 about unique cluster ID
2 parents 4ceada8 + fd44598 commit 3fa8fee

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

modules/gathering-data-network-logs.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ $ oc adm must-gather -- gather_network_logs
2222
====
2323
By default, the `must-gather` tool collects the OVN `nbdb` and `sbdb` databases from all of the nodes in the cluster. Adding the `-- gather_network_logs` option to include additional logs that contain OVN-Kubernetes transactions for OVN `nbdb` database.
2424
====
25-
. 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:
25+
. Create a compressed file from the `must-gather` directory that was just created in your working directory. Make sure you provide the date and cluster ID for the unique must-gather data. For more information about how to find the cluster ID, see link:https://access.redhat.com/solutions/5280291[How to find the cluster-id or name on OpenShift cluster]. For example, on a computer that uses a Linux operating system, run the following command:
2626
+
2727
[source,terminal]
2828
----
29-
$ tar cvaf must-gather.tar.gz must-gather.local.472290403699006248 <1>
29+
$ tar cvaf must-gather-`date +"%m-%d-%Y-%H-%M-%S"`-<cluster_id>.tar.gz <must_gather_local_dir><1>
3030
----
31-
<1> Replace `must-gather-local.472290403699006248` with the actual directory name.
31+
<1> Replace `<must_gather_local_dir>` with the actual directory name.
3232

3333
. Attach the compressed file to your support case on the link:https://access.redhat.com/support/cases/#/case/list[the *Customer Support* page] of the Red Hat Customer Portal.

modules/gathering-data-specific-features.adoc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,15 +371,13 @@ $ oc adm must-gather \
371371
<2> The must-gather image for KubeVirt
372372
373373
ifndef::openshift-origin[]
374-
. 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
375-
operating system, run the following command:
374+
. Create a compressed file from the `must-gather` directory that was just created in your working directory. Make sure you provide the date and cluster ID for the unique must-gather data. For more information about how to find the cluster ID, see link:https://access.redhat.com/solutions/5280291[How to find the cluster-id or name on OpenShift cluster]. For example, on a computer that uses a Linux operating system, run the following command:
376375
+
377376
[source,terminal]
378377
----
379-
$ tar cvaf must-gather.tar.gz must-gather.local.5421342344627712289/ <1>
378+
$ tar cvaf must-gather-`date +"%m-%d-%Y-%H-%M-%S"`-<cluster_id>.tar.gz <must_gather_local_dir> <1>
380379
----
381-
<1> Make sure to replace `must-gather-local.5421342344627712289/` with the
382-
actual directory name.
380+
<1> Replace `<must_gather_local_dir>` with the actual directory name.
383381
384382
. Attach the compressed file to your support case on the link:https://access.redhat.com/support/cases/#/case/list[the *Customer Support* page] of the Red Hat Customer Portal.
385383
endif::openshift-origin[]

modules/support-gather-data.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,13 @@ Because this command picks a random control plane node by default, the pod might
7575
Contact Red Hat Support for the recommended resources to gather.
7676
====
7777

78-
. 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
79-
operating system, run the following command:
78+
. Create a compressed file from the `must-gather` directory that was just created in your working directory. Make sure you provide the date and cluster ID for the unique must-gather data. For more information about how to find the cluster ID, see link:https://access.redhat.com/solutions/5280291[How to find the cluster-id or name on OpenShift cluster]. For example, on a computer that uses a Linux operating system, run the following command:
8079
+
8180
[source,terminal]
8281
----
83-
$ tar cvaf must-gather.tar.gz must-gather.local.5421342344627712289/ <1>
82+
$ tar cvaf must-gather-`date +"%m-%d-%Y-%H-%M-%S"`-<cluster_id>.tar.gz <must_gather_local_dir> <1>
8483
----
85-
<1> Make sure to replace `must-gather-local.5421342344627712289/` with the actual directory name.
84+
<1> Replace `<must_gather_local_dir>` with the actual directory name.
8685

8786
ifndef::openshift-origin[]
8887
. Attach the compressed file to your support case on the link:https://access.redhat.com/support/cases/#/case/list[the *Customer Support* page] of the Red Hat Customer Portal.

0 commit comments

Comments
 (0)