snap microstack installation error on arch (update-alternative and ovsdb service not found)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MicroStack |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Recently i tried to install microstack on my arch linux machine. i've already followd the guide on snapcraft website, i install snapd package on aur with yay. when i install microstack on channel edge, i get the following error:
error: cannot perform the following tasks:
- Run install hook of "microstack" snap if present (run hook "install":
-----
+ set-default-config
+ snapctl set config.
+ snapctl set config.
+ snapctl set config.
+ snapctl set config.
+ snapctl set config.
+ snapctl set cluster.
+ snapctl set config.
+ mkdir -p /var/snap/
+ mkdir -p /var/snap/
+ cp /snap/microstac
+ echo 'Installing configuration for OpenStack Services'
Installing configuration for OpenStack Services
+ for project in neutron nova keystone glance
+ mkdir -p /var/snap/
+ cp -r /snap/microstac
+ for project in neutron nova keystone glance
+ mkdir -p /var/snap/
+ cp -r /snap/microstac
+ for project in neutron nova keystone glance
+ mkdir -p /var/snap/
+ cp -r '/snap/
cp: cannot stat '/snap/
+ true
+ for project in neutron nova keystone glance
+ mkdir -p /var/snap/
+ cp -r '/snap/
cp: cannot stat '/snap/
+ true
+ mkdir -p /var/snap/
+ /snap/microstac
/snap/microstac
-----)
indicating this package on edge using update-alternative, which not found on arch. then i tried to install from channel candidate. and i get the following error:
error: cannot perform the following tasks:
- Start snap "microstack" (171) services ([start snap.microstack
See "systemctl status snap.microstack
the content when i check systemctl, indicating ovsdb-server service not installed or included on the package:
● snap.microstack
Loaded: not-found (Reason: Unit snap.microstack
Active: failed (Result: exit-code) since Wed 2020-02-12 12:37:12 WIB; 34min ago
Feb 12 12:37:12 TeaParty systemd[1]: snap.microstack
Feb 12 12:37:12 TeaParty systemd[1]: Stopped Service for snap application microstack.
Feb 12 12:37:12 TeaParty systemd[1]: snap.microstack
Feb 12 12:37:12 TeaParty systemd[1]: snap.microstack
Feb 12 12:37:12 TeaParty systemd[1]: Failed to start Service for snap application microstack.
Changed in microstack: | |
status: | New → Incomplete |
tags: | added: arch |
I suspect that this is related to the general breakage with version 204 of the snap (https:/ /bugs.launchpad .net/microstack /+bug/1862911)
If you uninstall the snap, then try reinstalling from edge, do you get further?
(Note that MicroStack support outside of Ubuntu 16.04 and Ubuntu 18.04 isn't as complete as we'd like. We're currently doing some work to improve the situation. Updates are generally posted to https:/ /bugs.launchpad .net/microstack /+bug/1860660.)