Snap Installtion fails on Arch Linux due to wget/gnutls incompatibility
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I am trying to set up the microstack snap on my Arch Linux box, but the installation runs into some kind of wget/gnutls problem when fetching the cirros image, I think. Here's the output of the failed snap installation:
```
[jonas@orchid ~]$ sudo snap install microstack --classic --beta
[sudo] password for jonas:
error: cannot perform the following tasks:
- Run configure hook of "microstack" snap if present (run hook "configure":
-----
net.ipv4.ip_forward = 1
Creating OpenStack Databases
Using conf file: /var/snap/
Using conf file: /var/snap/
Using conf file: /var/snap/
Using conf file: /var/snap/
Using conf file: /var/snap/
Using conf file: /var/snap/
Using conf file: /var/snap/
Using conf file: /var/snap/
Configuring RabbitMQ
Creating user "openstack" ...
Setting permissions for user "openstack" in vhost "/" ...
Waiting for glance to start.
Could not find resource cirros
wget: /snap/microstac
-----)
```
Some diagnostic info:
```
[jonas@orchid ~]$ snap --version
snap 2.42-2
snapd 2.42-2
series 16
arch -
kernel 5.3.6-arch1-1-ARCH
```
```
[jonas@orchid ~]$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.42 7917 stable canonical✓ core
core18 20191010 1223 stable canonical✓ base
gnome-3-28-1804 3.28.0-
gtk-common-themes 0.1-25-gcc83164 1353 stable canonical✓ -
hello-world 6.4 29 stable canonical✓ -
snap-store 20190829.daf5512 188 stable canonical✓ -
```
I am not really running Gnome on this system (only a handful of components), and instead use `i3wm` as my window manager. I installed `snapd` from the AUR, as instructed on the web pages and also set up the "classic" symlink and enabled the systemd service.
I do not have a lot of experience with the snap eco system so I cannot tell if the problem here lies with my base snap installation in general, or whether it is a concrete problem with the `microstack` snap itself, but the fact that the hello-world snap runs perfectly fine, suggests the latter.
description: | updated |
Changed in microstack: | |
importance: | High → Medium |
Thank you for the bug report!
This is an issue w/ classic confinement not wrapping everything that I'd like it to wrap.
The issue should be fixed in the latest edge, because we no longer use wget to retrieve the cirros image (we bundle it in the snap).
Leaving this open to remind myself to spin up an Arch vm and verify that wget was the only troublemaker in that context ...