Snap Installtion fails on Arch Linux due to wget/gnutls incompatibility

Bug #1848461 reported by Jonas Kaiser
6
This bug affects 1 person
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/microstack/common/etc/mysql/my.cnf
Using conf file: /var/snap/microstack/common/etc/mysql/my.cnf
Using conf file: /var/snap/microstack/common/etc/mysql/my.cnf
Using conf file: /var/snap/microstack/common/etc/mysql/my.cnf
Using conf file: /var/snap/microstack/common/etc/mysql/my.cnf
Using conf file: /var/snap/microstack/common/etc/mysql/my.cnf
Using conf file: /var/snap/microstack/common/etc/mysql/my.cnf
Using conf file: /var/snap/microstack/common/etc/mysql/my.cnf
Configuring RabbitMQ
              Starting broker... completed with 0 plugins.
Creating user "openstack" ...
Setting permissions for user "openstack" in vhost "/" ...
Waiting for glance to start.
Could not find resource cirros
wget: /snap/microstack/127/usr/lib/x86_64-linux-gnu/libgnutls.so.30: version `GNUTLS_3_6_3' not found (required by wget)
-----)
```

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-10-gaa70833.aa70833 71 stable canonical✓ -
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
Revision history for this message
Pen Gale (pengale) wrote :

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 ...

Changed in microstack:
status: New → Confirmed
importance: Undecided → High
Pen Gale (pengale)
Changed in microstack:
importance: High → Medium
Revision history for this message
Rolf Leggewie (r0lf) wrote :

@petevg, anything left to be done?

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.