Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions gpu-operator/cdi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,22 +334,3 @@ For this pod to start, ``test-namespace`` must be included in the ``NRI_MANAGEME
- bash
- -c
- sleep infinity


************
Known Issues
************

Pod specifications that set ``spec.hostUsers: false`` to enable Kubernetes user namespaces are not supported.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 User namespace runtime prerequisite

The CDI hook fix relies on crun 1.27 or later. Check whether supported deployments still use older versions and need a narrower compatibility note.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

When a pod runs in its own user namespace, the NVIDIA Container Toolkit ``createContainer`` hook (``nvidia-cdi-hook``)
runs as the remapped user inside the container's user namespace and cannot read the OCI bundle's ``config.json`` to
determine the container root. As a result, container creation fails with an error such as:

.. code-block:: console

Error: container create failed: read status from sync socket: No such process

As a workaround, omit the ``hostUsers`` field or set ``spec.hostUsers: true`` for any pods that request GPUs or that
are managed by the GPU Operator.

Refer to NVIDIA Container Toolkit issue `#648 <https://github.com/NVIDIA/nvidia-container-toolkit/issues/648>`_ for more information.
11 changes: 11 additions & 0 deletions gpu-operator/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,17 @@ Known Issues
To upgrade the driver manager, specify ``--set driver.manager.version=v0.13.0`` with Helm, or set ``spec.driver.manager.version`` to ``v0.13.0`` in the cluster policy.
Changing the driver manager image triggers a :ref:`driver upgrade <gpu-driver-upgrades>` on each node and can evict GPU workloads even when the NVIDIA driver version is unchanged.

* NVIDIA Container Toolkit v1.20.2 adds a ``void`` volume mount of ``/dev/null`` to the generated CDI specification.
Pods that set ``spec.hostUsers: false`` and receive GPUs through CDI fail to start with an error such as the following example:

.. code-block:: console

failed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument

To work around this issue, use NVIDIA Container Toolkit v1.20.3.
Comment thread
devin-ai-integration[bot] marked this conversation as resolved.
Resolved
Specify ``--set toolkit.version=v1.20.3`` with Helm, or set ``spec.toolkit.version`` to ``v1.20.3`` in the cluster policy.
Comment thread
mikemckiernan marked this conversation as resolved.
Resolved
Refer to `NVIDIA Container Toolkit issue #2226 <https://github.com/NVIDIA/nvidia-container-toolkit/issues/2226>`__.

* On systems with NVLink 5 or later, GPU driver pods can prevent containerized DOCA-OFED updates from completing.
Refer to the :ref:`v26.7.2-known-issues` for details and the workaround.

Expand Down