Repository navigation
docs(container-toolkit): add 1.20.3 release notes - #549
Open
mikemckiernan wants to merge 2 commits into
Open
mikemckiernan wants to merge 2 commits into
mikemckiernan wants to merge 2 commits into
Conversation
Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
|
||
| Generated CDI specifications include a `void` volume mount. | ||
| When you set `accept-nvidia-visible-devices-as-volume-mounts` to `true`, the `void` mount prevents the NVIDIA Container Runtime from injecting additional devices through volume-mount requests. | ||
| Generated CDI specifications set the `NVIDIA_VISIBLE_DEVICES` environment variable to `void`. |
Contributor
Comment on lines
+21
to
+25
| The CDI specification generated by `v1.20.2` includes a `void` volume mount of `/dev/null`, and the container runtime cannot apply an ID-mapped mount to `/dev/null`. | ||
| Container creation fails with an error such as `failed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument`. | ||
| Generated CDI specifications no longer include the `void` volume mount. | ||
| When `NVIDIA_VISIBLE_DEVICES` is set to `void` or `none`, the NVIDIA Container Runtime ignores device requests through volume mounts. | ||
| Generated CDI specifications set `NVIDIA_VISIBLE_DEVICES=void`, so volume-mount requests still cannot add GPUs to a container in addition to the GPUs selected through CDI. |
Contributor
There was a problem hiding this comment.
Describe the user-visible fix and tell readers to upgrade before regenerating a CDI spec. Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
| The containers failed with an error such as `failed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument`. | ||
| Generated CDI specifications no longer include the `/dev/null` volume mount that caused the error. | ||
| The NVIDIA Container Runtime still prevents volume-mount device requests from adding GPUs in addition to the GPUs that CDI selects. | ||
| If you generated a CDI specification manually, regenerate the specification after you upgrade. |
Contributor
There was a problem hiding this comment.
🔍 Unscoped CDI regeneration advice
The release note tells all readers with manual CDI specifications to regenerate them. The CDI guide limits that instruction to specifications generated with v1.20.2.
Was this helpful? React with 👍 or 👎 to provide feedback.
Documentation preview |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the pending NVIDIA Container Toolkit 1.20.3 bugfix release. The only user-facing change on
release-1.20since v1.20.2 is NVIDIA/nvidia-container-toolkit#2236 (backported as #2238). It fixes #2226, where pods withhostUsers: falsefail to start because of thevoidvolume mount of/dev/nullthat v1.20.2 adds to the CDI spec.release-notes.md: new 1.20.3 section that describes the fix in user-facing terms. Generated specs no longer include the/dev/nullmount, and volume-mount device requests still cannot add GPUs beyond the GPUs that CDI selects. Internally, the runtime ignores volume-mount device requests whenNVIDIA_VISIBLE_DEVICESisvoid/none.cdi-support.md: the paragraph added for 1.20.2 now describes theNVIDIA_VISIBLE_DEVICES=voidmechanism. It tells users who generated a spec manually with v1.20.2 to upgrade and then regenerate, because the v1.20.2 generator re-creates the mount.repo.tomlandversions1.json: version 1.20.3.Dependency bumps on
release-1.20(CDI 1.1.2, cgroups 0.1.1, distroless/go v4.2.2) are not listed, matching earlier release notes.Before merging
release-1.20before the tag.Link to Devin session: https://nvidia-cloud.devinenterprise.com/sessions/0b88f95cbd28449a97bbdd98a629bd09
Open in Devin Desktop: https://nvidia-cloud.devinenterprise.com/desktop/session/0b88f95cbd28449a97bbdd98a629bd09?variant=devin
Requested by: @mikemckiernan