Cannot install microstack, says modprobe operation not permitted

Ubuntu MATE 20.04LTS on GPD Pocket 2 Intel Core-3 7y30 8GB mem

I try to install microstack on my Ubuntu but once succeed but once remove it and reinstall microstack I cannot install says ’

snap install microstack --beta

error: cannot perform the following tasks:

  • Start snap “microstack” (216) services ([start snap.microstack.load-modules.service] failed with exit status 1: Job for snap.microstack.load-modules.service failed because the control process exited with error code.

See “systemctl status snap.microstack.load-modules.service” and “journalctl -xe” for details.

here is the result of systemctl, I really wondering why modprobe doesn’t permit from microstack installer control …

snap.microstack.load-modules.service
Loaded: not-found (Reason: Unit snap.microstack.load-modules.service not found.)
Active: failed (Result: exit-code) since Tue 2020-10-20 23:10:28 JST; 3min 50s ago
Main PID: 158603 (code=exited, status=1/FAILURE)
10月 20 23:10:28 may-Default-string microstack.load-modules[158776]: modprobe: ERROR: could not insert ‘vhost_vsock’: Operation not permitted
10月 20 23:10:28 may-Default-string microstack.load-modules[158776]: modprobe: ERROR: could not insert ‘pci_stub’: Operation not permitted
10月 20 23:10:28 may-Default-string microstack.load-modules[158776]: modprobe: ERROR: could not insert ‘nbd’: Operation not permitted
10月 20 23:10:28 may-Default-string microstack.load-modules[158776]: modprobe: ERROR: could not insert ‘dm_thin_pool’: Operation not permitted
10月 20 23:10:28 may-Default-string microstack.load-modules[158776]: modprobe: ERROR: could not insert ‘dm_snapshot’: Operation not permitted
10月 20 23:10:28 may-Default-string microstack.load-modules[158776]: modprobe: ERROR: could not insert ‘iscsi_tcp’: Operation not permitted
10月 20 23:10:28 may-Default-string microstack.load-modules[158776]: modprobe: ERROR: could not insert ‘target_core_mod’: Operation not permitted
10月 20 23:10:28 may-Default-string systemd[1]: snap.microstack.load-modules.service: Main process exited, code=exited, status=1/FAILURE
10月 20 23:10:28 may-Default-string systemd[1]: snap.microstack.load-modules.service: Failed with result ‘exit-code’.
10月 20 23:10:28 may-Default-string systemd[1]: Failed to start Service for snap application microstack.load-modules.

I reinstall snap/kmod(modprobe) the situation is not changed - the same error has occurred, thus I cannot install.

If any ideas please let me know.

Same here…I’m using ubuntu 18.04 cloud image.
How to fix this problem?

You can only install in devmode with:

sudo snap install microstack --devmode --beta

Follow instructions here: https://microstack.run/docs

I was executing the install in a Ubuntu 18.04 VM over VMWare ESXi and was failing with the same error.

I had to disable open-vm-tools in order to install microstack.

sudo systemctl disable open-vm-tools.service 

Then, reboot the VM.

Once VM is back online run:

sudo snap install microstack --devmode --beta