fgrehm / vagrant-lxc

LXC provider for Vagrant
MIT License
1.21k stars 181 forks source link

vagrant package: failed in rootfs_path #475

Closed cam-nisimura closed 1 year ago

cam-nisimura commented 5 years ago

After building box from "visibilityspots/centos-6.x-puppet-4.x", "vagrant package" failed by

 /home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/driver.rb:53:in `rootfs_path': undefined method `[]' for nil:NilClass (NoMethodError)

The logs for "VAGRANT_LOG=debug vagrant package" are following;

 INFO global: Vagrant version: 2.1.5
 INFO global: Ruby version: 2.4.4
 INFO global: RubyGems version: 2.6.14.1
 INFO global: VAGRANT_LOG="debug"
 INFO global: VAGRANT_INSTALLER_ENV="1"
 INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
 INFO global: VAGRANT_INSTALLER_VERSION="2"
 INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/bin/vagrant"
 WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/kernel_v1/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/ansible/plugin.rb
 INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/puppet/plugin.rb
 INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/cfengine/plugin.rb
 INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/chef/plugin.rb
 INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/salt/plugin.rb
 INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/docker/plugin.rb
 INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/file/plugin.rb
 INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/provisioners/shell/plugin.rb
 INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/synced_folders/smb/plugin.rb
 INFO manager: Registered plugin: SMB synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/synced_folders/rsync/plugin.rb
 INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/synced_folders/nfs/plugin.rb
 INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/virtualbox/plugin.rb
 INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/docker/plugin.rb
 INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/hyperv/plugin.rb
 INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/pushes/heroku/plugin.rb
 INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/pushes/noop/plugin.rb
 INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/pushes/local-exec/plugin.rb
 INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/pushes/atlas/plugin.rb
 INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/pushes/ftp/plugin.rb
 INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/suse/plugin.rb
 INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/trisquel/plugin.rb
 INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/netbsd/plugin.rb
 INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/kali/plugin.rb
 INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/arch/plugin.rb
 INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/linux/plugin.rb
 INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/elementary/plugin.rb
 INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/photon/plugin.rb
 INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/smartos/plugin.rb
 INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/windows/plugin.rb
 INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/solaris11/plugin.rb
 INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/haiku/plugin.rb
 INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/atomic/plugin.rb
 INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/ubuntu/plugin.rb
 INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/darwin/plugin.rb
 INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/fedora/plugin.rb
 INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/esxi/plugin.rb
 INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/nixos/plugin.rb
 INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/dragonflybsd/plugin.rb
 INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/amazon/plugin.rb
 INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/funtoo/plugin.rb
 INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/mint/plugin.rb
 INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/openbsd/plugin.rb
 INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/coreos/plugin.rb
 INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/omnios/plugin.rb
 INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/tinycore/plugin.rb
 INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/pld/plugin.rb
 INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/solaris/plugin.rb
 INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/bsd/plugin.rb
 INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/guests/debian/plugin.rb
 INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/communicators/winssh/plugin.rb
 INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/communicators/winrm/plugin.rb
 INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/communicators/ssh/plugin.rb
 INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/kernel_v2/plugin.rb
 INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/suse/plugin.rb
 INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/arch/plugin.rb
 INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/gentoo/plugin.rb
 INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/linux/plugin.rb
 INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/windows/plugin.rb
 INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/null/plugin.rb
 INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/freebsd/plugin.rb
 INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/darwin/plugin.rb
 INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/redhat/plugin.rb
 INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/slackware/plugin.rb
 INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/alt/plugin.rb
 INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/hosts/bsd/plugin.rb
 INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/list-commands/plugin.rb
 INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/init/plugin.rb
 INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/help/plugin.rb
 INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/snapshot/plugin.rb
 INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/destroy/plugin.rb
 INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/version/plugin.rb
 INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/powershell/plugin.rb
 INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/ssh_config/plugin.rb
 INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/validate/plugin.rb
 INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/box/plugin.rb
 INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/ssh/plugin.rb
 INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/cap/plugin.rb
 INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/package/plugin.rb
 INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/port/plugin.rb
 INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/push/plugin.rb
 INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/reload/plugin.rb
 INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/rdp/plugin.rb
 INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/provision/plugin.rb
 INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/resume/plugin.rb
 INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/suspend/plugin.rb
 INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/halt/plugin.rb
 INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/provider/plugin.rb
 INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/global-status/plugin.rb
 INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/login/plugin.rb
 INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/plugin/plugin.rb
 INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/status/plugin.rb
 INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/up/plugin.rb
 INFO manager: Registered plugin: up command
 INFO vagrant: `vagrant` invoked: ["package"]
