From 16e2e358124ea77888e7a91981a7b3477595c552 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Thu, 17 Aug 2023 21:53:07 +0200 Subject: [PATCH] Fix Pulp commands used to upload NVIDIA driver The `pulp file repository add` command is deprecated. It is suggested to use `pulp file repository content add` instead. The `pulp file distribution update` did not work because no distribution existed yet. Switch to `pulp file distribution create`. --- source/gpus_in_openstack.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gpus_in_openstack.rst b/source/gpus_in_openstack.rst index e7facac..4fce6e5 100644 --- a/source/gpus_in_openstack.rst +++ b/source/gpus_in_openstack.rst @@ -47,9 +47,9 @@ running in a CI environment. pulp artifact upload --file ~/NVIDIA-GRID-Linux-KVM-525.105.14-525.105.17-528.89.zip pulp file content create --relative-path "NVIDIA-GRID-Linux-KVM-525.105.14-525.105.17-528.89.zip" --sha256 c8e12c15b881df35e618bdee1f141cbfcc7e112358f0139ceaa95b48e20761e0 pulp file repository create --name nvidia - pulp file repository add --name nvidia --sha256 c8e12c15b881df35e618bdee1f141cbfcc7e112358f0139ceaa95b48e20761e0 --relative-path "NVIDIA-GRID-Linux-KVM-525.105.14-525.105.17-528.89.zip" + pulp file repository content add --repository nvidia --sha256 c8e12c15b881df35e618bdee1f141cbfcc7e112358f0139ceaa95b48e20761e0 --relative-path "NVIDIA-GRID-Linux-KVM-525.105.14-525.105.17-528.89.zip" pulp file publication create --repository nvidia - pulp file distribution update --name nvidia --base-path nvidia --repository nvidia + pulp file distribution create --name nvidia --base-path nvidia --repository nvidia The file will then be available at ``/pulp/content/nvidia/NVIDIA-GRID-Linux-KVM-525.105.14-525.105.17-528.89.zip``. You will need to set the ``vgpu_driver_url`` configuration option to this value: