You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Driver Toolkit, which enables entitlement-free deployments of the GPU Operator, is available for certain z-streams on OpenShift
21
-
4.8 and all z-streams on OpenShift 4.9. However, some Driver Toolkit images are broken, so we recommend maintaining entitlements for
22
-
all OpenShift versions prior to 4.9.9. See :ref:`broken driver toolkit <broken-dtk>` for more information.
20
+
**Entitled NVIDIA driver builds are deprecated and not supported starting with Red Hat OpenShift 4.10.**
23
21
24
-
The **NVIDIA GPU Operator** deploys several pods used to manage and enable GPUs for use in the OpenShift Container Platform.
25
-
Some of these Pods require packages that are not available by default in the Universal Base Image (UBI) that OpenShift Container
26
-
Platform uses. To make packages available to the NVIDIA GPU driver container, you must enable cluster-wide entitled container builds in OpenShift.
22
+
The Driver Toolkit (DTK) enables entitlement-free deployments of the GPU Operator. In the past, entitled builds were used pre-DTK and for some OpenShift versions where Driver Toolkit images were broken.
27
23
28
-
At a high level, enabling a cluster-wide entitlement involves three steps:
24
+
If you encounter the :ref:`"broken driver toolkit detected" <broken-dtk>` warning on OpenShift 4.10 or later, you should :ref:`troubleshoot <broken-dtk-troubleshooting>` to find the root cause instead of falling back to entitled driver builds.
29
25
30
-
#. Download Red Hat OpenShift Container Platform subscription certificates from the `Red Hat Customer Portal <https://access.redhat.com/>`_ (access requires login credentials).
26
+
If the broken DTK warning is encountered on an older version of OpenShift, refer to the documentation for an older version of the NVIDIA GPU operator to enable entitled builds. Keep in mind that older versions of OpenShift might no longer be supported.
31
27
32
-
#. Create a ``MachineConfig`` that enables the subscription manager and provides a valid subscription certificate. Wait for the ``MachineConfigOperator`` to reboot the node and finish applying the ``MachineConfig``.
28
+
.. _broken-dtk-troubleshooting:
33
29
34
-
#. Validate that cluster-wide entitlement is working properly.
30
+
Troubleshooting Broken Driver Toolkit Errors
31
+
--------------------------------------------
35
32
36
-
These instructions assume you downloaded an entitlement encoded in base64 from the `Red Hat Customer Portal <https://access.redhat.com/>`_ or extracted it from an existing node.
33
+
The most likely reason for the broken DTK message is Node Feature Discovery (NFD) not working correctly. NFD might be disabled, failing, or not updating the kernel version label for other reasons. Another cause might be a missing or incomplete DTK image stream, e.g. because of broken mirroring.
37
34
38
-
Creating entitled containers requires that you assign machine configuration that has a valid Red Hat entitlement certificate to your worker nodes. This step is necessary because Red Hat Enterprise Linux (RHEL) CoreOS nodes are not yet automatically entitled.
35
+
Follow these steps for initial troubleshooting of Node Feature Discovery:
39
36
40
-
.. _obtain-entitlement:
41
-
42
-
Obtaining an entitlement certificate
43
-
---------------------------------------
44
-
45
-
Follow the guidance below to edit obtain the entitlement certificate.
46
-
47
-
#. Navigate to the `Red Hat Customer Portal systems management page <https://access.redhat.com/management/systems/>`_ and click **New**.
48
-
49
-
.. image:: graphics/cluster_entitlement_1.png
50
-
51
-
#. Select **Hypervisor** and populate the **Name** field with the text **OpenShift-Entitlement**.
52
-
53
-
.. image:: graphics/entitlement_hypervisor.png
54
-
55
-
#. Click **CREATE**.
56
-
57
-
#. Select the **Subscriptions** tab and click **Attach Subscriptions**.
58
-
59
-
.. image:: graphics/cluster_entitlement_3.png
60
-
61
-
#. Search for **Red Hat Developer Subscription** [content here may vary according to accounts], select one of them and click **Attach Subscriptions**.
62
-
63
-
.. note::
64
-
The **Red Hat Developer Subscription** is choosen here purely for illustrating this example. Choose an appropriate subscription relevant for your your needs.
65
-
66
-
#. Click **Download Certificates**.
67
-
68
-
.. image:: graphics/cluster_entitlement_5.png
69
-
70
-
#. Download and extract the file.
71
-
72
-
#. Extract the key *<key>.pem* and test it with this command:
73
-
74
-
.. code-block:: console
75
-
76
-
$ curl -E <key>.pem -Sfs -k https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml | head -3
77
-
78
-
.. note::
79
-
80
-
With a valid key, `curl` downloads the repository entrypoint and shows its `head` shown in the example below.
81
-
82
-
With an invalid key, `curl` download is refused by the Red Hat package mirror.
Use the following procedure to add a cluster-wide entitlement:
94
-
95
-
#. Create a local appropriately named directory. Change to this directory.
96
-
97
-
#. Download the :download:`machine config YAML template <download/0003-cluster-wide-machineconfigs.yaml.template>` for cluster-wide entitlements on OpenShift Container Platform. Save the downloaded file ``0003-cluster-wide-machineconfigs.yaml.template`` to the directory created in step 1.
98
-
99
-
#. Copy the selected ``pem`` file from your entitlement certificate to a local file named ``nvidia.pem``:
Here you can see that the MCP is updated, not updating or degraded, so all the ``MachineConfig`` resources have been successfully applied to the nodes and you can proceed to validate the cluster.
150
-
151
-
Validate the cluster-wide entitlement
152
-
---------------------------------------
153
-
154
-
Validate the cluster-wide entitlement with a test pod that queries a Red Hat subscription repo for the kernel-devel package.
Follow the guidance below to edit your cluster subscription setting and obtain the entitlement.
10
+
.. important::
11
11
12
-
#. Navigate to `https://access.redhat.com/management/systems/`` and click **New**.
13
-
Log in to `access.redhat.com <https://console.redhat.com/>`_ .
12
+
**Entitled NVIDIA driver builds are deprecated and not supported.**
14
13
15
-
#. Fill "Virtual Server", "x86_64", 1 core, RHEL 8, and click Create.
16
-
17
-
.. image:: graphics/locate-cluster-acm.png
18
-
19
-
#. Go to the "Subscription" page and click "Attach Subscriptions"r.
20
-
21
-
#. Search for "Red Hat Developer Subscription" [content here may vary according to accounts], tick one of them and click "Attach Subscriptions".
22
-
23
-
#. Click "Download Certificates"
24
-
25
-
#. Download and extract the file.
26
-
27
-
#. Extract the key from "consumer_export.zip/export/entitlement_certificates/<key>.pem" and test it with this command:
14
+
If you encounter issues with the NVIDIA GPU driver build that might require entitlement, please refer to the Driver Toolkit (DTK) troubleshooting section: :ref:`broken-dtk-troubleshooting`
Copy file name to clipboardExpand all lines: openshift/steps-overview.rst
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,13 +120,15 @@ A fix for this issue has been merged in the following releases:
120
120
About the Broken Driver Toolkit
121
121
*******************************
122
122
123
-
OpenShift 4.8.19, 4.8.21, 4.9.8 are known to have a broken Driver Toolkit image.
124
-
The following messages are recorded in the driver pod containers.
125
-
Follow the guidance in :ref:`enabling a Cluster-wide entitlement <cluster-entitlement>`.
126
-
Afterward, the ``nvidia-driver-daemonset`` automatically uses an entitlement-based fallback.
123
+
.. important::
124
+
125
+
**Entitled NVIDIA driver builds are deprecated and not supported.**
126
+
127
+
OpenShift 4.8.19, 4.8.21, 4.9.8 are known to have a broken Driver Toolkit image. However, on newer OpenShift versions the driver builds rely on Driver Toolkit (DTK). With these versions, entitled builds are not supported and might not work.
128
+
129
+
When the DTK image is broken, the following messages are recorded in the driver pod containers. Follow the guidance in :ref:`broken-dtk-troubleshooting` to troubleshoot the underlying issue.
127
130
128
-
To disable the use of Driver Toolkit image altogether, edit the cluster policy instance and set ``operator.use_ocp_driver_toolkit`` option to ``false``.
129
-
Also, we recommend maintaining entitlements for OpenShift versions < 4.9.9.
131
+
If you need to force entitled builds, disable the use of Driver Toolkit image by editing the cluster policy instance and setting ``operator.use_ocp_driver_toolkit`` option to ``false``.
130
132
131
133
#. View the logs from the OpenShift Driver Toolkit container:
Copy file name to clipboardExpand all lines: openshift/troubleshooting-gpu-ocp.rst
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,11 +194,9 @@ This is an illustrated example of a situation where the deployment of the Operat
194
194
195
195
FATAL: failed to install elfutils packages. RHEL entitlement may be improperly deployed
196
196
197
-
This message maybe associated with the unsuccessful deployment of the driver toolkit. To confirm the driver toolkit is successfully deployed follow the guidance in :ref:`verify_toolkit`.
198
-
If you see this message a workaround is to edit the created ``gpu-cluster-policy`` YAML file in the OpenShift Container Platform console and set ``use_ocp_driver_toolkit`` to ``false``.
199
-
200
-
Set up the entitlement.
201
-
Refer to :ref:`cluster-entitlement` for more information.
197
+
This message may be associated with the unsuccessful deployment of the driver toolkit. To confirm the driver toolkit is successfully deployed follow the guidance in :ref:`verify_toolkit`.
198
+
If you see this message, you should troubleshoot the underlying issue instead of relying on RHEL entitlement. Entitled driver builds are deprecated and not supported on recent versions of Red Hat OpenShift.
199
+
See :ref:`broken-dtk-troubleshooting` for more information.
0 commit comments