Workaround for LP#1712808?

Bug #1889307 reported by Paul Goins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snap Layer
New
Undecided
Unassigned

Bug Description

Charms building upon layer-snap, when deployed to privileged LXD containers, can run into bug https://pad.lv/1712808.
(Concrete example: https://pastebin.ubuntu.com/p/sYz9h5frDF/)

As that bug has been open for quite some time, I'm being forced to work around it via the retry method - in my case, trying to install "core" first, ignoring any errors, then installing the snaps that I care about.

This means that while I can use layer-snap for its infrastructure, I am removing my list of snaps to install from layer.yaml and am calling snap.install() during my install hook.

As https://pad.lv/1712808 has been around for some time now - should we consider adding a workaround to layer-snap so things "just work"? Or would that be encouraging bad practices and instead we should handle this on a case-by-case basis like I'm doing now?

Thanks for your attention.

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.