[ARVADOS] created: 2.1.0-1875-gac52d7ee2

Git user git at public.arvados.org
Thu Feb 3 18:57:25 UTC 2022


        at  ac52d7ee23b39779712c702945eb9db7e17dd814 (commit)


commit ac52d7ee23b39779712c702945eb9db7e17dd814
Author: Ward Vandewege <ward at curii.com>
Date:   Thu Feb 3 13:56:53 2022 -0500

    18713: disable the nvidia-persistenced service in the compute image.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/tools/compute-images/scripts/base.sh b/tools/compute-images/scripts/base.sh
index 8ea250878..b30ad38d1 100644
--- a/tools/compute-images/scripts/base.sh
+++ b/tools/compute-images/scripts/base.sh
@@ -207,6 +207,11 @@ if [ "$NVIDIA_GPU_SUPPORT" == "1" ]; then
   fi
   $SUDO apt-get update
   $SUDO apt-get -y install libnvidia-container1 libnvidia-container-tools nvidia-container-toolkit
+  # This service fails to start when the image is booted without Nvidia GPUs present, which makes
+  # `systemctl is-system-running` respond with "degraded" and since that command is our default
+  # BootProbeCommand, compute nodes never finish booting from Arvados' perspective.
+  # Disable the service to avoid this.
+  $SUDO systemctl disable nvidia-persistenced.service
 fi
 
 $SUDO apt-get clean

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list