Installation of GPU cude-drivers installs gnome-* packages which can shut the servers down on idle

Bug #2017175 reported by Adam Dyess
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Containerd Subordinate Charm
Fix Released
High
Adam Dyess

Bug Description

installing the cuda-drivers into a 20.04 containerd unit will also install a serious number of gnome desktop packages

https://paste.ubuntu.com/p/YTm3c7cCGM/plain/

The installation of these gnome packages have been reported to even shut the machine down due to inactivity of the desktop manager.

Adam Dyess (addyess)
Changed in charm-containerd:
status: New → Confirmed
importance: Undecided → High
milestone: none → 1.27+ck1
Revision history for this message
Adam Dyess (addyess) wrote :
Revision history for this message
Adam Dyess (addyess) wrote :

It seems that many of the gnome packages are coming in by way of the screeen-resolution-extras package in focal which drags in gnome-shell as a dependency

https://bugs.launchpad.net/ubuntu/+source/screen-resolution-extra/+bug/1930937

If one explicitly adds the package `policykit-1-gnome`, then gnome-shell and the rest of the desktop isn't installed

Workaround:
juju config containerd nvidia_apt_packages='cuda-drivers nvidia-container-runtime policykit-1-gnome'

Adam Dyess (addyess)
Changed in charm-containerd:
assignee: nobody → Adam Dyess (addyess)
Adam Dyess (addyess)
Changed in charm-containerd:
status: Confirmed → Fix Committed
Revision history for this message
Adam Dyess (addyess) wrote :

backport complete to the release_1.27 branch

Changed in charm-containerd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.