Created
March 31, 2014 14:27
-
-
Save oker1/9893528 to your computer and use it in GitHub Desktop.
vagrant-lxc error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO subprocess: Starting process: ["/usr/bin/sudo", "cp", "/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/scripts/lxc-template", "/usr/share/lxc/templates/lxc-vagrant-tmp-tmp_default_1396275929831_40155"] | |
DEBUG subprocess: Selecting on IO | |
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 | |
DEBUG subprocess: Exit status: 0 | |
INFO subprocess: Starting process: ["/usr/bin/sudo", "chmod", "+x", "/usr/share/lxc/templates/lxc-vagrant-tmp-tmp_default_1396275929831_40155"] | |
DEBUG subprocess: Selecting on IO | |
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 | |
DEBUG subprocess: Exit status: 0 | |
DEBUG driver: Creating container... | |
INFO subprocess: Starting process: ["/usr/bin/sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
DEBUG subprocess: Selecting on IO | |
DEBUG subprocess: stdout: Note: Usually the template option is called with a configuration | |
file option too, mostly to configure the network. | |
For more information look at lxc.conf (5) | |
DEBUG subprocess: stderr: + LXC_HOOK_DIR=/usr/share/lxc/hooks | |
+ LXC_TEMPLATE_CONFIG=/usr/share/lxc/config | |
+ LXC_MAPPED_GID= | |
+ LXC_MAPPED_UID= | |
+ LXC_NAME= | |
+ LXC_PATH= | |
+ LXC_ROOTFS= | |
+ LXC_TARBALL= | |
+ LXC_CONFIG= | |
DEBUG subprocess: stderr: ++ getopt -o h -l tarball:,config:,help:,name:,path:,rootfs:,mapped-uid:,mapped-gid: -- --path=/var/lib/lxc/tmp_default_1396275929831_40155 --name=tmp_default_1396275929831_40155 --tarball /home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz --config /home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config | |
DEBUG subprocess: stderr: + options=' --path '\''/var/lib/lxc/tmp_default_1396275929831_40155'\'' --name '\''tmp_default_1396275929831_40155'\'' --tarball '\''/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz'\'' --config '\''/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config'\'' --SS' | |
+ '[' 0 -ne 0 ']' | |
DEBUG subprocess: stderr: + eval set -- ' --path '\''/var/lib/lxc/tmp_default_1396275929831_40155'\'' --name '\''tmp_default_1396275929831_40155'\'' --tarball '\''/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz'\'' --config '\''/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config'\'' --SS' | |
++ set -- --path /var/lib/lxc/tmp_default_1396275929831_40155 --name tmp_default_1396275929831_40155 --tarball /home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz --config /home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config --SS | |
+ true | |
+ case "$1" in | |
+ LXC_PATH=/var/lib/lxc/tmp_default_1396275929831_40155 | |
+ shift 2 | |
+ true | |
+ case "$1" in | |
+ LXC_NAME=tmp_default_1396275929831_40155 | |
+ shift 2 | |
+ true | |
+ case "$1" in | |
+ LXC_TARBALL=/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz | |
+ shift 2 | |
+ true | |
+ case "$1" in | |
+ LXC_CONFIG=/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config | |
+ shift 2 | |
+ true | |
+ case "$1" in | |
+ break | |
DEBUG subprocess: stdout: 'rootfs' parameter is required | |
DEBUG subprocess: stderr: + '[' -z tmp_default_1396275929831_40155 ']' | |
+ '[' -z /home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz ']' | |
+ '[' -z '' ']' | |
+ echo ''\''rootfs'\'' parameter is required' | |
+ exit 1 | |
DEBUG subprocess: stdout: failed to execute template 'vagrant-tmp-tmp_default_1396275929831_40155' | |
DEBUG subprocess: stdout: aborted | |
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 | |
DEBUG subprocess: Exit status: 1 | |
INFO driver: Removing LXC template | |
INFO subprocess: Starting process: ["/usr/bin/sudo", "rm", "/usr/share/lxc/templates/lxc-vagrant-tmp-tmp_default_1396275929831_40155"] | |
DEBUG subprocess: Selecting on IO | |
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 | |
DEBUG subprocess: Exit status: 0 | |
ERROR warden: Error occurred: There was an error executing ["sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
For more information on the failure, enable detailed logging by setting | |
the environment variable VAGRANT_LOG to DEBUG. | |
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: There was an error executing ["sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
For more information on the failure, enable detailed logging by setting | |
the environment variable VAGRANT_LOG to DEBUG. | |
INFO warden: Beginning recovery process... | |
INFO warden: Recovery complete. | |
ERROR warden: Error occurred: There was an error executing ["sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
For more information on the failure, enable detailed logging by setting | |
the environment variable VAGRANT_LOG to DEBUG. | |
INFO warden: Beginning recovery process... | |
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x00000002c5f358> | |
INFO warden: Beginning recovery process... | |
INFO warden: Recovery complete. | |
INFO warden: Recovery complete. | |
INFO warden: Beginning recovery process... | |
INFO warden: Recovery complete. | |
INFO environment: Running hook: environment_unload | |
INFO runner: Preparing hooks for middleware sequence... | |
INFO runner: 1 hooks defined. | |
INFO runner: Running action: #<Vagrant::Action::Builder:0x00000003ba15c8> | |
ERROR vagrant: Vagrant experienced an error! Details: | |
ERROR vagrant: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing ["sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
For more information on the failure, enable detailed logging by setting | |
the environment variable VAGRANT_LOG to DEBUG.> | |
ERROR vagrant: There was an error executing ["sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
For more information on the failure, enable detailed logging by setting | |
the environment variable VAGRANT_LOG to DEBUG. | |
ERROR vagrant: /home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/sudo_wrapper.rb:54:in `block in execute' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/retryable.rb:17:in `retryable' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/sudo_wrapper.rb:44:in `execute' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/sudo_wrapper.rb:14:in `run' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/driver/cli.rb:130:in `run' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/driver/cli.rb:56:in `create' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/driver.rb:59:in `block in create' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/driver.rb:178:in `import_template' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/driver.rb:57:in `create' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/action/create.rb:25:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' | |
/home/vagrant/.vagrant.d/gems/gems/vagrant-lxc-1.0.0.beta1.dev/lib/vagrant-lxc/action/handle_box_metadata.rb:41:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/handle_box.rb:56:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:95:in `block in finalize_action' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builder.rb:116:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `block in run' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/busy.rb:19:in `busy' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `run' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/call.rb:51:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builtin/config_validate.rb:25:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/warden.rb:34:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/builder.rb:116:in `call' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `block in run' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/util/busy.rb:19:in `busy' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/action/runner.rb:69:in `run' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/machine.rb:157:in `action' | |
/opt/vagrant/embedded/gems/gems/vagrant-1.5.1/lib/vagrant/batch_action.rb:72:in `block (2 levels) in run' | |
INFO interface: error: There was an error executing ["sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
For more information on the failure, enable detailed logging by setting | |
the environment variable VAGRANT_LOG to DEBUG. | |
There was an error executing ["sudo", "lxc-create", "--template", "vagrant-tmp-tmp_default_1396275929831_40155", "--name", "tmp_default_1396275929831_40155", "--", "--tarball", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz", "--config", "/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config"] | |
For more information on the failure, enable detailed logging by setting | |
the environment variable VAGRANT_LOG to DEBUG. | |
INFO interface: Machine: error-exit ["Vagrant::LXC::Errors::ExecuteError", "There was an error executing [\"sudo\", \"lxc-create\", \"--template\", \"vagrant-tmp-tmp_default_1396275929831_40155\", \"--name\", \"tmp_default_1396275929831_40155\", \"--\", \"--tarball\", \"/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/rootfs.tar.gz\", \"--config\", \"/home/vagrant/.vagrant.d/boxes/fgrehm-VAGRANTSLASH-precise64-lxc/1.0.0/lxc/lxc-config\"]\n\nFor more information on the failure, enable detailed logging by setting\nthe environment variable VAGRANT_LOG to DEBUG."] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment