Evan Lezar
b07cf675ae
Merge branch 'rpm-fix-missing-coreutils-during-install' into 'main'
...
RPM spec: Avoid scriptlet failure during initial system installation
See merge request nvidia/container-toolkit/container-toolkit!432
2023-07-17 16:40:04 +02:00
Evan Lezar
4e0d6f3934
Merge branch 'bump-cuda-12.2.0' into 'main'
...
Bump cuda base image to 12.2.0
See merge request nvidia/container-toolkit/container-toolkit!435
2023-07-11 20:34:36 +02:00
Evan Lezar
cc06766f25
Merge branch 'fix-load-kernel-modules' into 'main'
...
Split internal system package
See merge request nvidia/container-toolkit/container-toolkit!420
2023-06-27 17:36:57 +02:00
Evan Lezar
7c807c2c22
Merge branch 'CNT-4302/cdi-only' into 'main'
...
Skip additional modifications in CDI mode
See merge request nvidia/container-toolkit/container-toolkit!413
2023-06-27 17:08:14 +02:00
Evan Lezar
89781ad6a3
Merge branch 'use-major-minor-for-cuda-version' into 'main'
...
Use *.* pattern when locating libcuda.so
See merge request nvidia/container-toolkit/container-toolkit!397
2023-06-27 16:59:35 +02:00
Evan Lezar
f677245d60
Merge branch 'fix-multiple-driver-roots-wsl' into 'main'
...
Fix bug with multiple driver store paths
See merge request nvidia/container-toolkit/container-toolkit!425
2023-06-27 16:59:33 +02:00
Carlos Eduardo Arango Gutierrez
b063fa40b1
Merge branch 'fix-cdi-spec-permissions' into 'main'
...
Generate CDI specifications with 644 permissions to allow non-root clients to consume them
See merge request nvidia/container-toolkit/container-toolkit!381
2023-06-27 16:27:27 +02:00
Carlos Eduardo Arango Gutierrez
a4e13c5197
Add entry to changelog
...
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
2023-06-27 16:25:24 +02:00
Evan Lezar
4ae775d683
Bump version to 1.13.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-06-27 15:29:19 +02:00
Evan Lezar
234f7ebd5f
Merge branch 'bump-cuda-base-image' into 'main'
...
Bump CUDA baseimage version to 12.1.1
See merge request nvidia/container-toolkit/container-toolkit!412
2023-06-01 14:49:08 +02:00
Evan Lezar
36d1b7d2a5
Merge branch 'treat-log-errors-as-non-fatal' into 'main'
...
Ignore errors when creating debug log file
See merge request nvidia/container-toolkit/container-toolkit!404
2023-06-01 14:48:33 +02:00
Evan Lezar
b776bf712e
Merge branch 'add-mod-probe' into 'main'
...
Add option to load NVIDIA kernel modules
See merge request nvidia/container-toolkit/container-toolkit!409
2023-06-01 14:48:33 +02:00
Evan Lezar
90cbe938c3
Update CHANGELOG for cherry-pick
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-06-01 14:48:33 +02:00
Evan Lezar
2d7bb636b9
Merge branch 'CNT-4285/add-runtime-hook-path' into 'main'
...
Add nvidia-contianer-runtime-hook.path config option
See merge request nvidia/container-toolkit/container-toolkit!401
2023-06-01 14:48:33 +02:00
Evan Lezar
2bcb2d633d
Bump version to 1.13.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-06-01 08:26:59 +02:00
Evan Lezar
fc7c8f7520
Resolve all symlinks in ldcache
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-04-21 17:28:49 +02:00
Evan Lezar
2136266d1d
Make discovery of Xorg libraries optional
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-04-13 18:41:38 +02:00
Evan Lezar
29c6288128
Only update ldcache if it exists
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-04-13 17:18:09 +02:00
Evan Lezar
7f6c9851fe
Bump version to 1.13.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-04-13 13:11:09 +02:00
Evan Lezar
622a0649ce
Bump version to v1.13.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-31 11:35:53 +02:00
Evan Lezar
c46b118f37
Add nvidia-container-runtime.modes.cdi.annotation-prefixes config option.
...
This change adds an nvidia-container-runtime.modes.cdi.annotation-prefixes config
option that defaults to cdi.k8s.io/. This allows the annotation prefixes parsed
for CDI devices to be overridden in cases where CDI support in container engines such
as containerd or crio need to be overridden.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-27 16:36:54 +02:00
Evan Lezar
c13c6ebadb
Inject xorg libs and config in container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-26 17:04:06 +02:00
Evan Lezar
ff2767ee7b
Reorder changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-26 17:03:05 +02:00
Evan Lezar
a3ee58a294
Reorder changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-26 16:51:59 +02:00
Evan Lezar
226c54613e
Also return an error from nvcdi.New
...
This change allows nvcdi.New to return an error in addition to the
constructed library instead of panicing.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-26 16:13:12 +02:00
Evan Lezar
33f6fe0217
Generate a simplified CDI spec by default
...
As simplified CDI spec has no duplicate entities in any single set of container edits.
Furthermore, contianer edits defined at a spec-level are not included in the container
edits for a device.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-24 11:01:46 +02:00
Evan Lezar
5ff206e1a9
Add transform to deduplicate entities in CDI spec
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-24 11:01:23 +02:00
Evan Lezar
9506bd9da0
Fix generation of management CDI spec in containers
...
Since we relied on finding libcuda.so in the LDCache to determine both the CUDA
version and the expected directory for the driver libraries, the generation of the
management CDI specifications fails in containers where the LDCache has not been updated.
This change falls back to searching a set of predefined paths instead when the lookup of
libcuda.so in the cache fails.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-23 15:59:01 +02:00
Evan Lezar
ff92f1d799
Update libnvidia-container
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-23 10:33:26 +02:00
Evan Lezar
685802b1ce
Only init nvml as required when generating CDI specs
...
CDI generation modes such as management and wsl don't require
NVML. This change removes the top-level instantiation of nvmllib
and replaces it with an instanitation in the nvml CDI spec generation
code.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-20 14:24:08 +02:00
Evan Lezar
df40fbe03e
Locate persistenced and fabricmanager sockets at /run instead of /var/run
...
This chagne prefers (non-symlink) sockets at /run over /var/run for
nvidia-persistenced and nvidia-fabricmanager sockets.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-17 09:23:48 +02:00
Evan Lezar
3fcfee88be
Bump version to v1.13.0-rc.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-15 09:26:19 +02:00
Evan Lezar
731168ec8d
Update changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-03-14 15:05:36 +02:00
Evan Lezar
3d12803ab3
Bump version to v1.13.0-rc.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-21 14:24:37 +02:00
Evan Lezar
a168091bfb
Add v1.13.0-rc.1 Changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-21 14:23:52 +02:00
Evan Lezar
569bc1a889
Update Changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-17 10:46:21 +02:00
Evan Lezar
738a2e7343
Bump version to 1.13.0-rc.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-07 11:55:47 +01:00
Evan Lezar
ac5c62c116
Bump CUDA base images to 12.0.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-03 14:25:42 +01:00
Evan Lezar
fea195cc8d
Bump version to v1.12.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-03 13:58:26 +01:00
Evan Lezar
95f859118b
Update changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-02 15:58:00 +01:00
Evan Lezar
069536d598
Bump version to v1.12.0-rc.6
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-02 12:00:08 +01:00
Evan Lezar
5f53ca0af5
Add missing v1.12.0-rc.5 changelog entry
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-02 11:58:44 +01:00
Evan Lezar
5750881cea
Bump version to 1.12.0-rc.5
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-02-01 04:08:57 +01:00
Evan Lezar
5e6f72e8f4
Update changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-01-30 13:40:25 +01:00
Evan Lezar
937f3d0d78
Add changelog for v1.12.0-rc.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2023-01-25 10:37:24 +01:00
Evan Lezar
d3ed27722e
Bump version to 1.12.0-rc.3
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-11-23 21:26:34 +01:00
Evan Lezar
5a56b658ba
Update changelog
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-11-03 14:30:13 +01:00
Evan Lezar
229b46e0ca
Bump version to 1.12.0-rc.2
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-10-10 17:11:53 +02:00
Evan Lezar
896f5b2e9f
Update changelog for v1.12.0-rc.1
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-10-10 12:12:14 +02:00
Evan Lezar
cb0c94cd40
Bump version to v1.11.0
...
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2022-09-05 15:57:57 +02:00