码迷,mamicode.com
首页 > 其他好文 > 详细

snap安装microstack出错

时间:2021-03-30 13:19:48      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:isa   fail   哈哈哈   ica   err   orm   reason   get   follow   

官网对于安装microstack的教程非常简单,似乎只是需要几个命令就可以完美解决问题。然而在安装过程中我出现了如下的问题:

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.

具体查看错误是这样的:
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.

有用的解决办法是:
停止 open-vm-tools :

sudo systemctl disable open-vm-tools.service

重启虚拟机,之后重新安装:

sudo snap install microstack --devmode --beta

之后就可以了 哈哈哈

snap安装microstack出错

标签:isa   fail   哈哈哈   ica   err   orm   reason   get   follow   

原文地址:https://www.cnblogs.com/biing/p/14590105.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!