Closed cam-nisimura closed 1 year ago
Looks like the container failed to start. Check the logs in /var/log/lxc/, there's probably something wrong with mounts or your cgroups.
I have the same issue. I wonder if this is a issue with the regex used in rootfs_path
.
config_entry = config_string.match(/^lxc\.rootfs\s+=\s+(.+)$/)[1]
It seems to look for a line such as
lxc.rootfs = /var/lib/lxc/magentodev_default_1544605944346_24311/rootfs
when the config file actually contains
lxc.rootfs.path = dir:/var/lib/lxc/magentodev_default_1544605944346_24311/rootfs
I tried to replace the current regex with /^lxc\.rootfs\.path\s+=\s+dir:(.+)$/
and it worked (in my case).
I had the same problem when running vagrant package
. The container starts and runs just fine, though. Changing the config_string
regex per @simonbru also solved the problem for me.
Same here. Fixed regex by @simonbru works like a charm :+1:
I was experiencing this issue as well inside a fresh Debian 10 VM with the latest Vagrant downloaded from vagrantup.com and the latest vagrant-lxc plugin installed via vagrant plugin install vagrant-lxc
. simonbru's fix above also resolved the issue for me.
It seems this issue is not there in the latest master. To get it up and running, I made changes here: https://github.com/rvanlaar/vagrant-lxc/
Install instructions are here: https://github.com/fgrehm/vagrant-lxc/wiki/Development
Hey, sorry for the silence here but this project is looking for maintainers :sweat_smile:
As per https://github.com/fgrehm/vagrant-lxc/issues/499, I've added the ignored
label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue :wave:
After building box from "visibilityspots/centos-6.x-puppet-4.x", "vagrant package" failed by
The logs for "VAGRANT_LOG=debug vagrant package" are following;