Skip to content

Commit f70c788

Browse files
Update support-providing-diagnostic-data-to-red-hat.adoc
Remove the step by remove the steps in Upload diagnostic data to an existing Red Hat support case directly from an {product-title} cluster directly since the redhat-support-tool has been deprecated in RHEL 8 and will not be shipped in RHEL 9 onwards
1 parent 9e775b9 commit f70c788

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

modules/support-providing-diagnostic-data-to-red-hat.adoc

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -49,51 +49,3 @@ endif::openshift-rosa,openshift-dedicated[]
4949
+
5050
. Select *Attach files* and follow the prompts to upload the file.
5151
52-
* Upload diagnostic data to an existing Red Hat support case directly from an {product-title} cluster.
53-
. Obtain a list of cluster nodes:
54-
+
55-
[source,terminal]
56-
----
57-
$ oc get nodes
58-
----
59-
60-
. Enter into a debug session on the target node. This step instantiates a debug pod called `<node_name>-debug`:
61-
+
62-
[source,terminal]
63-
----
64-
$ oc debug node/my-cluster-node
65-
----
66-
+
67-
. Set `/host` as the root directory within the debug shell. The debug pod mounts the host's root file system in `/host` within the pod. By changing the root directory to `/host`, you can run binaries contained in the host's executable paths:
68-
+
69-
[source,terminal]
70-
----
71-
# chroot /host
72-
----
73-
+
74-
ifndef::openshift-rosa,openshift-dedicated[]
75-
[NOTE]
76-
====
77-
{product-title} {product-version} cluster nodes running {op-system-first} are immutable and rely on Operators to apply cluster changes. Accessing cluster nodes by using SSH is not recommended. However, if the {product-title} API is not available, or the kubelet is not properly functioning on the target node, `oc` operations will be impacted. In such situations, it is possible to access nodes using `ssh core@<node>.<cluster_name>.<base_domain>` instead.
78-
====
79-
+
80-
endif::openshift-rosa,openshift-dedicated[]
81-
. Start a `toolbox` container, which includes the required binaries to run `redhat-support-tool`:
82-
+
83-
[source,terminal]
84-
----
85-
# toolbox
86-
----
87-
+
88-
[NOTE]
89-
====
90-
If an existing `toolbox` pod is already running, the `toolbox` command outputs `'toolbox-' already exists. Trying to start...`. Remove the running toolbox container with `podman rm toolbox-` and spawn a new toolbox container, to avoid issues.
91-
====
92-
+
93-
.. Run `redhat-support-tool` to attach a file from the debug pod directly to an existing Red Hat Support case. This example uses support case ID '01234567' and example file path `/host/var/tmp/my-diagnostic-data.tar.gz`:
94-
+
95-
[source,terminal]
96-
----
97-
# redhat-support-tool addattachment -c 01234567 /host/var/tmp/my-diagnostic-data.tar.gz <1>
98-
----
99-
<1> The toolbox container mounts the host's root directory at `/host`. Reference the absolute path from the toolbox container's root directory, including `/host/`, when specifying files to upload through the `redhat-support-tool` command.

0 commit comments

Comments
 (0)