Skip to content

Commit 04e1985

Browse files
authored
Merge pull request #92397 from openshift-cherrypick-robot/cherry-pick-91615-to-enterprise-4.19
[enterprise-4.19] OCPBUGS-52653 updated the tar code in step 3 and also added sentence in step 3 about unique cluster ID
2 parents 1c4a99e + b798f3b commit 04e1985

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

modules/gathering-data-network-logs.adoc

+3-3
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

+3-5
Original file line numberDiff line numberDiff line change
@@ -359,15 +359,13 @@ $ oc adm must-gather \
359359
<2> The must-gather image for KubeVirt
360360
361361
ifndef::openshift-origin[]
362-
. 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
363-
operating system, run the following command:
362+
. 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:
364363
+
365364
[source,terminal]
366365
----
367-
$ tar cvaf must-gather.tar.gz must-gather.local.5421342344627712289/ <1>
366+
$ tar cvaf must-gather-`date +"%m-%d-%Y-%H-%M-%S"`-<cluster_id>.tar.gz <must_gather_local_dir> <1>
368367
----
369-
<1> Make sure to replace `must-gather-local.5421342344627712289/` with the
370-
actual directory name.
368+
<1> Replace `<must_gather_local_dir>` with the actual directory name.
371369
372370
. 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.
373371
endif::openshift-origin[]

modules/support-gather-data.adoc

+3-4
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)