← Back to team overview

cloud-init-dev team mailing list archive

Re: [Merge] ~chad.smith/cloud-init:bug/1840080-ubuntu-drivers-emit-latelink-v2 into cloud-init:master

 

Just validated on Eoan that this package properly sets up linux/nvidia/latelink true via debconf-get-selections.


The ubuntu-drivers-common package fixes has not yet published to Eoan. So, end-to-end validation will not be possible until an updated ubuntu-drivers-common and linux-modules-nvidia* is published.

As it is, this behavior paves the way for the ubuntu-drivers-common/linux-modules-nvidia package features.


# cloud-init properly registers and sets linux/nvidia/latelink : true
ubuntu@ip-172-31-30-68:~$ sudo debconf-get-selections  | egrep 'cloud-init|late'
cloud-init	linux/nvidia/latelink	boolean	true
cloud-init	cloud-init/datasources	multiselect	NoCloud, ConfigDrive, OpenNebula, DigitalOcean, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, SmartOS, Bigstep, Scaleway, AliYun, Ec2, CloudStack, Hetzner, IBMCloud, None

# ubuntu-drivers-common was installed, but no linux-modules-nvidia-* yet
dpkg -l | egrep 'cloud-init|nvidia|ubuntu-drivers'
ii  cloud-init                     19.2-21-gcdd84698-1~bddeb   all          Init scripts for cloud instances
ii  cloud-initramfs-copymods       0.44ubuntu1                 all          copy initramfs modules into root filesystem for later use
ii  cloud-initramfs-dyn-netconf    0.44ubuntu1                 all          write a network interface file in /run for BOOTIF
ii  libnvidia-cfg1-430:amd64       430.40-0ubuntu2             amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-compute-430:amd64    430.40-0ubuntu2             amd64        NVIDIA libcompute package
ii  nvidia-compute-utils-430       430.40-0ubuntu2             amd64        NVIDIA compute utilities
ii  nvidia-headless-no-dkms-430    430.40-0ubuntu2             amd64        NVIDIA headless metapackage - no DKMS
ii  nvidia-kernel-source-430       430.40-0ubuntu2             amd64        NVIDIA kernel source package
ii  ubuntu-drivers-common          1:0.7.5                     amd64        Detect and install additional Ubuntu driver packages


### If we manually install linux-modules-nvidia-430-generic, latelink appears set true
ubuntu@ip-172-31-16-66:~$ sudo debconf-get-selections | grep late
cloud-init	linux/nvidia/latelink	boolean	true
linux-modules-nvidia-430-5.2.0-13-generic	linux/nvidia/latelink	booleantrue

# from dpkg -l on eoan-proposed
ii  linux-modules-nvidia-430-5.2.0-13-generic 5.2.0-13.14                 amd64        Linux kernel nvidia modules for version 5.2.0-13


-- 
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/371546
Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:bug/1840080-ubuntu-drivers-emit-latelink-v2 into cloud-init:master.


References