On Wed, Mar 31, 2021 at 05:20:34PM +0800, Jiatong Shen wrote:
Hello community! I am faced with a mysterious [error]( https://gist.github.com/jshen28/5f29eed51e0a1308684214b35f009478) which says move mount is not permissioned. We are using libvirt with openstack-helm which running libvirt in a docker based k8s environment. /dev/termination-log is a device created and attached by k8s and mount looks like `/dev/mapper/ubuntu--vg-root on /var/log/termination-log type ext4 (rw,relatime,errors=remount-ro,data=ordered)` Any idea why this happens? appreciate the help!
Because libvirt is shielding the VMs inside containers and it needs to move some files in there (bind mount to be precise). You can turn this off in the config file. But to be brutally honest I think you will have some other issues as well and you will have to change few more things here and there. If you want to run libvirt inside a container, then I would suggest you work together with the KubeVirt community  who are already doing that and have some knowledge about what is needed and what are the requirements. Don't reinvent the wheel ;-) Of course if there are some things that we can make better, then we'll be happy to know about them, so that we can make your experience nicer. In that case let us know!  https://kubevirt.io/community/
-- Best Regards, Jiatong Shen
Description: PGP signature