nvidia purge+reinstall is too easy to trigger

Bug #1982894 reported by Adam Dyess
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Containerd Subordinate Charm
Fix Released
Wishlist
Unassigned

Bug Description

Contingent on the merge of https://github.com/charmed-kubernetes/charm-containerd/pull/73

the behavior of containerd is to purge/reinstall nvidia drivers based on config changes

changing any of the following config:
    nvidia_apt_key_urls
    nvidia_apt_sources
    nvidia_apt_packages

triggers a purge and re-install of the nvidia packages

Please have the charm only purge/reinstall packages if changes to this config should actually TRIGGER an package update

Secondarily, please change the update-packages action to support a --force reinstall to manually override the package upgrade blocks if there is no upgrade available

Adam Dyess (addyess)
Changed in charm-containerd:
importance: Undecided → Wishlist
Changed in charm-containerd:
status: New → In Progress
Revision history for this message
Chris Johnston (cjohnston) wrote :

The fix for config-change of `nvidia_apt_key_urls` will be released with ck1.25

https://github.com/charmed-kubernetes/charm-containerd/pull/75

Revision history for this message
Chris Johnston (cjohnston) wrote :

Add force option to upgrade-packages gpu: https://github.com/charmed-kubernetes/charm-containerd/pull/76

Revision history for this message
Kevin W Monroe (kwmonroe) wrote :

Force option (comment #2) scheduled for 1.26.

Changed in charm-containerd:
status: In Progress → Triaged
milestone: none → 1.26
Changed in charm-containerd:
status: Triaged → Fix Committed
Adam Dyess (addyess)
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.