vagrant-libvirt / vagrant-libvirt

Vagrant provider for libvirt.
https://vagrant-libvirt.github.io/vagrant-libvirt/
MIT License
2.33k stars 497 forks source link

"veryisolated" networks fail with 'create_private_network': undefined method `to_range' for nil:NilClass (NoMethodError) #753

Closed butjar closed 7 years ago

butjar commented 7 years ago
### Steps to reproduce 1. Create Vagrantfile with guests in a `veryisolated` network 2. Spawn VMs ### Expected behaviour VM(s) starts in a "very private"/ "very isolated" network ### Actual behaviour Vagrant crashes with: ``` /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:304:in `create_private_network': undefined method `to_range' for nil:NilClass (NoMethodError) ``` ### System configuration **OS/Distro version:**: Fedora 25/ Ubuntu 16.04 **Libvirt version:** `1.3.1` **Output of `vagrant version; vagrant plugin list`:** ``` Installed Version: 1.9.3 Latest Version: 1.9.3 You're running an up-to-date version of Vagrant! vagrant-libvirt (0.0.37) vagrant-share (1.1.7, system) ``` **Output of `VAGRANT_LOG=debug vagrant ... --provider=libvirt`** ``` INFO global: Vagrant version: 1.9.3 INFO global: Ruby version: 2.2.5 INFO global: RubyGems version: 2.4.5.1 INFO global: VAGRANT_LOG="debug" INFO global: VAGRANT_OLD_ENV_GDMSESSION="ubuntu" INFO global: VAGRANT_INSTALLER_ENV="1" INFO global: VAGRANT_OLD_ENV_CLUTTER_IM_MODULE="xim" INFO global: VAGRANT_OLD_ENV_SESSION="ubuntu" INFO global: VAGRANT_OLD_ENV_PWD="/home/butjar/bisdn/repos/vBRAS/foo" INFO global: VAGRANT_OLD_ENV_HOME="/home/butjar" INFO global: VAGRANT_OLD_ENV_INSTANCE="" INFO global: VAGRANT_OLD_ENV_GTK_IM_MODULE="ibus" INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-1.9.3/bin/vagrant" INFO global: VAGRANT_OLD_ENV_XDG_VTNR="7" INFO global: VAGRANT_OLD_ENV_LC_PAPER="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:" INFO global: VAGRANT_OLD_ENV_XDG_SESSION_ID="c2" INFO global: VAGRANT_OLD_ENV_QT_QPA_PLATFORMTHEME="appmenu-qt5" INFO global: VAGRANT_OLD_ENV_LANGUAGE="en_US" INFO global: VAGRANT_OLD_ENV_XDG_DATA_DIRS="/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop" INFO global: VAGRANT_OLD_ENV_GNOME_KEYRING_PID="" INFO global: VAGRANT_OLD_ENV_SESSIONTYPE="gnome-session" INFO global: VAGRANT_OLD_ENV_SHLVL="2" INFO global: VAGRANT_OLD_ENV_GNOME_DESKTOP_SESSION_ID="this-is-deprecated" INFO global: VAGRANT_OLD_ENV_ZSH="/home/butjar/.oh-my-zsh" INFO global: VAGRANT_OLD_ENV_XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0" INFO global: VAGRANT_OLD_ENV_SSH_AUTH_SOCK="/run/user/1000/keyring/ssh" INFO global: VAGRANT_OLD_ENV_DEFAULTS_PATH="/usr/share/gconf/ubuntu.default.path" INFO global: VAGRANT_OLD_ENV_DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-zLmmBv8S66" INFO global: VAGRANT_OLD_ENV_DISPLAY=":0" INFO global: VAGRANT_OLD_ENV_XMODIFIERS="@im=ibus" INFO global: VAGRANT_OLD_ENV_COMPIZ_CONFIG_PROFILE="ubuntu" INFO global: VAGRANT_OLD_ENV_LC_CTYPE="en_US.UTF-8" INFO global: VAGRANT_OLD_ENV_QT_LINUX_ACCESSIBILITY_ALWAYS_ON="1" INFO global: VAGRANT_OLD_ENV_WINDOWID="56623114" INFO global: VAGRANT_OLD_ENV_VAGRANT_LOG="debug" INFO global: VAGRANT_OLD_ENV_PAGER="less" INFO global: VAGRANT_OLD_ENV_UPSTART_JOB="unity7" INFO global: VAGRANT_OLD_ENV_LC_IDENTIFICATION="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_XDG_SESSION_TYPE="x11" INFO global: VAGRANT_OLD_ENV_JOB="unity-settings-daemon" INFO global: VAGRANT_OLD_ENV_XDG_SEAT="seat0" INFO global: VAGRANT_OLD_ENV_LC_MEASUREMENT="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_UPSTART_EVENTS="xsession started" INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" INFO global: VAGRANT_OLD_ENV_GTK_MODULES="gail:atk-bridge:unity-gtk-module" INFO global: VAGRANT_OLD_ENV__="/opt/vagrant/bin/vagrant" INFO global: VAGRANT_OLD_ENV_QT_IM_MODULE="ibus" INFO global: VAGRANT_OLD_ENV_MANDATORY_PATH="/usr/share/gconf/ubuntu.mandatory.path" INFO global: VAGRANT_OLD_ENV_UPSTART_INSTANCE="" INFO global: VAGRANT_OLD_ENV_LOGNAME="butjar" INFO global: VAGRANT_OLD_ENV_LC_ADDRESS="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_LC_MONETARY="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_GPG_AGENT_INFO="/home/butjar/.gnupg/S.gpg-agent:0:1" INFO global: VAGRANT_OLD_ENV_GNOME_KEYRING_CONTROL="" INFO global: VAGRANT_OLD_ENV_DESKTOP_SESSION="ubuntu" INFO global: VAGRANT_OLD_ENV_XDG_RUNTIME_DIR="/run/user/1000" INFO global: VAGRANT_OLD_ENV_XDG_CURRENT_DESKTOP="Unity" INFO global: VAGRANT_OLD_ENV_XDG_GREETER_DATA_DIR="/var/lib/lightdm-data/butjar" INFO global: VAGRANT_OLD_ENV_LC_NUMERIC="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_IM_CONFIG_PHASE="1" INFO global: VAGRANT_OLD_ENV_LANG="en_US.UTF-8" INFO global: VAGRANT_OLD_ENV_GTK2_MODULES="overlay-scrollbar" INFO global: VAGRANT_OLD_ENV_QT4_IM_MODULE="xim" INFO global: VAGRANT_INSTALLER_VERSION="2" INFO global: VAGRANT_OLD_ENV_LIBVIRT_DEFAULT_URI="qemu:///system" INFO global: VAGRANT_OLD_ENV_PATH="/home/butjar/bin:/home/butjar/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" INFO global: VAGRANT_OLD_ENV_XDG_CONFIG_DIRS="/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg" INFO global: VAGRANT_OLD_ENV_XAUTHORITY="/home/butjar/.Xauthority" INFO global: VAGRANT_OLD_ENV_SHELL="/usr/bin/zsh" INFO global: VAGRANT_OLD_ENV_XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0" INFO global: VAGRANT_OLD_ENV_LSCOLORS="Gxfxcxdxbxegedabagacad" INFO global: VAGRANT_OLD_ENV_GDM_LANG="en_US" INFO global: VAGRANT_OLD_ENV_LC_NAME="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_VTE_VERSION="4205" INFO global: VAGRANT_OLD_ENV_QT_ACCESSIBILITY="1" INFO global: VAGRANT_OLD_ENV_LESS="-R" INFO global: VAGRANT_OLD_ENV_COMPIZ_BIN_PATH="/usr/bin/" INFO global: VAGRANT_OLD_ENV_LC_TIME="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_TERM="xterm-256color" INFO global: VAGRANT_OLD_ENV_UPSTART_SESSION="unix:abstract=/com/ubuntu/upstart-session/1000/1854" INFO global: VAGRANT_OLD_ENV_LC_TELEPHONE="de_DE.UTF-8" INFO global: VAGRANT_OLD_ENV_USER="butjar" INFO global: VAGRANT_OLD_ENV_XDG_SESSION_DESKTOP="ubuntu" INFO global: Plugins: INFO global: - vagrant-libvirt = [installed: 0.0.37 constraint: > 0] INFO global: - vagrant-share = [installed: undefined constraint: > 0] 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: ["vagrant-share-1.1.7", "vagrant-libvirt-0.0.37", "vagrant-1.9.3", "nokogiri-1.6.7.1", "rest-client-2.0.1", "fog-libvirt-0.3.0", "ruby_dep-1.3.1", "winrm-elevated-1.1.0", "winrm-fs-1.0.1", "winrm-2.1.3", "wdm-0.1.1", "rb-kqueue-0.2.4", "net-scp-1.1.2", "net-sftp-2.1.2", "net-ssh-3.0.2", "log4r-1.1.10", "hashicorp-checkpoint-0.1.4", "listen-3.1.5", "i18n-0.8.0", "erubis-2.7.0", "childprocess-0.5.9", "mini_portile2-2.0.0", "netrc-0.11.0", "mime-types-3.1", "http-cookie-1.0.3", "json-1.8.1", "ruby-libvirt-0.7.0", "fog-xml-0.1.3", "fog-json-1.0.2", "fog-core-1.43.0", "rubyzip-1.2.1", "logging-2.2.0", "builder-3.2.3", "gyoku-1.3.1", "nori-2.6.0", "rubyntlm-0.6.1", "httpclient-2.8.3", "gssapi-1.2.0", "ffi-1.9.18", "rb-inotify-0.9.8", "rb-fsevent-0.9.8", "mime-types-data-3.2016.0521", "domain_name-0.5.20170223", "multi_json-1.12.1", "formatador-0.2.5", "excon-0.55.0", "little-plugger-1.1.4", "unf-0.1.4", "unf_ext-0.0.7.2"] DEBUG bundler: Activating gem vagrant-share-1.1.7 DEBUG bundler: Activating gem vagrant-libvirt-0.0.37 DEBUG bundler: Failed to load solution set. Retrying with reverse order. DEBUG bundler: Activating solution set: ["unf_ext-0.0.7.2", "unf-0.1.4", "little-plugger-1.1.4", "excon-0.55.0", "formatador-0.2.5", "multi_json-1.12.1", "domain_name-0.5.20170223", "mime-types-data-3.2016.0521", "rb-fsevent-0.9.8", "rb-inotify-0.9.8", "ffi-1.9.18", "gssapi-1.2.0", "httpclient-2.8.3", "rubyntlm-0.6.1", "nori-2.6.0", "gyoku-1.3.1", "builder-3.2.3", "logging-2.2.0", "rubyzip-1.2.1", "fog-core-1.43.0", "fog-json-1.0.2", "fog-xml-0.1.3", "ruby-libvirt-0.7.0", "json-1.8.1", "http-cookie-1.0.3", "mime-types-3.1", "netrc-0.11.0", "mini_portile2-2.0.0", "childprocess-0.5.9", "erubis-2.7.0", "i18n-0.8.0", "listen-3.1.5", "hashicorp-checkpoint-0.1.4", "log4r-1.1.10", "net-ssh-3.0.2", "net-sftp-2.1.2", "net-scp-1.1.2", "rb-kqueue-0.2.4", "wdm-0.1.1", "winrm-2.1.3", "winrm-fs-1.0.1", "winrm-elevated-1.1.0", "ruby_dep-1.3.1", "fog-libvirt-0.3.0", "rest-client-2.0.1", "nokogiri-1.6.7.1", "vagrant-1.9.3", "vagrant-libvirt-0.0.37", "vagrant-share-1.1.7"] DEBUG bundler: Activating gem excon-0.55.0 DEBUG bundler: Activating gem formatador-0.2.5 DEBUG bundler: Activating gem fog-core-1.43.0 DEBUG bundler: Activating gem fog-json-1.0.2 DEBUG bundler: Activating gem fog-xml-0.1.3 DEBUG bundler: Activating gem ruby-libvirt-0.7.0 DEBUG bundler: Activating gem fog-libvirt-0.3.0 DEBUG bundler: Activating gem vagrant-libvirt-0.0.37 DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/communicators/winrm/plugin.rb INFO manager: Registered plugin: winrm communicator DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/communicators/ssh/plugin.rb INFO manager: Registered plugin: ssh communicator DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/kernel_v1/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/ansible/plugin.rb INFO manager: Registered plugin: ansible DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/salt/plugin.rb INFO manager: Registered plugin: salt DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/cfengine/plugin.rb INFO manager: Registered plugin: CFEngine Provisioner DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/chef/plugin.rb INFO manager: Registered plugin: chef DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/docker/plugin.rb INFO manager: Registered plugin: docker DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/shell/plugin.rb INFO manager: Registered plugin: shell DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/file/plugin.rb INFO manager: Registered plugin: file DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/provisioners/puppet/plugin.rb INFO manager: Registered plugin: puppet DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/kernel_v2/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/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.9.3/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.9.3/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.9.3/plugins/providers/hyperv/plugin.rb INFO manager: Registered plugin: Hyper-V provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/providers/virtualbox/plugin.rb INFO manager: Registered plugin: VirtualBox provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/providers/docker/plugin.rb INFO manager: Registered plugin: docker-provider DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/port/plugin.rb INFO manager: Registered plugin: port command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/cap/plugin.rb INFO manager: Registered plugin: cap command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/init/plugin.rb INFO manager: Registered plugin: init command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/suspend/plugin.rb INFO manager: Registered plugin: suspend command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/powershell/plugin.rb INFO manager: Registered plugin: powershell command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/halt/plugin.rb INFO manager: Registered plugin: halt command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/login/plugin.rb INFO manager: Registered plugin: vagrant-login DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/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.9.3/plugins/commands/rdp/plugin.rb INFO manager: Registered plugin: rdp command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/plugin/plugin.rb INFO manager: Registered plugin: plugin command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/box/plugin.rb INFO manager: Registered plugin: box command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/snapshot/plugin.rb INFO manager: Registered plugin: snapshot command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/package/plugin.rb INFO manager: Registered plugin: package command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/status/plugin.rb INFO manager: Registered plugin: status command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/destroy/plugin.rb INFO manager: Registered plugin: destroy command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/reload/plugin.rb INFO manager: Registered plugin: reload command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/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.9.3/plugins/commands/resume/plugin.rb INFO manager: Registered plugin: resume command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/provision/plugin.rb INFO manager: Registered plugin: provision command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/provider/plugin.rb INFO manager: Registered plugin: provider command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/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.9.3/plugins/commands/ssh/plugin.rb INFO manager: Registered plugin: ssh command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/version/plugin.rb INFO manager: Registered plugin: version command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/help/plugin.rb INFO manager: Registered plugin: help command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/push/plugin.rb INFO manager: Registered plugin: push command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/commands/up/plugin.rb INFO manager: Registered plugin: up command DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/pushes/noop/plugin.rb INFO manager: Registered plugin: noop DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/pushes/ftp/plugin.rb INFO manager: Registered plugin: ftp DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/pushes/atlas/plugin.rb INFO manager: Registered plugin: atlas DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/pushes/heroku/plugin.rb INFO manager: Registered plugin: heroku DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/pushes/local-exec/plugin.rb INFO manager: Registered plugin: local-exec DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/bsd/plugin.rb INFO manager: Registered plugin: BSD host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/slackware/plugin.rb INFO manager: Registered plugin: Slackware host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/null/plugin.rb INFO manager: Registered plugin: null host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/arch/plugin.rb INFO manager: Registered plugin: Arch host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/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.9.3/plugins/hosts/suse/plugin.rb INFO manager: Registered plugin: SUSE host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/windows/plugin.rb INFO manager: Registered plugin: Windows host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/linux/plugin.rb INFO manager: Registered plugin: Linux host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/hosts/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo host DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/nixos/plugin.rb INFO manager: Registered plugin: NixOS guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/funtoo/plugin.rb INFO manager: Registered plugin: Funtoo guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/pld/plugin.rb INFO manager: Registered plugin: PLD Linux guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/fedora/plugin.rb INFO manager: Registered plugin: Fedora guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/coreos/plugin.rb INFO manager: Registered plugin: CoreOS guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/bsd/plugin.rb INFO manager: Registered plugin: BSD-based guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/tinycore/plugin.rb INFO manager: Registered plugin: TinyCore Linux guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/amazon/plugin.rb INFO manager: Registered plugin: Amazon Linux guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/slackware/plugin.rb INFO manager: Registered plugin: Slackware guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/dragonflybsd/plugin.rb INFO manager: Registered plugin: DragonFly BSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/debian/plugin.rb INFO manager: Registered plugin: Debian guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/netbsd/plugin.rb INFO manager: Registered plugin: NetBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/arch/plugin.rb INFO manager: Registered plugin: Arch guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/darwin/plugin.rb INFO manager: Registered plugin: Darwin guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/trisquel/plugin.rb INFO manager: Registered plugin: Trisquel guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/suse/plugin.rb INFO manager: Registered plugin: SUSE guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/solaris/plugin.rb INFO manager: Registered plugin: Solaris guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/ubuntu/plugin.rb INFO manager: Registered plugin: Ubuntu guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/mint/plugin.rb INFO manager: Registered plugin: Mint guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/smartos/plugin.rb INFO manager: Registered plugin: SmartOS guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/esxi/plugin.rb INFO manager: Registered plugin: ESXi guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/windows/plugin.rb INFO manager: Registered plugin: Windows guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/linux/plugin.rb INFO manager: Registered plugin: Linux guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/openbsd/plugin.rb INFO manager: Registered plugin: OpenBSD guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/photon/plugin.rb INFO manager: Registered plugin: VMware Photon guest DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/solaris11/plugin.rb INFO manager: Registered plugin: Solaris 11 guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/omnios/plugin.rb INFO manager: Registered plugin: OmniOS guest. DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/plugins/guests/atomic/plugin.rb INFO manager: Registered plugin: Atomic Host guest INFO global: Loading plugins! DEBUG global: Loading plugin `vagrant-libvirt` with default require: `vagrant-libvirt` INFO manager: Registered plugin: libvirt DEBUG global: Successfully loaded plugin `vagrant-libvirt`. DEBUG global: Loading plugin `vagrant-share` with default require: `vagrant-share` INFO manager: Registered plugin: vagrant-share DEBUG global: Successfully loaded plugin `vagrant-share`. INFO vagrant: `vagrant` invoked: ["up", "--provider=libvirt"] DEBUG vagrant: Creating Vagrant environment INFO environment: Environment initialized (#) INFO environment: - cwd: /home/butjar/bisdn/repos/vBRAS/foo INFO environment: Home path: /home/butjar/.vagrant.d DEBUG environment: Effective local data path: /home/butjar/bisdn/repos/vBRAS/foo/.vagrant INFO environment: Local data path: /home/butjar/bisdn/repos/vBRAS/foo/.vagrant DEBUG environment: Creating: /home/butjar/bisdn/repos/vBRAS/foo/.vagrant INFO environment: Running hook: environment_plugins_loaded INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: environment_plugins_loaded # INFO environment: Running hook: environment_load INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: environment_load # INFO cli: CLI: [] "up" ["--provider=libvirt"] DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--provider=libvirt"] DEBUG command: 'Up' each target VM... INFO loader: Set :root = ["#"] DEBUG loader: Populating proc cache for # DEBUG loader: Load procs for pathname: /home/butjar/bisdn/repos/vBRAS/foo/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 DEBUG command: Getting target VMs for command. Arguments: DEBUG command: -- names: ["foo"] DEBUG command: -- options: nil DEBUG command: Finding machine that match name: foo INFO command: Active machine found with name foo. Using provider: libvirt INFO environment: Getting machine: foo (libvirt) INFO environment: Uncached load of machine. INFO loader: Set "18465540_machine_foo" = ["[\"2\", #]"] DEBUG loader: Populating proc cache for ["2", #] INFO loader: Loading configuration in order: [:home, :root, "18465540_machine_foo"] DEBUG loader: Loading from: root (cache) DEBUG loader: Loading from: 18465540_machine_foo (evaluating) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO box_collection: Box found: centos/7 (libvirt) INFO environment: Running hook: authenticate_box_url INFO host: Autodetecting host type for [#] DEBUG host: Trying: slackware DEBUG host: Trying: freebsd DEBUG host: Trying: arch DEBUG host: Trying: darwin DEBUG host: Trying: suse DEBUG host: Trying: redhat DEBUG host: Trying: gentoo DEBUG host: Trying: bsd DEBUG host: Trying: null DEBUG host: Trying: windows DEBUG host: Trying: linux INFO host: Detected: linux! INFO runner: Preparing hooks for middleware sequence... INFO runner: 3 hooks defined. INFO runner: Running action: authenticate_box_url # INFO warden: Calling IN action: # DEBUG client: No authentication token in environment or /home/butjar/.vagrant.d/data/vagrant_login_token INFO warden: Calling OUT action: # INFO loader: Set :"14920840_centos/7_libvirt" = ["#"] DEBUG loader: Populating proc cache for # DEBUG loader: Load procs for pathname: /home/butjar/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1702.01/libvirt/Vagrantfile INFO loader: Loading configuration in order: [:"14920840_centos/7_libvirt", :home, :root, "18465540_machine_foo"] DEBUG loader: Loading from: 14920840_centos/7_libvirt (evaluating) DEBUG loader: Loading from: root (cache) DEBUG loader: Loading from: 18465540_machine_foo (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO machine: Initializing machine: foo INFO machine: - Provider: VagrantPlugins::ProviderLibvirt::Provider INFO machine: - Box: # INFO machine: - Data dir: /home/butjar/bisdn/repos/vBRAS/foo/.vagrant/machines/foo/libvirt INFO driver: Connecting to Libvirt (qemu:///system?no_verify=1&keyfile=/home/butjar/.ssh/id_rsa) ... INFO interface: Machine: metadata ["provider", :libvirt, {:target=>:foo}] INFO command: With machine: foo (#, @cap_logger=#, @name="stderr", @level=0, @formatter=#, @out=#>>], @additive=true, @name="vagrant", @path="", @parent=#, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:libvirt, #<#:0x00000002df1248>]], @cap_args=[#], @cap_caps={:hyperv=>##, :snapshot_list=>#}, @results_cache={}>, :virtualbox=>##, :nic_mac_addresses=>#, :public_address=>#, :snapshot_list=>#}, @results_cache={}>, :docker=>##, :proxy_machine=>#}, @results_cache={}>, :libvirt=>##}, @results_cache={}>}, @driver=#, @name="stderr", @level=0, @formatter=#, @out=#>>], @additive=true, @name="vagrant_libvirt", @path="", @parent=#, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#>>) DEBUG host: Searching for cap: provider_install_libvirt DEBUG host: Checking in: linux DEBUG command: Getting target VMs for command. Arguments: DEBUG command: -- names: ["foo"] DEBUG command: -- options: {:provider=>"libvirt"} DEBUG command: Finding machine that match name: foo INFO command: Active machine found with name foo. Using provider: libvirt INFO environment: Getting machine: foo (libvirt) INFO environment: Returning cached machine: foo (libvirt) INFO command: With machine: foo (#, @cap_logger=#, @name="stderr", @level=0, @formatter=#, @out=#>>], @additive=true, @name="vagrant", @path="", @parent=#, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:libvirt, #<#:0x00000002df1248>]], @cap_args=[#], @cap_caps={:hyperv=>##, :snapshot_list=>#}, @results_cache={}>, :virtualbox=>##, :nic_mac_addresses=>#, :public_address=>#, :snapshot_list=>#}, @results_cache={}>, :docker=>##, :proxy_machine=>#}, @results_cache={}>, :libvirt=>##}, @results_cache={}>}, @driver=#, @name="stderr", @level=0, @formatter=#, @out=#>>], @additive=true, @name="vagrant_libvirt", @path="", @parent=#, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#>>) INFO interface: info: Bringing machine 'foo' up with 'libvirt' provider... Bringing machine 'foo' up with 'libvirt' provider... INFO batch_action: Enabling parallelization by default. INFO batch_action: Disabling parallelization because only executing one action INFO batch_action: Batch action will parallelize: false INFO batch_action: Starting action: # up {:destroy_on_error=>true, :install_provider=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil, :provider=>"libvirt"} INFO machine: Calling action: up on provider Libvirt (5c0704c2-159d-422b-88ab-efd8e896fc34) DEBUG environment: Attempting to acquire process-lock: machine-action-0e0187f536f2502018c1bb5a0cb625bc 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-0e0187f536f2502018c1bb5a0cb625bc INFO interface: Machine: action ["up", "start", {:target=>:foo}] INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling OUT action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling OUT action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling OUT action: # INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: machine_action_up # INFO warden: Calling IN action: # INFO warden: Calling IN action: # INFO provision: Checking provisioner sentinel file... INFO warden: Calling IN action: # INFO create_networks: Using vagrant-libvirt at 192.168.121.0/24 as the management network nat is the mode DEBUG create_networks: In config found network type private_network options {:libvirt__forward_mode=>"veryisolated", :ip=>"192.168.16.2", :protocol=>"tcp", :id=>"69ee8a15-daa7-431b-bdfc-4f34d9703619"} DEBUG create_networks: In config found network type forwarded_port options {:guest=>22, :host=>2222, :host_ip=>"127.0.0.1", :id=>"ssh", :auto_correct=>true, :protocol=>"tcp"} DEBUG create_networks: Searching for network with options {:iface_type=>:private_network, :network_name=>"vagrant-libvirt", :ip=>"192.168.121.0", :netmask=>"255.255.255.0", :dhcp_enabled=>true, :forward_mode=>"nat", :guest_ipv6=>"yes", :autostart=>false} DEBUG create_networks: looking up network with ip == 192.168.121.0 DEBUG create_networks: Checking that network name does not clash with ip DEBUG create_networks: Searching for network with options {:iface_type=>:private_network, :netmask=>"255.255.255.0", :dhcp_enabled=>true, :forward_mode=>"veryisolated", :libvirt__forward_mode=>"veryisolated", :ip=>"192.168.16.2", :protocol=>"tcp", :id=>"69ee8a15-daa7-431b-bdfc-4f34d9703619"} DEBUG create_networks: looking up network named DEBUG create_networks: generating name for network DEBUG create_networks: looking up network named foo0 DEBUG create_networks: generating name for bridge DEBUG create_networks: looking up bridge named virbr0 DEBUG create_networks: looking up bridge named virbr1 DEBUG create_networks: looking up bridge named virbr2 DEBUG create_networks: found available bridge name virbr2 ERROR warden: Error occurred: undefined method `to_range' 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 `to_range' for nil:NilClass INFO warden: Beginning recovery process... INFO warden: Recovery complete. ERROR warden: Error occurred: undefined method `to_range' for nil:NilClass INFO warden: Beginning recovery process... INFO warden: Calling recover: # INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Recovery complete. ERROR warden: Error occurred: undefined method `to_range' for nil:NilClass INFO warden: Beginning recovery process... INFO warden: Recovery complete. ERROR warden: Error occurred: undefined method `to_range' for nil:NilClass INFO warden: Beginning recovery process... INFO warden: Calling recover: # INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. ERROR warden: Error occurred: undefined method `to_range' for nil:NilClass INFO warden: Beginning recovery process... INFO warden: Recovery complete. ERROR warden: Error occurred: undefined method `to_range' for nil:NilClass INFO warden: Beginning recovery process... INFO warden: Calling recover: # INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO warden: Recovery complete. INFO warden: Beginning recovery process... INFO warden: Recovery complete. INFO environment: Released process lock: machine-action-0e0187f536f2502018c1bb5a0cb625bc INFO environment: Running hook: environment_unload INFO runner: Preparing hooks for middleware sequence... INFO runner: 2 hooks defined. INFO runner: Running action: environment_unload # /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:304:in `create_private_network': undefined method `to_range' for nil:NilClass (NoMethodError) from /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:199:in `handle_ip_option' from /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:69:in `block (2 levels) in call' from /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:36:in `each' from /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:36:in `block in call' from /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:33:in `synchronize' from /home/butjar/.vagrant.d/gems/2.2.5/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:33:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builtin/provision.rb:80:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builder.rb:116:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/util/busy.rb:19:in `busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builtin/call.rb:53:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builder.rb:116:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/util/busy.rb:19:in `busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builtin/call.rb:53:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:95:in `block in finalize_action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builder.rb:116:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/util/busy.rb:19:in `busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builtin/call.rb:53:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builtin/config_validate.rb:25:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/warden.rb:34:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/builder.rb:116:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `block in run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/util/busy.rb:19:in `busy' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/action/runner.rb:66:in `run' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/machine.rb:225:in `action_raw' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/machine.rb:200:in `block in action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/environment.rb:567:in `lock' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/machine.rb:186:in `call' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/machine.rb:186:in `action' from /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run' ``` **A Vagrantfile to reproduce the issue:** ``` Vagrant.configure('2') do |config| config.vm.define :foo do |foo| foo.vm.box = 'centos/7' foo.vm.network :private_network, :libvirt__forward_mode => 'veryisolated', :ip => '192.168.16.2' end end ``` **Are you using upstream vagrant package or your distros package?** Upstream
infernix commented 7 years ago

Network config with no gateway addresses

A valid network definition can contain no IPv4 or IPv6 addresses. Such a definition can be used for a "very private" or "very isolated" network since it will not be possible to communicate with the virtualization host via this network. However, this virtual network interface can be used for communication between virtual guest systems. This works for IPv4 and (Since 1.0.1) IPv6. However, the new ipv6='yes' must be added for guest-to-guest IPv6 communication.

veryisolated is supposed to be used when you do not want any IP assigned. You may want to use none.

butjar commented 7 years ago

Thx, I played with the configuration a bit and it kind of worked when i disabled DHCP :dhcp_enabled => false. If I understand correctly guest to guest communication should work via IP.