Comment 0 for bug 1837710

Revision history for this message
Peter Jose De Sousa (pjds) wrote : gpu package versions cause install failure

When deploying a CDK on a GPU enabled machine, upon removing containerd, and adding Docker the hook will fail due to left-over packages.

Error here: https://pastebin.canonical.com/p/BjDntBxGXh/

In addtion containerd leaves "/etc/apt/sources.list.d/nvidia-container-runtime.list" over after removal.

Steps to reproduce:

1. Deploy CDK using latest stable on GPU enabled machine, upgrade containerd to edge
2. Let deployment settle.
3. Remove containerd
4. Allow to settle
5. Add docker runtime, install should fail with downgrade error

Expected Behaviour:

Docker installs, downgrading package; or containerd removes all related packages upon containerd `relation-removed`.

Actual Behaviour:

Docker fails to install due to package downgrade warning.

Cheers,

Peter