Now that "snapd" snap is seeded into the base image of focal along with
core18 for "lxd" snap . That actually solves the original issue in a
different way. We no longer have to upload "snapd" snap using a charm
resource.
Bionic is still affected, but I don't think it's common for new
deployments
** Summary changed:
- snap installation with core18 fails at 'Ensure prerequisites for "etcd" are
available' in air-gapped environments as snapd always requires core(16)
+ snap installation with core18 fails at 'Ensure prerequisites for "etcd" are
available' in air-gapped environments as snapd
I'm marking the snapd task as invalid as it seems to be a problem with
the set of snaps available in offline mode.
** Changed in: snapd
Status: New => Invalid
** Changed in: snapd (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of
I'm not sure there was a fix or anything, the original message was:
> $ sudo snap install ./etcd_230.snap
> error: cannot perform the following tasks:
> - Ensure prerequisites for "etcd" are available (cannot install system snap
> "snapd": Post https://api.snapcraft.io/v2/snaps/refresh: dial
> On top of the already existing snaps, can you also download the snapd snap
> and ack its assertion?
>
> So the command sequence looks like this:
>
> snap download snapd
> snap download core18
> snap download etcd
>
> # on the host
> snap ack ./snapd_*.assert
> snap ack ./core18_*.assert
>
On top of the already existing snaps, can you also download the snapd
snap and ack its assertion?
So the command sequence looks like this:
snap download snapd
snap download core18
snap download etcd
# on the host
snap ack ./snapd_*.assert
snap ack ./core18_*.assert
snap ack ./etcd_*.assert
sudo
** Summary changed:
- snap installation with core18 fails at 'Ensure prerequisites for "etcd" are
available' in air-gapped environments
+ snap installation with core18 fails at 'Ensure prerequisites for "etcd" are
available' in air-gapped environments as snapd always requires core(16)
--
You