DEBUG vagrant: Creating Vagrant environment
 INFO environment: Environment initialized (#<Vagrant::Environment:0x000000000235b450>)
 INFO environment:   - cwd: /home/nishimura/vagrant/magentodev
 INFO environment: Home path: /home/nishimura/.vagrant.d
DEBUG environment: Effective local data path: /home/nishimura/vagrant/magentodev/.vagrant
 INFO environment: Local data path: /home/nishimura/vagrant/magentodev/.vagrant
DEBUG environment: Creating: /home/nishimura/vagrant/magentodev/.vagrant
DEBUG manager: Enabling localized plugins
 INFO manager: Plugins:
DEBUG bundler: Current generated plugin dependency list: []
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: []
 INFO manager: Loading plugins...
DEBUG manager: Enabling globalized plugins
 INFO manager: Plugins:
 INFO manager:   - vagrant-lxc = [installed: 1.4.3 constraint: > 0]
 INFO manager:   - vagrant-proxyconf = [installed: 1.5.2 constraint: > 0]
 INFO manager:   - vagrant-rsync = [installed: 0.2.5 constraint: > 0]
 INFO manager:   - vagrant-sshfs = [installed: 1.3.1 constraint: > 0]
 INFO manager:   - vagrant-timezone = [installed: 1.2.0 constraint: > 0]
 INFO manager:   - vagrant-vbguest = [installed: 0.16.0 constraint: > 0]
DEBUG bundler: Current generated plugin dependency list: [<Gem::Dependency type=:runtime name="vagrant-lxc" requirements="= 1.4.3">, <Gem::Dependency type=:runtime name="vagrant-proxyconf" requirements="= 1.5.2">, <Gem::Dependency type=:runtime name="vagrant-rsync" requirements="= 0.2.5">, <Gem::Dependency type=:runtime name="vagrant-sshfs" requirements="= 1.3.1">, <Gem::Dependency type=:runtime name="vagrant-timezone" requirements="= 1.2.0">, <Gem::Dependency type=:runtime name="vagrant-vbguest" requirements="= 0.16.0">]
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: Activating solution set: ["vagrant-lxc-1.4.3", "vagrant-proxyconf-1.5.2", "vagrant-rsync-0.2.5", "ffi-1.9.25", "win32-process-0.8.3", "vagrant-sshfs-1.3.1", "vagrant-timezone-1.2.0", "log4r-1.1.10", "i18n-0.8.0", "micromachine-2.0.0", "vagrant-vbguest-0.16.0"]
DEBUG bundler: Activating gem vagrant-lxc-1.4.3
DEBUG bundler: Activating gem vagrant-proxyconf-1.5.2
DEBUG bundler: Activating gem vagrant-rsync-0.2.5
DEBUG bundler: Activating gem win32-process-0.8.3
DEBUG bundler: Activating gem vagrant-sshfs-1.3.1
DEBUG bundler: Activating gem vagrant-timezone-1.2.0
DEBUG bundler: Activating gem micromachine-2.0.0
DEBUG bundler: Activating gem vagrant-vbguest-0.16.0
 INFO manager: Loading plugins...
 INFO manager: Loading plugin `vagrant-lxc` with default require: `vagrant-lxc`
 INFO manager: Registered plugin: vagrant-lxc
DEBUG manager: Successfully loaded plugin `vagrant-lxc`.
 INFO manager: Loading plugin `vagrant-proxyconf` with default require: `vagrant-proxyconf`
 INFO proxyconf: Trying to load vagrant-aws
 INFO proxyconf: Failed to load vagrant-aws: #<LoadError: cannot load such file -- vagrant-aws>
 INFO proxyconf: Ignoring the error
 INFO proxyconf: Trying to load vagrant-omnibus
 INFO proxyconf: Failed to load vagrant-omnibus: #<LoadError: cannot load such file -- vagrant-omnibus>
 INFO proxyconf: Ignoring the error
 INFO proxyconf: Trying to load vagrant-vbguest
 INFO manager: Registered plugin: vagrant-vbguest
 INFO manager: Registered plugin: vagrant-proxyconf
DEBUG manager: Successfully loaded plugin `vagrant-proxyconf`.
 INFO manager: Loading plugin `vagrant-rsync` with default require: `vagrant-rsync`
 INFO manager: Registered plugin: rsync command
DEBUG manager: Successfully loaded plugin `vagrant-rsync`.
 INFO manager: Loading plugin `vagrant-sshfs` with default require: `vagrant-sshfs`
 INFO manager: Registered plugin: SSHFS synced folders
DEBUG manager: Successfully loaded plugin `vagrant-sshfs`.
 INFO manager: Loading plugin `vagrant-timezone` with default require: `vagrant-timezone`
 INFO manager: Registered plugin: vagrant-timezone
DEBUG manager: Successfully loaded plugin `vagrant-timezone`.
 INFO manager: Loading plugin `vagrant-vbguest` with default require: `vagrant-vbguest`
DEBUG manager: Successfully loaded plugin `vagrant-vbguest`.
 INFO loader: Set :root = ["#<Pathname:/home/nishimura/vagrant/magentodev/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/home/nishimura/vagrant/magentodev/Vagrantfile>
DEBUG loader: Load procs for pathname: /home/nishimura/vagrant/magentodev/Vagrantfile
 INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG provisioner: Provisioner defined: 
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO environment: Running hook: environment_plugins_loaded
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x0000000003175db0>
 INFO environment: Running hook: environment_load
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x00000000031b1a68>
DEBUG checkpoint_client: starting plugin check
 INFO cli: CLI: [] "package" []
DEBUG checkpoint_client: plugin check complete
DEBUG cli: Invoking command class: VagrantPlugins::CommandPackage::Command []
DEBUG checkpoint_client: no information received from checkpoint
DEBUG command: package options: {}
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command:  -- names: nil
DEBUG command:  -- options: {:single_target=>true}
DEBUG command: Loading all machines...
 INFO command: Active machine found with name default. Using provider: lxc
 INFO environment: Getting machine: default (lxc)
 INFO environment: Uncached load of machine.
 INFO loader: Set "26363400_machine_default" = []
 INFO loader: Loading configuration in order: [:home, :root, "26363400_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
 INFO box_collection: Box found: visibilityspots/centos-6.x-puppet-4.x (lxc)
 INFO environment: Running hook: authenticate_box_url
 INFO host: Autodetecting host type for [#<Vagrant::Environment: /home/nishimura/vagrant/magentodev>]
DEBUG host: Trying: suse
DEBUG host: Trying: arch
DEBUG host: Trying: gentoo
DEBUG host: Trying: freebsd
DEBUG host: Trying: darwin
DEBUG host: Trying: redhat
DEBUG host: Trying: slackware
DEBUG host: Trying: alt
DEBUG host: Trying: linux
 INFO host: Detected: linux!
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 6 hooks defined.
 INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x000000000325fe10>
 INFO warden: Calling IN action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x0000000003a1f330>
DEBUG client: No authentication token in environment or /home/nishimura/.vagrant.d/data/vagrant_login_token
 INFO warden: Calling OUT action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x0000000003a1f330>
 INFO box_collection: Box found: visibilityspots/centos-6.x-puppet-4.x (lxc)
 INFO environment: Running hook: authenticate_box_url
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 6 hooks defined.
 INFO runner: Running action: authenticate_box_url #<Vagrant::Action::Builder:0x0000000003155c40>
 INFO warden: Calling IN action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x0000000002cfee30>
DEBUG client: No authentication token in environment or /home/nishimura/.vagrant.d/data/vagrant_login_token
 INFO warden: Calling OUT action: #<VagrantPlugins::LoginCommand::AddAuthentication:0x0000000002cfee30>
 INFO machine: Initializing machine: default
 INFO machine:   - Provider: Vagrant::LXC::Provider
 INFO machine:   - Box: #<Vagrant::Box:0x0000000003cbdd30>
 INFO machine:   - Data dir: /home/nishimura/vagrant/magentodev/.vagrant/machines/default/lxc
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "which", "lxc-create"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: /usr/bin/lxc-create
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG lxc: Instantiating the container for: "magentodev_default_1544605944346_24311"
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-ls"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: hawaiiSaipan_default_1543385016797_35929
lxc2_default_1543309899610_49           
lxc_default_1543305665372_57217         
magentodev_default_1544605944346_24311  
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-info", "--name", "magentodev_default_1544605944346_24311"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Name:           magentodev_default_1544605944346_24311
State:          STOPPED
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO interface: Machine: metadata ["provider", :lxc, {:target=>:default}]
 INFO command: With machine: default (#<Vagrant::LXC::Provider:0x0000000003bb8de0 @logger=#<Log4r::Logger:0x0000000003bb8d90 @fullname="vagrant::provider::lxc", @outputters=[], @additive=true, @name="lxc", @path="vagrant::provider", @parent=#<Log4r::Logger:0x00000000029501a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002c789c0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000002c78948>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000292ceb0 @formatter=#<Log4r::BasicFormatter:0x0000000002c90250 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000002950018 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#<Vagrant::Machine: default (Vagrant::LXC::Provider)>, @driver=#<Vagrant::LXC::Driver:0x0000000003b22b38 @container_name="magentodev_default_1544605944346_24311", @sudo_wrapper=#<Vagrant::LXC::SudoWrapper:0x0000000003b22a98 @wrapper_path=nil, @privileged=true, @logger=#<Log4r::Logger:0x0000000003b22980 @fullname="vagrant::lxc::sudo_wrapper", @outputters=[], @additive=true, @name="sudo_wrapper", @path="vagrant::lxc", @parent=#<Log4r::Logger:0x00000000029501a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002c789c0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000002c78948>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000292ceb0 @formatter=#<Log4r::BasicFormatter:0x0000000002c90250 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000002950018 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>>, @cli=#<Vagrant::LXC::Driver::CLI:0x0000000003af3518 @sudo_wrapper=#<Vagrant::LXC::SudoWrapper:0x0000000003b22a98 @wrapper_path=nil, @privileged=true, @logger=#<Log4r::Logger:0x0000000003b22980 @fullname="vagrant::lxc::sudo_wrapper", @outputters=[], @additive=true, @name="sudo_wrapper", @path="vagrant::lxc", @parent=#<Log4r::Logger:0x00000000029501a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002c789c0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000002c78948>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000292ceb0 @formatter=#<Log4r::BasicFormatter:0x0000000002c90250 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000002950018 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>>, @name="magentodev_default_1544605944346_24311", @logger=#<Log4r::Logger:0x0000000003af3ce8 @fullname="vagrant::provider::lxc::container::cli", @outputters=[], @additive=true, @name="cli", @path="vagrant::provider::lxc::container", @parent=#<Log4r::Logger:0x0000000003bb8d90 @fullname="vagrant::provider::lxc", @outputters=[], @additive=true, @name="lxc", @path="vagrant::provider", @parent=#<Log4r::Logger:0x00000000029501a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002c789c0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000002c78948>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000292ceb0 @formatter=#<Log4r::BasicFormatter:0x0000000002c90250 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000002950018 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @level=1, @trace=false>>, @logger=#<Log4r::Logger:0x0000000003ab7720 @fullname="vagrant::provider::lxc::driver", @outputters=[], @additive=true, @name="driver", @path="vagrant::provider::lxc", @parent=#<Log4r::Logger:0x0000000003bb8d90 @fullname="vagrant::provider::lxc", @outputters=[], @additive=true, @name="lxc", @path="vagrant::provider", @parent=#<Log4r::Logger:0x00000000029501a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002c789c0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000002c78948>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000292ceb0 @formatter=#<Log4r::BasicFormatter:0x0000000002c90250 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000002950018 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @level=1, @trace=false>, @customizations=[]>, @cap_logger=#<Log4r::Logger:0x00000000038e34f8 @fullname="vagrant::capability_host::vagrant::lxc::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrant::lxc", @parent=#<Log4r::Logger:0x00000000029501a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0000000002c789c0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0000000002c78948>, @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000000000292ceb0 @formatter=#<Log4r::BasicFormatter:0x0000000002c90250 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0000000002950018 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:lxc, #<#<Class:0x00000000038e4df8>:0x0000000003825c00>]], @cap_args=[#<Vagrant::Machine: default (Vagrant::LXC::Provider)>], @cap_caps={:virtualbox=>#<Vagrant::Registry:0x00000000038e44e8 @items={:forwarded_ports=>#<Proc:0x0000000002634708@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x000000000262c8f0@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x000000000262c878@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/virtualbox/plugin.rb:37>, :snapshot_list=>#<Proc:0x000000000262c828@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/virtualbox/plugin.rb:42>}, @results_cache={}>, :docker=>#<Vagrant::Registry:0x00000000038e41f0 @items={:public_address=>#<Proc:0x0000000002524c00@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x0000000002524ae8@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/docker/plugin.rb:65>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x00000000038e3d68 @items={:public_address=>#<Proc:0x0000000002514c10@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x0000000002514a58@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/providers/hyperv/plugin.rb:30>}, @results_cache={}>, :lxc=>#<Vagrant::Registry:0x00000000038e3b60 @items={:public_address=>#<Proc:0x00000000030a6218@/home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/plugin.rb:35>}, @results_cache={}>}>)
DEBUG command: Packaging VM: default
 INFO machine: Calling action: package on provider LXC (magentodev_default_1544605944346_24311)
DEBUG environment: Attempting to acquire process-lock: machine-action-ebebd216cdad8731702b0ff9733393e5
DEBUG environment: Attempting to acquire process-lock: dotlock
 INFO environment: Acquired process lock: dotlock
 INFO environment: Released process lock: dotlock
 INFO environment: Acquired process lock: machine-action-ebebd216cdad8731702b0ff9733393e5
 INFO interface: Machine: action ["package", "start", {:target=>:default}]
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: machine_action_package #<Vagrant::Action::Builder:0x0000000003cc8578>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000000003cbda38>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: machine_action_package #<Vagrant::Action::Builder:0x0000000003c7da28>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x0000000003c77d80>
DEBUG is_state: Checking if machine state is 'not_created'
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-info", "--name", "magentodev_default_1544605944346_24311"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Name:           magentodev_default_1544605944346_24311
State:          STOPPED
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG is_state: -- Machine state: stopped
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x0000000003c77d80>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: machine_action_package #<Vagrant::Action::Warden:0x0000000003bea278>
 INFO warden: Calling IN action: #<Proc:0x0000000003bc6670@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000000003bea1d8>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: machine_action_package #<Vagrant::Action::Builder:0x0000000003b8a0a8>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::IsState:0x0000000003b85120>
DEBUG is_state: Checking if machine state is 'not_created'
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-info", "--name", "magentodev_default_1544605944346_24311"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Name:           magentodev_default_1544605944346_24311
State:          STOPPED
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
DEBUG is_state: -- Machine state: stopped
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::IsState:0x0000000003b85120>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: machine_action_package #<Vagrant::Action::Warden:0x0000000003a8bb98>
 INFO warden: Calling IN action: #<Proc:0x00000000038d5808@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<Vagrant::LXC::Action::ClearForwardedPorts:0x0000000003a8bb20>
 INFO clear_forwarded_ports: No redir pids found
 INFO warden: Calling IN action: #<Vagrant::LXC::Action::GcPrivateNetworkBridges:0x0000000003a494f0>
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-info", "--name", "magentodev_default_1544605944346_24311"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Name:           magentodev_default_1544605944346_24311
State:          STOPPED
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0000000003a494c8>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: machine_action_package #<Vagrant::Action::Builder:0x0000000002a52740>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::GracefulHalt:0x000000000283c8c0>
 INFO graceful_halt: Verifying source state of machine: :running
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-info", "--name", "magentodev_default_1544605944346_24311"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Name:           magentodev_default_1544605944346_24311
State:          STOPPED
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO graceful_halt: Invalid source state, not halting: stopped
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::GracefulHalt:0x000000000283c8c0>
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: machine_action_package #<Vagrant::Action::Warden:0x0000000003c69618>
 INFO warden: Calling IN action: #<Proc:0x0000000003c45330@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<Vagrant::LXC::Action::ForcedHalt:0x0000000003c69578>
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-info", "--name", "magentodev_default_1544605944346_24311"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Name:           magentodev_default_1544605944346_24311
State:          STOPPED
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO warden: Calling IN action: #<Proc:0x0000000003c69528@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<Proc:0x0000000003a49360@/opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:94 (lambda)>
 INFO warden: Calling IN action: #<Vagrant::LXC::Action::CompressRootFS:0x0000000003bea160>
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-info", "--name", "magentodev_default_1544605944346_24311"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: Name:           magentodev_default_1544605944346_24311
State:          STOPPED
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO interface: info: Compressing container's rootfs...
 INFO interface: info: ==> default: Compressing container's rootfs...
==> default: Compressing container's rootfs...
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "lxc-config", "lxc.lxcpath"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: /var/lib/lxc
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/bin/env", "cat", "/var/lib/lxc/magentodev_default_1544605944346_24311/config"]
 INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: stdout: # Template used to create this container: /home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/scripts/lxc-template
# Parameters passed to the template: --tarball /home/nishimura/.vagrant.d/boxes/visibilityspots-VAGRANTSLASH-centos-6.x-puppet-4.x/5.0.3/lxc/rootfs.tar.gz --config /home/nishimura/.vagrant.d/boxes/visibilityspots-VAGRANTSLASH-centos-6.x-puppet-4.x/5.0.3/lxc/lxc-config
# Template script checksum (SHA-1): eae122a2d6cd572c26668257efa7963c2258186e
# For additional config options, please look at lxc.container.conf(5)

# Uncomment the following line to support nesting containers:
#lxc.include = /usr/share/lxc/config/nesting.conf
# (Be aware this has security implications)

##############################################
# Container specific configuration (automatically set)
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:b4:67:85
lxc.rootfs.path = dir:/var/lib/lxc/magentodev_default_1544605944346_24311/rootfs
lxc.uts.name = magentodev_default_1544605944346_24311

##############################################
# Network configuration (automatically set)

##############################################
# vagrant-lxc base box specific configuration
# Taken from the oracle.common.conf.in
# Console settings

lxc.tty.dir = lxc
lxc.tty.max = 4
lxc.pty.max = 1024

# Mount entries
lxc.mount.auto = proc:mixed sys:ro

# Ensure hostname is changed on clone
lxc.hook.clone = /usr/share/lxc/hooks/clonehostname

# Capabilities
# Uncomment these if you don't run anything that needs the capability, and
# would like the container to run with less privilege.
#
# Dropping sys_admin disables container root from doing a lot of things
# that could be bad like re-mounting lxc fstab entries rw for example,
# but also disables some useful things like being able to nfs mount, and
# things that are already namespaced with ns_capable() kernel checks, like
# hostname(1).
# lxc.cap.drop = sys_admin
# lxc.cap.drop = net_raw          # breaks dhcp/ping
# lxc.cap.drop = setgid           # breaks login (initgroups/setgroups)
# lxc.cap.drop = dac_read_search  # breaks login (pam unix_chkpwd)
# lxc.cap.drop = setuid           # breaks sshd,nfs statd
# lxc.cap.drop = audit_control    # breaks sshd (set_loginuid failed)
# lxc.cap.drop = audit_write
#
#lxc.cap.drop = mac_admin mac_override setfcap setpcap
lxc.cap.drop = mac_admin mac_override
lxc.cap.drop = sys_module sys_nice sys_pacct
lxc.cap.drop = sys_rawio sys_time

# Control Group devices: all denied except those whitelisted
lxc.cgroup.devices.deny = a
# Allow any mknod (but not reading/writing the node)
lxc.cgroup.devices.allow = c *:* m
lxc.cgroup.devices.allow = b *:* m
lxc.cgroup.devices.allow = c 1:3 rwm    # /dev/null
lxc.cgroup.devices.allow = c 1:5 rwm    # /dev/zero
lxc.cgroup.devices.allow = c 1:7 rwm    # /dev/full
lxc.cgroup.devices.allow = c 5:0 rwm    # /dev/tty
lxc.cgroup.devices.allow = c 1:8 rwm    # /dev/random
lxc.cgroup.devices.allow = c 1:9 rwm    # /dev/urandom
lxc.cgroup.devices.allow = c 136:* rwm  # /dev/tty[1-4] ptys and lxc console
lxc.cgroup.devices.allow = c 5:2 rwm    # /dev/ptmx pty master

# Needed by default docker config
lxc.cgroup.devices.allow = c 5:1 rwm # /dev/console
lxc.cgroup.devices.allow = c 4:0 rwm # /dev/tty0
lxc.cgroup.devices.allow = c 4:1 rwm # /dev/tty1
lxc.cgroup.devices.allow = c 10:200 rwm # /dev/net/tun

# Blacklist some syscalls which are not safe in privileged
# containers
lxc.seccomp.profile = /usr/share/lxc/config/common.seccomp

## USER SPACE
#lxc.idmap = u 0 100000 65536
#lxc.idmap = g 0 100000 65536

##############################################
# vagrant-lxc container specific configuration
# VAGRANT-BEGIN
lxc.uts.name=magentdev
lxc.mount.entry=/sys/fs/pstore sys/fs/pstore none bind,optional 0 0
lxc.mount.entry=tmpfs tmp tmpfs nodev,nosuid,size=2G 0 0
lxc.mount.entry=/home/nishimura/vagrant/magentodev vagrant none bind,create=dir 0 0
# VAGRANT-END
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::LXC::Action::CompressRootFS:0x0000000003bea160>
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000000003bea1d8>
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000000003a494c8>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
ERROR warden: Error occurred: undefined method `[]' for nil:NilClass
 INFO warden: Beginning recovery process...
 INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0000000003cbda38>
 INFO warden: Beginning recovery process...
 INFO warden: Recovery complete.
 INFO warden: Recovery complete.
 INFO environment: Released process lock: machine-action-ebebd216cdad8731702b0ff9733393e5
 INFO environment: Running hook: environment_unload
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 5 hooks defined.
 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x0000000003b01488>
/home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/driver.rb:53:in `rootfs_path': undefined method `[]' for nil:NilClass (NoMethodError)
    from /home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/driver.rb:227:in `compress_rootfs'
    from /home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/action/compress_rootfs.rb:15:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/action/forced_halt.rb:15:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/builder.rb:116:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `block in run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/util/busy.rb:19:in `busy'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/builtin/call.rb:53:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/action/gc_private_network_bridges.rb:13:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /home/nishimura/.vagrant.d/gems/2.4.4/gems/vagrant-lxc-1.4.3/lib/vagrant-lxc/action/clear_forwarded_ports.rb:31:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/builder.rb:116:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `block in run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/util/busy.rb:19:in `busy'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/builtin/call.rb:53:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/builder.rb:116:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `block in run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/util/busy.rb:19:in `busy'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/builtin/call.rb:53:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/warden.rb:34:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/builder.rb:116:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `block in run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/util/busy.rb:19:in `busy'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/action/runner.rb:66:in `run'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/machine.rb:239:in `action_raw'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/machine.rb:208:in `block in action'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/environment.rb:614:in `lock'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/machine.rb:194:in `call'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/machine.rb:194:in `action'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/package/command.rb:90:in `package_vm'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/package/command.rb:79:in `block in package_target'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/plugin/v2/command.rb:238:in `block in with_target_vms'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/plugin/v2/command.rb:232:in `each'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/plugin/v2/command.rb:232:in `with_target_vms'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/package/command.rb:77:in `package_target'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/plugins/commands/package/command.rb:45:in `execute'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/cli.rb:54:in `execute'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/lib/vagrant/environment.rb:291:in `cli'
    from /opt/vagrant/embedded/gems/2.1.5/gems/vagrant-2.1.5/bin/vagrant:164:in `<main>'
ccope commented 5 years 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.

simonbru commented 5 years ago

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).

chadnorvell commented 5 years ago

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.

rhea-astons commented 5 years ago

Same here. Fixed regex by @simonbru works like a charm :+1:

kkremitzki commented 5 years ago

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.

rvanlaar commented 4 years ago

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

fgrehm commented 1 year ago

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: