Plumgrid service failed to start
plumgrid.fuse already mounted problem
If using the following command failed to start plumgrid service
# service plumgrid start
try to using the real command to see the error message or check the log
# virsh -c lxc: start plumgrid
If the error message is
start: Job failed to start
root@controller:~# virsh -c lxc: start plumgrid
error: Failed to start domain plumgrid
error: internal error: guest failed to start: mount: according to mtab, libvirt is already mounted on /run/libvirt/lxc/plumgrid.fuse
Unknown failure in libvirt_lxc startup
check if the plumgrid.fuse is mount by
# mount
Solution
Unmount the plumgrid.fuse first and then start the servcie
# umount --fake /run/libvirt/lxc/plumgrid.fuse
# service plumgrid start
or
# vi /etc/mtab
(remove the plumgrid.fuse)
We can add unmount command to /etc/init/plumgrid.conf, and the servcie plumgrid stop should execute the command automatically.
...
post-stop script
virsh -c lxc: destroy plumgrid
umount --fake /run/libvirt/lxc/plumgrid.fuse
end script
...
- check lxc container runnning status
# ps aux | grep launch_
libvirtd not work problem
請檢查libvirtd 是否啟動