fgrehm / vagrant-lxc

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

Vagrant ssh fails when trying to bring up custom built LXC container #338

Closed vkarry closed 9 years ago

vkarry commented 9 years ago

Hi, I'm new to Vagrant/LXC. I'm trying to ssh to vagrant lxc container box and encountering following errors. Can someone please tell me where i might be going wrong. Thanks in advance!!

$ vagrant -v vagrant 1.7.2

$vagrant plugin list vagrant-lxc 1.0.1 vagrant-share 1.1.3

$ lsb_release -a RedHat 6.5

$ uname -r 2.6.32-431.el6.x86_64

Error when running "vagrant ssh"

$ vagrant ssh INFO global: Vagrant version: 1.7.2 INFO global: Ruby version: 2.0.0 INFO global: RubyGems version: 2.0.14 INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant" INFO global: VAGRANT_LOG="DEBUG" INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" INFO global: VAGRANT_INSTALLER_VERSION="2" INFO global: VAGRANT_DETECTED_OS="Linux" INFO global: VAGRANT_INSTALLER_ENV="1" INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" INFO global: Plugins: INFO global: - bundler = 1.7.11 INFO global: - json = 1.8.2 INFO global: - mime-types = 1.25.1 INFO global: - rdoc = 4.2.0 INFO global: - rest-client = 1.6.8 INFO global: - vagrant-lxc = 1.0.1 INFO global: - vagrant-share = 1.1.3 DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/plugin.rb INFO manager: Registered plugin: VirtualBox provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/docker/plugin.rb INFO manager: Registered plugin: docker-provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/hyperv/plugin.rb INFO manager: Registered plugin: Hyper-V provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v1/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/smb/plugin.rb INFO manager: Registered plugin: SMB synced folders DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/nfs/plugin.rb INFO manager: Registered plugin: NFS synced folders DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/synced_folders/rsync/plugin.rb INFO manager: Registered plugin: RSync synced folders DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/chef/plugin.rb INFO manager: Registered plugin: chef DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/salt/plugin.rb INFO manager: Registered plugin: salt DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/shell/plugin.rb INFO manager: Registered plugin: shell DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/file/plugin.rb INFO manager: Registered plugin: file DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/puppet/plugin.rb INFO manager: Registered plugin: puppet DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/cfengine/plugin.rb INFO manager: Registered plugin: CFEngine Provisioner DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/ansible/plugin.rb INFO manager: Registered plugin: ansible DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/provisioners/docker/plugin.rb INFO manager: Registered plugin: docker DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/kernel_v2/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/up/plugin.rb INFO manager: Registered plugin: up command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/version/plugin.rb INFO manager: Registered plugin: version command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/halt/plugin.rb INFO manager: Registered plugin: halt command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/init/plugin.rb INFO manager: Registered plugin: init command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/help/plugin.rb INFO manager: Registered plugin: help command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/push/plugin.rb INFO manager: Registered plugin: push command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/provision/plugin.rb INFO manager: Registered plugin: provision command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/plugin.rb INFO manager: Registered plugin: ssh command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/destroy/plugin.rb INFO manager: Registered plugin: destroy command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/status/plugin.rb INFO manager: Registered plugin: status command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh_config/plugin.rb INFO manager: Registered plugin: ssh-config command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/resume/plugin.rb INFO manager: Registered plugin: resume command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/list-commands/plugin.rb INFO manager: Registered plugin: list-commands command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/rdp/plugin.rb INFO manager: Registered plugin: rdp command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/plugin/plugin.rb INFO manager: Registered plugin: plugin command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/box/plugin.rb INFO manager: Registered plugin: box command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/suspend/plugin.rb INFO manager: Registered plugin: suspend command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/login/plugin.rb INFO manager: Registered plugin: vagrant-login DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/reload/plugin.rb INFO manager: Registered plugin: reload command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/global-status/plugin.rb INFO manager: Registered plugin: global-status command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/package/plugin.rb INFO manager: Registered plugin: package command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/noop/plugin.rb INFO manager: Registered plugin: noop DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/ftp/plugin.rb INFO manager: Registered plugin: ftp DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/local-exec/plugin.rb INFO manager: Registered plugin: local-exec DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/atlas/plugin.rb INFO manager: Registered plugin: atlas DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/pushes/heroku/plugin.rb INFO manager: Registered plugin: heroku DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/ssh/plugin.rb INFO manager: Registered plugin: ssh communicator DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/communicators/winrm/plugin.rb INFO manager: Registered plugin: winrm communicator DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/windows/plugin.rb INFO manager: Registered plugin: Windows host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/redhat/plugin.rb INFO manager: Registered plugin: Red Hat host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/null/plugin.rb INFO manager: Registered plugin: null host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/linux/plugin.rb INFO manager: Registered plugin: Linux host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/suse/plugin.rb INFO manager: Registered plugin: SUSE host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/darwin/plugin.rb INFO manager: Registered plugin: Mac OS X host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/arch/plugin.rb INFO manager: Registered plugin: Arch host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/slackware/plugin.rb INFO manager: Registered plugin: Slackware host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/bsd/plugin.rb INFO manager: Registered plugin: BSD host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/hosts/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/omnios/plugin.rb INFO manager: Registered plugin: OmniOS guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/openbsd/plugin.rb INFO manager: Registered plugin: OpenBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/windows/plugin.rb INFO manager: Registered plugin: Windows guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/redhat/plugin.rb INFO manager: Registered plugin: RedHat guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/solaris/plugin.rb INFO manager: Registered plugin: Solaris guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/mint/plugin.rb INFO manager: Registered plugin: Mint guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/pld/plugin.rb INFO manager: Registered plugin: PLD Linux guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/debian/plugin.rb INFO manager: Registered plugin: Debian guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/coreos/plugin.rb INFO manager: Registered plugin: CoreOS guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/funtoo/plugin.rb INFO manager: Registered plugin: Funtoo guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/ubuntu/plugin.rb INFO manager: Registered plugin: Ubuntu guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/nixos/plugin.rb INFO manager: Registered plugin: NixOS guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/smartos/plugin.rb INFO manager: Registered plugin: SmartOS guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/linux/plugin.rb INFO manager: Registered plugin: Linux guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/tinycore/plugin.rb INFO manager: Registered plugin: TinyCore Linux guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/fedora/plugin.rb INFO manager: Registered plugin: Fedora guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/esxi/plugin.rb INFO manager: Registered plugin: ESXi guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/suse/plugin.rb INFO manager: Registered plugin: SUSE guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/darwin/plugin.rb INFO manager: Registered plugin: Darwin guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/netbsd/plugin.rb INFO manager: Registered plugin: NetBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/arch/plugin.rb INFO manager: Registered plugin: Arch guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/guests/solaris11/plugin.rb INFO manager: Registered plugin: Solaris 11 guest. INFO global: Loading plugins! INFO manager: Registered plugin: vagrant-share INFO manager: Registered plugin: vagrant-lxc INFO vagrant: vagrant invoked: ["ssh"] DEBUG vagrant: Creating Vagrant environment INFO environment: Environment initialized (#Vagrant::Environment:0x000000014652c0) INFO environment: - cwd: /root/lxc-edwdevvm INFO environment: Home path: /root/.vagrant.d INFO environment: Local data path: /root/lxc-edwdevvm/.vagrant DEBUG environment: Creating: /root/lxc-edwdevvm/.vagrant INFO environment: Running hook: environment_plugins_loaded INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x0000000167d7d8 INFO environment: Running hook: environment_load INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x0000000173a590 INFO cli: CLI: [] "ssh" [] DEBUG cli: Invoking command class: VagrantPlugins::CommandSSH::Command [] DEBUG command: Getting target VMs for command. Arguments: DEBUG command: -- names: [] DEBUG command: -- options: {:single_target=>true} DEBUG command: Loading all machines... INFO loader: Set :root = #Pathname:/root/lxc-edwdevvm/Vagrantfile DEBUG loader: Populating proc cache for #Pathname:/root/lxc-edwdevvm/Vagrantfile DEBUG loader: Load procs for pathname: /root/lxc-edwdevvm/Vagrantfile INFO loader: Loading configuration in order: [:home, :root] DEBUG loader: Loading from: root (evaluating) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing 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 "8515360_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "8515360_machine_default"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO box_collection: Box found: lxc-edwdevvm (lxc) INFO machine: Initializing machine: default INFO machine: - Provider: Vagrant::LXC::Provider INFO machine: - Box: #Vagrant::Box:0x00000001791138 INFO machine: - Data dir: /root/lxc-edwdevvm/.vagrant/machines/default/lxc DEBUG lxc: Found sudo wrapper : /usr/local/bin/vagrant-lxc-wrapper INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "which", "lxc-create"] 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: "lxc-edwdevvm_default_1421109193599_5787" INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-ls"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: lxc-edwdevvm_default_1421109193599_5787 redhat-lxc_default_1421090719804_84582 redhat-lxc_default_1421106599042_34851 DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-info", "--name", "lxc-edwdevvm_default_1421109193599_5787"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: Name: lxc-edwdevvm_default_1421109193599_5787 State: RUNNING PID: 12949 CPU use: 0.26 seconds BlkIO use: 16.08 MiB Memory use: 9.93 MiB Link: veth7VQ6F8 TX bytes: 2.13 KiB RX bytes: 468 bytes Total bytes: 2.58 KiB DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO command: With machine: default (#<Vagrant::LXC::Provider:0x00000000fc1e30 @logger=#<Log4r::Logger:0x00000000fc1d68 @fullname="vagrant::provider::lxc", @outputters=[], @additive=true, @name="lxc", @path="vagrant::provider", @parent=#<Log4r::Logger:0x000000008a04a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00000000a843f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x00000000aa2a58 @depth=7>, @out=#IO:>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000000008a0228 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#<Vagrant::Machine: default (Vagrant::LXC::Provider)>, @shell=#<Vagrant::LXC::SudoWrapper:0x00000001008e48 @wrapper_path="/usr/local/bin/vagrant-lxc-wrapper", @logger=#<Log4r::Logger:0x00000001008df8 @fullname="vagrant::lxc::sudo_wrapper", @outputters=[], @additive=true, @name="sudo_wrapper", @path="vagrant::lxc", @parent=#<Log4r::Logger:0x000000008a04a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00000000a843f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x00000000aa2a58 @depth=7>, @out=#IO:>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000000008a0228 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>>, @driver=#<Vagrant::LXC::Driver:0x0000000107e5a8 @container_name="lxc-edwdevvm_default_1421109193599_5787", @sudo_wrapper=#<Vagrant::LXC::SudoWrapper:0x00000001008e48 @wrapper_path="/usr/local/bin/vagrant-lxc-wrapper", @logger=#<Log4r::Logger:0x00000001008df8 @fullname="vagrant::lxc::sudo_wrapper", @outputters=[], @additive=true, @name="sudo_wrapper", @path="vagrant::lxc", @parent=#<Log4r::Logger:0x000000008a04a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00000000a843f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x00000000aa2a58 @depth=7>, @out=#IO:>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000000008a0228 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>>, @cli=#<Vagrant::LXC::Driver::CLI:0x0000000107e558 @sudo_wrapper=#<Vagrant::LXC::SudoWrapper:0x00000001008e48 @wrapper_path="/usr/local/bin/vagrant-lxc-wrapper", @logger=#<Log4r::Logger:0x00000001008df8 @fullname="vagrant::lxc::sudo_wrapper", @outputters=[], @additive=true, @name="sudo_wrapper", @path="vagrant::lxc", @parent=#<Log4r::Logger:0x000000008a04a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00000000a843f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x00000000aa2a58 @depth=7>, @out=#IO:>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000000008a0228 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>>, @name="lxc-edwdevvm_default_1421109193599_5787", @logger=#<Log4r::Logger:0x0000000107e508 @fullname="vagrant::provider::lxc::container::cli", @outputters=[], @additive=true, @name="cli", @path="vagrant::provider::lxc::container", @parent=#<Log4r::Logger:0x00000000fc1d68 @fullname="vagrant::provider::lxc", @outputters=[], @additive=true, @name="lxc", @path="vagrant::provider", @parent=#<Log4r::Logger:0x000000008a04a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00000000a843f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x00000000aa2a58 @depth=7>, @out=#IO:>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000000008a0228 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @level=1, @trace=false>>, @logger=#<Log4r::Logger:0x000000010a1148 @fullname="vagrant::provider::lxc::driver", @outputters=[], @additive=true, @name="driver", @path="vagrant::provider::lxc", @parent=#<Log4r::Logger:0x00000000fc1d68 @fullname="vagrant::provider::lxc", @outputters=[], @additive=true, @name="lxc", @path="vagrant::provider", @parent=#<Log4r::Logger:0x000000008a04a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00000000a843f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x00000000aa2a58 @depth=7>, @out=#IO:>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000000008a0228 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @level=1, @trace=false>, @customizations=[]>, @cap_logger=#<Log4r::Logger:0x000000015a1a58 @fullname="vagrant::capability_host::vagrant::lxc::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrant::lxc", @parent=#<Log4r::Logger:0x000000008a04a8 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00000000a843f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x00000000aa2a58 @depth=7>, @out=#IO:>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000000008a0228 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:lxc, #<#Class:0x000000015a2250:0x0000000167f498>]], @cap_args=[#<Vagrant::Machine: default (Vagrant::LXC::Provider)>], @cap_caps={:virtualbox=>#<Vagrant::Registry:0x000000015a2048 @items={:forwarded_ports=>#Proc:0x000000010ad1a0@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/plugin.rb:27, :nic_mac_addresses=>#Proc:0x000000010ad060@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/virtualbox/plugin.rb:32, :public_address=>#Proc:0x00000001058f10@/opt/vagrant/embedded/gems/gems/vagrant-share-1.1.3/lib/vagrant-share.rb:39}, @results_cache={}>, :docker=>#<Vagrant::Registry:0x000000015a1f58 @items={:public_address=>#Proc:0x00000001469c08@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/docker/plugin.rb:54, :proxy_machine=>#Proc:0x00000001469af0@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/docker/plugin.rb:59}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x000000015a1e40 @items={:public_address=>#Proc:0x0000000148f3b8@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/providers/hyperv/plugin.rb:25}, @results_cache={}>, :lxc=>#<Vagrant::Registry:0x000000015a1cb0 @items={:public_address=>#Proc:0x000000010682d0@/root/.vagrant.d/gems/gems/vagrant-lxc-1.0.1/lib/vagrant-lxc/plugin.rb:42}, @results_cache={}>}>) DEBUG command: Invoking ssh action on machine INFO machine: Calling action: ssh on provider LXC (lxc-edwdevvm_default_1421109193599_5787) INFO host: Autodetecting host type for [#<Vagrant::Environment: /root/lxc-edwdevvm>] DEBUG host: Trying: redhat INFO host: Detected: redhat! INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x00000001776a90 INFO warden: Calling IN action: #Vagrant::Action::Builtin::ConfigValidate:0x000000017d0d10 INFO warden: Calling IN action: #Vagrant::Action::Builtin::Call:0x000000017d0c70 INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x00000000aecc98 INFO warden: Calling IN action: #Vagrant::Action::Builtin::IsState:0x00000000b25548 DEBUG is_state: Checking if machine state is 'not_created' INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-info", "--name", "lxc-edwdevvm_default_1421109193599_5787"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: Name: lxc-edwdevvm_default_1421109193599_5787 State: RUNNING PID: 12949 CPU use: 0.26 seconds BlkIO use: 16.08 MiB Memory use: 9.93 MiB Link: veth7VQ6F8 TX bytes: 2.13 KiB RX bytes: 468 bytes Total bytes: 2.58 KiB DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 DEBUG is_state: -- Machine state: running INFO warden: Calling OUT action: #Vagrant::Action::Builtin::IsState:0x00000000b25548 INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Warden:0x00000001057598 INFO warden: Calling IN action: #<Proc:0x0000000108da58@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:94 (lambda)> INFO warden: Calling IN action: #Vagrant::Action::Builtin::Call:0x000000010574f8 INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x000000014f3e80 INFO warden: Calling IN action: #Vagrant::Action::Builtin::IsState:0x000000014f9c90 DEBUG is_state: Checking if machine state is 'running' INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-info", "--name", "lxc-edwdevvm_default_1421109193599_5787"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: Name: lxc-edwdevvm_default_1421109193599_5787 State: RUNNING PID: 12949 CPU use: 0.26 seconds BlkIO use: 16.08 MiB Memory use: 9.93 MiB Link: veth7VQ6F8 TX bytes: 2.13 KiB RX bytes: 468 bytes Total bytes: 2.58 KiB DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 DEBUG is_state: -- Machine state: running INFO warden: Calling OUT action: #Vagrant::Action::Builtin::IsState:0x000000014f9c90 INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Warden:0x000000016cde40 INFO warden: Calling IN action: #<Proc:0x0000000170ad40@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:94 (lambda)> INFO warden: Calling IN action: #Vagrant::Action::Builtin::SSHExec:0x000000016cdda0 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-info", "--name", "lxc-edwdevvm_default_1421109193599_5787"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: Name: lxc-edwdevvm_default_1421109193599_5787 State: RUNNING PID: 12949 CPU use: 0.26 seconds BlkIO use: 16.08 MiB Memory use: 9.93 MiB Link: veth7VQ6F8 TX bytes: 2.13 KiB RX bytes: 468 bytes Total bytes: 2.58 KiB DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO machine: Calling action: ssh_ip on provider LXC (lxc-edwdevvm_default_1421109193599_5787) INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x0000000176f330 INFO warden: Calling IN action: #Vagrant::Action::Builtin::Call:0x00000001772968 INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Builder:0x000000017e2448 INFO warden: Calling IN action: #Vagrant::Action::Builtin::ConfigValidate:0x000000017eb930 INFO warden: Calling OUT action: #Vagrant::Action::Builtin::ConfigValidate:0x000000017eb930 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--", "/bin/true"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO runner: Preparing hooks for middleware sequence... INFO runner: 1 hooks defined. INFO runner: Running action: #Vagrant::Action::Warden:0x000000017c62e8 INFO warden: Calling IN action: #<Proc:0x0000000171f1a0@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:94 (lambda)> INFO warden: Calling IN action: #Vagrant::LXC::Action::FetchIpWithLxcAttach:0x000000017c61d0 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "-h"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stderr: Usage: lxc-attach --name=NAME [-- COMMAND]

Execute the specified COMMAND - enter the container NAME

Options : -n, --name=NAME NAME for name of the container -e, --elevated-privileges=PRIVILEGES Use elevated privileges instead of those of the container. If you don't specify privileges to be elevated as OR'd list: CAP, CGROUP and LSM (capabilities, cgroup and restrictions, respectively) then all of them will be elevated. WARNING: This may leak privileges into the container. Use with care. -a, --arch=ARCH Use ARCH for program instead of container's own architecture. -s, --namespaces=FLAGS Don't attach to all the namespaces of the container but just to the following OR'd list of flags: MOUNT, PID, UTSNAME, IPC, USER or NETWORK. WARNING: Using -s implies -e with all privileges elevated, it may therefore leak privileges into the container. Use with care. -R, --remount-sys-proc Remount /sys and /proc if not attaching to the mount namespace when using -s in order to properly reflect the correct namespace context. See the lxc-attach(1) manual page for details. --clear-env Clear all environment variables before attaching. The attached shell/program will start with only container=lxc set. --keep-env Keep all current environment variables. This is the current default behaviour, but is likely to change in the future. -v, --set-var Set an additional variable that is seen by the attached program in the container. May be specified multiple times. --keep-var Keep an additional environment variable. Only applicable if --clear-env is specified. May be used multiple times.

Common options : -o, --logfile=FILE Output log to FILE instead of stderr -l, --logpriority=LEVEL Set log priority to LEVEL -q, --quiet Don't produce any output -P, --lxcpath=PATH Use specified container path -?, --help Give this help list --usage Give a short usage message --version Print the version number

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

See the lxc-attach man page for further information.

DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO retryable: Retryable exception raised: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG.> INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "lxc-edwdevvm_default_1421109193599_5787", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO warden: Calling IN action: #Vagrant::LXC::Action::FetchIpFromDnsmasqLeases:0x0000000178bdf0 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "which", "lxc-version"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stderr: /usr/bin/which: no lxc-version in (/sbin:/bin:/usr/sbin:/usr/bin) DEBUG subprocess: stdout: DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-create", "--version"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: 1.0.7 DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 INFO subprocess: Starting process: ["/usr/bin/sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-config", "lxc.lxcpath"] 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/local/bin/vagrant-lxc-wrapper", "cat", "/var/lib/lxc/lxc-edwdevvm_default_1421109193599_5787/config"] DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: # Template used to create this container: /usr/share/lxc/templates/lxc-vagrant-tmp-lxc-edwdevvm_default_1421109193599_5787

Parameters passed to the template: --tarball /root/.vagrant.d/boxes/lxc-edwdevvm/0/lxc/rootfs.tar.gz

For additional config options, please look at lxc.container.conf(5)

lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0 lxc.mount.entry = sysfs sys sysfs defaults 0 0 lxc.tty = 4 lxc.pts = 1024 lxc.devttydir = lxc lxc.cgroup.devices.deny = a lxc.cgroup.devices.allow = c : m lxc.cgroup.devices.allow = b : m lxc.cgroup.devices.allow = c 1:3 rwm lxc.cgroup.devices.allow = c 1:5 rwm lxc.cgroup.devices.allow = c 5:1 rwm lxc.cgroup.devices.allow = c 5:0 rwm lxc.cgroup.devices.allow = c 1:9 rwm lxc.cgroup.devices.allow = c 1:8 rwm lxc.cgroup.devices.allow = c 136:* rwm lxc.cgroup.devices.allow = c 5:2 rwm lxc.cgroup.devices.allow = c 254:0 rwm lxc.cgroup.devices.allow = c 10:229 rwm lxc.cgroup.devices.allow = c 10:200 rwm lxc.cgroup.devices.allow = c 1:7 rwm lxc.cgroup.devices.allow = c 10:228 rwm lxc.cgroup.devices.allow = c 10:232 rwm lxc.network.type = veth lxc.network.hwaddr = 00:16:3e:8f:fb:5f lxc.network.flags = up lxc.network.link = lxcbr0 lxc.cap.drop = sys_module lxc.cap.drop = mac_admin lxc.cap.drop = mac_override lxc.rootfs = /var/lib/lxc/lxc-edwdevvm_default_1421109193599_5787/rootfs lxc.pivotdir = lxc_putold

VAGRANT-BEGIN

lxc.utsname=lxc-edwdevvm_default_1421109193599_5787 lxc.mount.entry=/root/lxc-edwdevvm vagrant none bind 0 0

VAGRANT-END

DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file DEBUG fetch_ip_from_dnsmasq_leases: Attempting to load ip from dnsmasq leases (mac: 00:16:3e:8f:fb:5f) DEBUG fetch_ip_from_dnsmasq_leases: DEBUG fetch_ip_from_dnsmasq_leases: Ip could not be parsed from dnsmasq leases file INFO warden: Calling IN action: #<Proc:0x0000000175e328@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:94 (lambda)> INFO warden: Calling OUT action: #<Proc:0x0000000175e328@/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:94 (lambda)> INFO warden: Calling OUT action: #Vagrant::LXC::Action::FetchIpFromDnsmasqLeases:0x0000000178bdf0 ERROR warden: Error occurred: There was an error executing lxc-attach

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 lxc-attach

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 lxc-attach

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:0x00000001772968 INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Recovery complete. ERROR warden: Error occurred: There was an error executing lxc-attach

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 lxc-attach

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 lxc-attach

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:0x000000010574f8 INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Recovery complete. ERROR warden: Error occurred: There was an error executing lxc-attach

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 lxc-attach

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:0x000000017d0c70 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:0x00000001036aa0 ERROR vagrant: Vagrant experienced an error! Details: ERROR vagrant: #<Vagrant::LXC::Errors::ExecuteError: There was an error executing lxc-attach

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 lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG. ERROR vagrant: /root/.vagrant.d/gems/gems/vagrant-lxc-1.0.1/lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb:27:in block in assigned_ip' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/retryable.rb:17:inretryable' /root/.vagrant.d/gems/gems/vagrant-lxc-1.0.1/lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb:24:in assigned_ip' /root/.vagrant.d/gems/gems/vagrant-lxc-1.0.1/lib/vagrant-lxc/action/fetch_ip_with_lxc_attach.rb:14:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:inblock in finalize_action' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inblock in run' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inrun' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inblock in run' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inrun' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:214:in action_raw' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:191:inblock in action' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:inblock in action' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:inaction' /root/.vagrant.d/gems/gems/vagrant-lxc-1.0.1/lib/vagrant-lxc/provider.rb:73:in ssh_info' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:407:inssh_info' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/ssh_exec.rb:26:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:in block in finalize_action' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in block in run' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:inbusy' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:in run' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:95:inblock in finalize_action' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inblock in run' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inrun' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/call.rb:53:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builtin/config_validate.rb:25:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/warden.rb:34:incall' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/builder.rb:116:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inblock in run' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/util/busy.rb:19:in busy' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/action/runner.rb:66:inrun' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:214:in action_raw' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:191:inblock in action' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:174:inblock in action' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:in call' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/machine.rb:178:inaction' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/command.rb:59:in block in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:226:inblock in with_target_vms' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:in each' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/plugin/v2/command.rb:220:inwith_target_vms' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/plugins/commands/ssh/command.rb:41:in execute' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/cli.rb:42:inexecute' /opt/vagrant/embedded/gems/gems/vagrant-1.7.2/lib/vagrant/environment.rb:301:in cli' /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant:174:in

' INFO interface: error: There was an error executing lxc-attach

For more information on the failure, enable detailed logging by setting the environment variable VAGRANT_LOG to DEBUG. There was an error executing lxc-attach

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 lxc-attach\n\nFor more information on the failure, enable detailed logging by setting\nthe environment variable VAGRANT_LOG to DEBUG."]

fgrehm commented 9 years ago

I'm not familiar with RedHat but it seems that you dont have the necessary network requirements in place. Some improved messaging around that will come along with https://github.com/fgrehm/vagrant-lxc/issues/164

Please have a look on setting things up for other distros on https://github.com/fgrehm/vagrant-lxc/wiki for more information and feel free to contribute with your findings!