Skip to content

Commit 1630dc5

Browse files
authored
Merge pull request #59307 from rohennes/TELCODOCS-948-PAO-must-gather
TELCODOCS-948: Merge PAO logs in OCP must-gather
2 parents e6b11d2 + 7ee98bf commit 1630dc5

4 files changed

+53
-63
lines changed

modules/cnf-collecting-low-latency-tuning-debugging-data-for-red-hat-support.adoc

Lines changed: 41 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -25,44 +25,17 @@ The `oc adm must-gather` CLI command collects the information from your cluster
2525
You can specify one or more images when you run the command by including the `--image` argument. When you specify an image, the tool collects data related to that feature or product. When you run `oc adm must-gather`, a new pod is created on the cluster. The data is collected on that pod and saved in a new directory that starts with `must-gather.local`. This directory is created in your current working directory.
2626

2727
[id="cnf-about-collecting-low-latency-data_{context}"]
28-
== About collecting low latency tuning data
28+
== Gathering low latency tuning data
2929

3030
Use the `oc adm must-gather` CLI command to collect information about your cluster, including features and objects associated with low latency tuning, including:
3131

3232
* The Node Tuning Operator namespaces and child objects.
3333
* `MachineConfigPool` and associated `MachineConfig` objects.
3434
* The Node Tuning Operator and associated Tuned objects.
35-
* Linux Kernel command line options.
35+
* Linux kernel command line options.
3636
* CPU and NUMA topology
3737
* Basic PCI device information and NUMA locality.
3838

39-
To collect debugging information with `must-gather`, you must specify the Performance Addon Operator `must-gather` image:
40-
41-
[source,terminal,subs="attributes+"]
42-
----
43-
--image=registry.redhat.io/openshift4/performance-addon-operator-must-gather-rhel8:v{product-version}.
44-
----
45-
46-
[NOTE]
47-
====
48-
In earlier versions of {product-title}, the Performance Addon Operator provided automatic, low latency performance tuning for applications. In {product-title} 4.11 and later, this functionality is part of the Node Tuning Operator. However, you must still use the `performance-addon-operator-must-gather` image when running the `must-gather` command.
49-
====
50-
51-
[id="cnf-about-gathering-data_{context}"]
52-
== Gathering data about specific features
53-
54-
You can gather debugging information about specific features by using the `oc adm must-gather` CLI command with the `--image` or `--image-stream` argument. The `must-gather` tool supports multiple images, so you can gather data about more than one feature by running a single command.
55-
56-
[NOTE]
57-
====
58-
To collect the default `must-gather` data in addition to specific feature data, add the `--image-stream=openshift/must-gather` argument.
59-
====
60-
61-
[NOTE]
62-
====
63-
In earlier versions of {product-title}, the Performance Addon Operator provided automatic, low latency performance tuning for applications. In {product-title} 4.11, these functions are part of the Node Tuning Operator. However, you must still use the `performance-addon-operator-must-gather` image when running the `must-gather` command.
64-
====
65-
6639
.Prerequisites
6740

6841
* Access to the cluster as a user with the `cluster-admin` role.
@@ -72,26 +45,55 @@ In earlier versions of {product-title}, the Performance Addon Operator provided
7245

7346
. Navigate to the directory where you want to store the `must-gather` data.
7447

75-
. Run the `oc adm must-gather` command with one or more `--image` or `--image-stream` arguments. For example, the following command gathers both the default cluster data and information specific to the Node Tuning Operator:
48+
. Collect debugging information by running the following command:
7649
+
77-
[source,terminal,subs="attributes+"]
50+
[source,terminal]
7851
----
79-
$ oc adm must-gather \
80-
--image-stream=openshift/must-gather \ <1>
81-
82-
--image=registry.redhat.io/openshift4/performance-addon-operator-must-gather-rhel8:v{product-version} <2>
52+
$ oc adm must-gather
8353
----
8454
+
85-
<1> The default {product-title} `must-gather` image.
86-
<2> The `must-gather` image for low latency tuning diagnostics.
55+
.Example output
56+
+
57+
[source,terminal]
58+
----
59+
[must-gather ] OUT Using must-gather plug-in image: quay.io/openshift-release
60+
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
61+
ClusterID: 829er0fa-1ad8-4e59-a46e-2644921b7eb6
62+
ClusterVersion: Stable at "<cluster_version>"
63+
ClusterOperators:
64+
All healthy and stable
65+
66+
67+
[must-gather ] OUT namespace/openshift-must-gather-8fh4x created
68+
[must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-rhlgc created
69+
[must-gather-5564g] POD 2023-07-17T10:17:37.610340849Z Gathering data for ns/openshift-cluster-version...
70+
[must-gather-5564g] POD 2023-07-17T10:17:38.786591298Z Gathering data for ns/default...
71+
[must-gather-5564g] POD 2023-07-17T10:17:39.117418660Z Gathering data for ns/openshift...
72+
[must-gather-5564g] POD 2023-07-17T10:17:39.447592859Z Gathering data for ns/kube-system...
73+
[must-gather-5564g] POD 2023-07-17T10:17:39.803381143Z Gathering data for ns/openshift-etcd...
74+
75+
...
76+
77+
Reprinting Cluster State:
78+
When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
79+
ClusterID: 829er0fa-1ad8-4e59-a46e-2644921b7eb6
80+
ClusterVersion: Stable at "<cluster_version>"
81+
ClusterOperators:
82+
All healthy and stable
83+
----
8784

8885
. Create a compressed file from the `must-gather` directory that was created in your working directory. For example, on a computer that uses a Linux operating system, run the following command:
8986
+
9087
[source,terminal]
9188
----
92-
$ tar cvaf must-gather.tar.gz must-gather.local.5421342344627712289/ <1>
89+
$ tar cvaf must-gather.tar.gz must-gather-local.5421342344627712289// <1>
9390
----
9491
+
95-
<1> Replace `must-gather-local.5421342344627712289/` with the actual directory name.
92+
<1> Replace `must-gather-local.5421342344627712289//` with the directory name created by the `must-gather` tool.
93+
+
94+
[NOTE]
95+
====
96+
Create a compressed file to attach the data to a support case or to use with the Performance Profile Creator wrapper script when you create a performance profile.
97+
====
9698

9799
. Attach the compressed file to your support case on the link:https://access.redhat.com/[Red Hat Customer Portal].

modules/cnf-gathering-data-about-cluster-using-must-gather.adoc

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,9 @@
88

99
The Performance Profile Creator (PPC) tool requires `must-gather` data. As a cluster administrator, run the `must-gather` command to capture information about your cluster.
1010

11-
[NOTE]
12-
====
13-
In earlier versions of {product-title}, the Performance Addon Operator provided automatic, low latency performance tuning for applications. In {product-title} 4.11 and later, this functionality is part of the Node Tuning Operator. However, you must still use the `performance-addon-operator-must-gather` image when running the `must-gather` command.
14-
====
15-
1611
.Prerequisites
1712

1813
* Access to the cluster as a user with the `cluster-admin` role.
19-
* Access to the Performance Addon Operator `must gather` image.
2014
* The OpenShift CLI (`oc`) installed.
2115
2216
.Procedure
@@ -45,27 +39,21 @@ $ oc label mcp <mcp_name> <mcp_name>=""
4539

4640
. Navigate to the directory where you want to store the `must-gather` data.
4741

48-
. Run `must-gather` on your cluster:
42+
. Collect cluster information by running the following command:
4943
+
5044
[source,terminal]
5145
----
52-
$ oc adm must-gather --image=<PAO_must_gather_image> --dest-dir=<dir>
46+
$ oc adm must-gather
5347
----
54-
+
55-
[NOTE]
56-
====
57-
The `must-gather` command must be run with the `performance-addon-operator-must-gather` image. The output can optionally be compressed. Compressed output is required if you are running the Performance Profile Creator wrapper script.
58-
====
59-
+
60-
.Example
61-
+
62-
[source,terminal,subs="attributes+"]
63-
----
64-
$ oc adm must-gather --image=registry.redhat.io/openshift4/performance-addon-operator-must-gather-rhel8:v{product-version} --dest-dir=<path_to_must-gather>/must-gather
65-
----
66-
. Create a compressed file from the `must-gather` directory:
48+
49+
. Optional: Create a compressed file from the `must-gather` directory:
6750
+
6851
[source,terminal]
6952
----
7053
$ tar cvaf must-gather.tar.gz must-gather/
7154
----
55+
+
56+
[NOTE]
57+
====
58+
Compressed output is required if you are running the Performance Profile Creator wrapper script.
59+
====

modules/cnf-understanding-low-latency.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
[id="cnf-understanding-low-latency_{context}"]
77
= Understanding low latency
88

9-
The emergence of Edge computing in the area of Telco / 5G plays a key role in
10-
reducing latency and congestion problems and improving application performance.
9+
The emergence of Edge computing in the area of Telco / 5G plays a key role in reducing latency and congestion problems and improving application performance.
1110

1211
Simply put, latency determines how fast data (packets) moves from the sender to receiver and returns to the sender after processing by the receiver. Maintaining a network architecture with the lowest possible delay of latency speeds is key for meeting the network performance requirements of 5G. Compared to 4G technology, with an average latency of 50 ms, 5G is targeted to reach latency numbers of 1 ms or less. This reduction in latency boosts wireless throughput by a factor of 10.
1312

@@ -38,4 +37,3 @@ In an ideal world, all of those would be prioritized: in real life, some come at
3837

3938
The environment in which an application is operating influences its behavior. For a typical data center with no strict latency requirements, only minimal default tuning is needed that enables CPU partitioning for some high performance workload pods. For data centers and workloads where latency is a higher priority, measures are still taken to optimize power consumption. The most complicated cases are clusters close to latency-sensitive equipment such as manufacturing machinery and software-defined radios. This last class of deployment is often referred to as Far edge. For Far edge deployments, ultra-low latency is the ultimate priority, and is achieved at the expense of power management.
4039

41-
In {product-title} version 4.10 and previous versions, the Performance Addon Operator was used to implement automatic tuning to achieve low latency performance. Now this functionality is part of the Node Tuning Operator.

scalability_and_performance/cnf-low-latency-tuning.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ include::modules/cnf-collecting-low-latency-tuning-debugging-data-for-red-hat-su
8181
[role="_additional-resources"]
8282
.Additional resources
8383

84+
* For more information about the `must-gather` tool, see xref:../support/gathering-cluster-data.adoc#gathering-cluster-data[Gathering data about your cluster]
85+
8486
* For more information about MachineConfig and KubeletConfig,
8587
see xref:../nodes/nodes/nodes-nodes-managing.adoc#nodes-nodes-managing[Managing nodes].
8688

0 commit comments

Comments
 (0)