I make an upgrade from fedora 24 to fedora 25 after this upgrade, my old vagrant-box notice this error when vagrant up:
[mik@sp-77 admin4_vagrant]$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Starting domain.
There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
my libvirtd images path is not /var/lib/libvirt/images but /home/libvirt-img and images related to old boxes are stored in /home/libvirt-img :
[root@sp-77 ~]# virsh pool-dumpxml default
<pool type='dir'>
<name>default</name>
<uuid>fbb70367-235c-4ad4-8f42-fbb4f75bd903</uuid>
<capacity unit='bytes'>78663491584</capacity>
<allocation unit='bytes'>31108046848</allocation>
<available unit='bytes'>47555444736</available>
<source>
</source>
<target>
<path>/home/libvirt-img</path>
<permissions>
<mode>0711</mode>
<owner>0</owner>
<group>0</group>
<label>system_u:object_r:virt_image_t:s0</label>
</permissions>
</target>
</pool>
[root@sp-77 ~]#
However, If I create a new box with vagrant init, the init works as expected and a new image is created in /home/libvirt-img:
[mik@sp-77 test_vagrant]$ vagrant init fedora/24-cloud-base
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
[mik@sp-77 test_vagrant]$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Box 'fedora/24-cloud-base' could not be found. Attempting to find and install...
default: Box Provider: libvirt
default: Box Version: >= 0
....
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Configuring and enabling network interfaces...
==> default: Rsyncing folder: /home/mik/test_vagrant/ => /vagrant
[mik@sp-77 test_vagrant]$ vagrant ssh
[vagrant@localhost ~]$ ls
[vagrant@localhost ~]$ logout
Connection to 192.168.121.2 closed.
[mik@sp-77 test_vagrant]$ ls /home/
[mik@sp-77 ~]$ sudo ls -l /home/libvirt-img/
total 12273252
-rw-------. 1 root root 513540096 26 f茅vr. 22:01 admin4_vagrant_default.img
-rw-------. 1 root root 932511744 26 f茅vr. 22:01 bsod_rdv_vagrant_default.img
-rwxr--r--. 1 qemu qemu 2321940480 10 oct. 20:26 centos7py35_vagrant_box_image_0.img
-rwxr--r--. 1 qemu qemu 1313538048 5 avril 2016 centos-VAGRANTSLASH-7_vagrant_box_image_1602.02.img
-rw-------. 1 qemu qemu 986841088 24 janv. 23:36 elwis_vagrant_default.img
-rwxr--r-- 1 qemu qemu 696254464 9 mars 10:03 fedora-VAGRANTSLASH-24-cloud-base_vagrant_box_image_20160621.img
-rw-------. 1 root root 1821114368 5 oct. 21:11 miorder_default.img
-rw-------. 1 root root 1884749824 18 janv. 10:42 miorder_vagrant_default.img
-rw-------. 1 root root 1117782016 7 juin 2016 test_celery_default.img
-rw-------. 1 root root 619970560 26 f茅vr. 22:01 test_centos_sqa_default.img
-rw-------. 1 root root 359792640 10 oct. 09:26 test_git_integration_default.img
"vagrant up" on Vagrant boxes from before upgrade should find the actual images' emplacement.
Distro version: Fedora 25
Nom : vagrant-libvirt
Architectur : noarch
脡poque : 0
Version : 0.0.35
R茅vision : 3.fc25
Taille : 180 k
D茅p么t : @System
Depuis le d : updates
R茅sum茅 : libvirt provider for Vagrant
URL : https://github.com/vagrant-libvirt/vagrant-libvirt
Licence : MIT
Description : libvirt provider for Vagrant.
vagrant version:
Vagrant 1.8.5
vagrant plugin-list:
vagrant-libvirt (0.0.37, system)
vagrant-sshfs (1.3.0)
Output of VAGRANT_LOG=debug vagrant ... --provider=libvirt
INFO global: Vagrant version: 1.8.5
INFO global: Ruby version: 2.3.3
INFO global: RubyGems version: 2.5.2
INFO global: VAGRANT_DEFAULT_PROVIDER="libvirt"
INFO global: VAGRANT_EXECUTABLE="/usr/share/vagrant/bin/vagrant"
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/var/lib/vagrant"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_DETECTED_OS="Linux"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: Plugins:
INFO global: - builder = 3.2.3
INFO global: - bundler = 1.12.5
INFO global: - excon = 0.55.0
INFO global: - ffi = 1.9.18
INFO global: - formatador = 0.2.5
INFO global: - fog-core = 1.43.0
INFO global: - multi_json = 1.12.1
INFO global: - fog-json = 1.0.2
INFO global: - mini_portile2 = 2.1.0
INFO global: - nokogiri = 1.6.8.1
INFO global: - fog-xml = 0.1.2
INFO global: - json = 2.0.3
INFO global: - ruby-libvirt = 0.7.0
INFO global: - fog-libvirt = 0.3.0
INFO global: - vagrant-libvirt = 0.0.37
INFO global: - win32-process = 0.8.3
INFO global: - vagrant-sshfs = 1.3.0
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/cap/plugin.rb
INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/global-status/plugin.rb
INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/list-commands/plugin.rb
INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/login/plugin.rb
INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/port/plugin.rb
INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/powershell/plugin.rb
INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/provider/plugin.rb
INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/push/plugin.rb
INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/rdp/plugin.rb
INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/snapshot/plugin.rb
INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/commands/version/plugin.rb
INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/communicators/winrm/plugin.rb
INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/atomic/plugin.rb
INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/funtoo/plugin.rb
INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/mint/plugin.rb
INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/netbsd/plugin.rb
INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/nixos/plugin.rb
INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/photon/plugin.rb
INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/slackware/plugin.rb
INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/smartos/plugin.rb
INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/tinycore/plugin.rb
INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/windows/plugin.rb
INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/amazon/plugin.rb
INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/bsd/plugin.rb
INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/guests/trisquel/plugin.rb
INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/darwin/plugin.rb
INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/null/plugin.rb
INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/suse/plugin.rb
INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/providers/docker/plugin.rb
INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/providers/hyperv/plugin.rb
INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/pushes/atlas/plugin.rb
INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/pushes/ftp/plugin.rb
INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/pushes/heroku/plugin.rb
INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/pushes/local-exec/plugin.rb
INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/pushes/noop/plugin.rb
INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/synced_folders/rsync/plugin.rb
INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /usr/share/vagrant/plugins/synced_folders/smb/plugin.rb
INFO manager: Registered plugin: SMB synced folders
INFO global: Loading plugins!
INFO manager: Registered plugin: libvirt
INFO manager: Registered plugin: SSHFS synced folders
INFO vagrant: `vagrant` invoked: ["up"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#<Vagrant::Environment:0x0055be16ffe1a8>)
INFO environment: - cwd: /home/mik/dev_nerim/env/admin4_vagrant
INFO environment: Home path: /home/mik/.vagrant.d
INFO environment: Local data path: /home/mik/dev_nerim/env/admin4_vagrant/.vagrant
DEBUG environment: Creating: /home/mik/dev_nerim/env/admin4_vagrant/.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 #<Vagrant::Action::Builder:0x0055be170b3df0>
INFO environment: Running hook: environment_load
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x0055be171b85c0>
INFO cli: CLI: [] "up" []
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command []
DEBUG command: 'Up' each target VM...
INFO loader: Set :root = ["#<Pathname:/home/mik/dev_nerim/env/admin4_vagrant/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/home/mik/dev_nerim/env/admin4_vagrant/Vagrantfile>
DEBUG loader: Load procs for pathname: /home/mik/dev_nerim/env/admin4_vagrant/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: ["default"]
DEBUG command: -- options: nil
DEBUG command: Finding machine that match name: default
INFO command: Active machine found with name default. Using provider: libvirt
INFO environment: Getting machine: default (libvirt)
INFO environment: Uncached load of machine.
INFO loader: Set "47137460498140_machine_default" = []
INFO loader: Loading configuration in order: [:home, :root, "47137460498140_machine_default"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO box_collection: Box found: centos7py35 (libvirt)
INFO loader: Set :"47137461815020_centos7py35_libvirt" = ["#<Pathname:/home/mik/.vagrant.d/boxes/centos7py35/0/libvirt/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/home/mik/.vagrant.d/boxes/centos7py35/0/libvirt/Vagrantfile>
DEBUG loader: Load procs for pathname: /home/mik/.vagrant.d/boxes/centos7py35/0/libvirt/Vagrantfile
INFO loader: Loading configuration in order: [:"47137461815020_centos7py35_libvirt", :home, :root, "47137460498140_machine_default"]
DEBUG loader: Loading from: 47137461815020_centos7py35_libvirt (evaluating)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO machine: Initializing machine: default
INFO machine: - Provider: VagrantPlugins::ProviderLibvirt::Provider
INFO machine: - Box: #<Vagrant::Box:0x0055be176d6368>
INFO machine: - Data dir: /home/mik/dev_nerim/env/admin4_vagrant/.vagrant/machines/default/libvirt
INFO driver: Connecting to Libvirt (qemu:///system?no_verify=1&keyfile=/home/mik/.ssh/id_rsa) ...
INFO interface: Machine: metadata ["provider", :libvirt, {:target=>:default}]
INFO command: With machine: default (#<VagrantPlugins::ProviderLibvirt::Provider:0x0055be1732fb38 @machine=#<Vagrant::Machine: default (VagrantPlugins::ProviderLibvirt::Provider)>, @cap_logger=#<Log4r::Logger:0x0055be1732ba10 @fullname="vagrant::capability_host::vagrantplugins::providerlibvirt::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::providerlibvirt", @parent=#<Log4r::Logger:0x0055be166cd188 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0055be163327f8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0055be16332730>, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x0055be1632e568 @depth=7>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0055be166cd048 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:libvirt, #<#<Class:0x0055be1732bf88>:0x0055be173003d8>]], @cap_args=[#<Vagrant::Machine: default (VagrantPlugins::ProviderLibvirt::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x0055be1732be48 @items={:public_address=>#<Proc:0x0055be15f9ca08@/usr/share/vagrant/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x0055be15f9c558@/usr/share/vagrant/plugins/providers/docker/plugin.rb:65>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x0055be1732bd80 @items={:public_address=>#<Proc:0x0055be15f48110@/usr/share/vagrant/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x0055be15f27cd0@/usr/share/vagrant/plugins/providers/hyperv/plugin.rb:30>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x0055be1732bce0 @items={:forwarded_ports=>#<Proc:0x0055be15eff410@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x0055be15eff348@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x0055be15eff2f8@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:37>, :snapshot_list=>#<Proc:0x0055be15eff280@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:42>}, @results_cache={}>, :libvirt=>#<Vagrant::Registry:0x0055be1732bc18 @items={:nic_mac_addresses=>#<Proc:0x0055be16988648@/home/mik/.vagrant.d/gems/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/plugin.rb:37>}, @results_cache={}>}, @driver=#<VagrantPlugins::ProviderLibvirt::Driver:0x0055be17588a10 @logger=#<Log4r::Logger:0x0055be17588dd0 @fullname="vagrant_libvirt::driver", @outputters=[], @additive=true, @name="driver", @path="vagrant_libvirt", @parent=#<Log4r::Logger:0x0055be16988170 @fullname="vagrant_libvirt", @outputters=[#<Log4r::StderrOutputter:0x0055be163327f8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0055be16332730>, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x0055be1632e568 @depth=7>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant_libvirt", @path="", @parent=#<Log4r::RootLogger:0x0055be166cd048 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#<Vagrant::Machine: default (VagrantPlugins::ProviderLibvirt::Provider)>>>)
INFO host: Autodetecting host type for [#<Vagrant::Environment: /home/mik/dev_nerim/env/admin4_vagrant>]
DEBUG host: Trying: arch
DEBUG host: Trying: darwin
DEBUG host: Trying: freebsd
DEBUG host: Trying: gentoo
DEBUG host: Trying: redhat
INFO host: Detected: redhat!
DEBUG host: Searching for cap: provider_install_libvirt
DEBUG host: Checking in: redhat
DEBUG host: Checking in: linux
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: ["default"]
DEBUG command: -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: default
INFO command: Active machine found with name default. Using provider: libvirt
INFO environment: Getting machine: default (libvirt)
INFO environment: Returning cached machine: default (libvirt)
INFO command: With machine: default (#<VagrantPlugins::ProviderLibvirt::Provider:0x0055be1732fb38 @machine=#<Vagrant::Machine: default (VagrantPlugins::ProviderLibvirt::Provider)>, @cap_logger=#<Log4r::Logger:0x0055be1732ba10 @fullname="vagrant::capability_host::vagrantplugins::providerlibvirt::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::providerlibvirt", @parent=#<Log4r::Logger:0x0055be166cd188 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0055be163327f8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0055be16332730>, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x0055be1632e568 @depth=7>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0055be166cd048 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:libvirt, #<#<Class:0x0055be1732bf88>:0x0055be173003d8>]], @cap_args=[#<Vagrant::Machine: default (VagrantPlugins::ProviderLibvirt::Provider)>], @cap_caps={:docker=>#<Vagrant::Registry:0x0055be1732be48 @items={:public_address=>#<Proc:0x0055be15f9ca08@/usr/share/vagrant/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x0055be15f9c558@/usr/share/vagrant/plugins/providers/docker/plugin.rb:65>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x0055be1732bd80 @items={:public_address=>#<Proc:0x0055be15f48110@/usr/share/vagrant/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x0055be15f27cd0@/usr/share/vagrant/plugins/providers/hyperv/plugin.rb:30>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x0055be1732bce0 @items={:forwarded_ports=>#<Proc:0x0055be15eff410@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x0055be15eff348@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x0055be15eff2f8@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:37>, :snapshot_list=>#<Proc:0x0055be15eff280@/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb:42>}, @results_cache={}>, :libvirt=>#<Vagrant::Registry:0x0055be1732bc18 @items={:nic_mac_addresses=>#<Proc:0x0055be16988648@/home/mik/.vagrant.d/gems/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/plugin.rb:37>}, @results_cache={}>}, @driver=#<VagrantPlugins::ProviderLibvirt::Driver:0x0055be17588a10 @logger=#<Log4r::Logger:0x0055be17588dd0 @fullname="vagrant_libvirt::driver", @outputters=[], @additive=true, @name="driver", @path="vagrant_libvirt", @parent=#<Log4r::Logger:0x0055be16988170 @fullname="vagrant_libvirt", @outputters=[#<Log4r::StderrOutputter:0x0055be163327f8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0055be16332730>, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x0055be1632e568 @depth=7>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant_libvirt", @path="", @parent=#<Log4r::RootLogger:0x0055be166cd048 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#<Vagrant::Machine: default (VagrantPlugins::ProviderLibvirt::Provider)>>>)
INFO interface: info: Bringing machine 'default' up with 'libvirt' provider...
Bringing machine 'default' 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: #<Vagrant::Machine:0x0055be173f2c78> up {:destroy_on_error=>true, :install_provider=>true, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
INFO machine: Calling action: up on provider Libvirt (4e52b577-7887-484a-841e-fd8cd1821ce7)
DEBUG environment: Attempting to acquire process-lock: machine-action-6325455c66353c57a0ede97820e07efe
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-6325455c66353c57a0ede97820e07efe
INFO interface: Machine: action ["up", "start", {:target=>:default}]
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x0055be15fddd00>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0055be15cd8d30>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0055be15cd8bf0>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x0055be1767c728>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x0055be1765d170>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x0055be1765d170>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x0055be174d4bf0>
INFO warden: Calling IN action: #<Proc:0x0055be173fc480@/usr/share/vagrant/lib/vagrant/action/warden.rb:94 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x0055be174d4b78>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0055be174d4b50>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x0055be17121af8>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsRunning:0x0055be170a6da8>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsRunning:0x0055be170a6da8>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x0055be17757e90>
INFO warden: Calling IN action: #<Proc:0x0055be176d39b0@/usr/share/vagrant/lib/vagrant/action/warden.rb:94 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x0055be17757e18>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x0055be17571950>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsSuspended:0x0055be1755a480>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsSuspended:0x0055be1755a480>
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x0055be15ee6d20>
INFO warden: Calling IN action: #<Proc:0x0055be17508298@/usr/share/vagrant/lib/vagrant/action/warden.rb:94 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Provision:0x0055be15ee6be0>
INFO provision: Checking provisioner sentinel file...
INFO provision: Sentinel found! Not provisioning.
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateNetworks:0x0055be17671b48>
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 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
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::SetBootOrder:0x0055be176933d8>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::PrepareNFSValidIds:0x0055be1761bea0>
INFO warden: Calling IN action: #<VagrantPlugins::SyncedFolderNFS::ActionCleanup:0x0055be1757d8b8>
DEBUG host: Searching for cap: nfs_prune
DEBUG host: Checking in: redhat
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_prune in linux
INFO nfs: NFS pruning. Valid IDs: ["bd71154b-cd77-463b-a9de-71c430c5fe0c", "02de560a-6c10-4191-bea4-7cd022cd13c0", "4e52b577-7887-484a-841e-fd8cd1821ce7", "3c2bc919-0d66-462b-8d1a-ac0b0c71feed", "fd1e2b75-2646-4afa-8312-30590b14cdc6", "55777b49-7099-4de4-92a2-a86caa9c9ebe", "f22469d8-4d65-41c0-bb07-b2dd19263cfe", "2a1c365c-5593-4156-98f9-93e1a1426872", "053edcb9-5544-4d14-bf81-717cceddd81c"]
DEBUG host: Searching for cap: nfs_prune
DEBUG host: Checking in: redhat
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_prune in linux
INFO host: Execute capability: nfs_prune [#<Vagrant::Environment: /home/mik/dev_nerim/env/admin4_vagrant>, #<Vagrant::UI::Prefixed:0x0055be17392d50 @logger=#<Log4r::Logger:0x0055be17392d00 @fullname="vagrant::ui::interface", @outputters=[], @additive=true, @name="interface", @path="vagrant::ui", @parent=#<Log4r::Logger:0x0055be166cd188 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0055be163327f8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0055be16332730>, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x0055be1632e568 @depth=7>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0055be166cd048 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @opts={}, @stdin=#<IO:<STDIN>>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @prefix=:default, @ui=#<Vagrant::UI::Colored:0x0055be16ffdf50 @logger=#<Log4r::Logger:0x0055be16ffdf00 @fullname="vagrant::ui::interface", @outputters=[], @additive=true, @name="interface", @path="vagrant::ui", @parent=#<Log4r::Logger:0x0055be166cd188 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x0055be163327f8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Thread::Mutex:0x0055be16332730>, @name="stderr", @level=0, @formatter=#<Log4r::DefaultFormatter:0x0055be1632e568 @depth=7>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x0055be166cd048 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @opts={:color=>:default}, @stdin=#<IO:<STDIN>>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @lock=#<Thread::Mutex:0x0055be17020190>>>, ["bd71154b-cd77-463b-a9de-71c430c5fe0c", "02de560a-6c10-4191-bea4-7cd022cd13c0", "4e52b577-7887-484a-841e-fd8cd1821ce7", "3c2bc919-0d66-462b-8d1a-ac0b0c71feed", "fd1e2b75-2646-4afa-8312-30590b14cdc6", "55777b49-7099-4de4-92a2-a86caa9c9ebe", "f22469d8-4d65-41c0-bb07-b2dd19263cfe", "2a1c365c-5593-4156-98f9-93e1a1426872", "053edcb9-5544-4d14-bf81-717cceddd81c"]] (redhat)
INFO linux: Pruning invalid NFS entries...
DEBUG linux: Valid ID: bd71154b-cd77-463b-a9de-71c430c5fe0c
DEBUG linux: Valid ID: 3c2bc919-0d66-462b-8d1a-ac0b0c71feed
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolderCleanup:0x0055be1744acc0>
INFO synced_folder_cleanup: Invoking synced folder cleanup for: sshfs
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolders:0x0055be172aeb78>
INFO synced_folders: SyncedFolders loading from cache: false
INFO synced_folders: Synced Folder Implementation: sshfs
INFO synced_folders: - /home/vagrant/admin4: /home/mik/dev_nerim/admin4/[email protected]:admin4/admin4 => /home/vagrant/admin4
INFO synced_folders: Invoking synced folder prepare for: sshfs
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::StartDomain:0x0055be171a2a68>
INFO interface: info: Starting domain.
INFO interface: info: ==> default: Starting domain.
==> default: Starting domain.
ERROR warden: Error occurred: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0055be17757e18>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
ERROR warden: Error occurred: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0055be174d4b50>
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: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x0055be15cd8bf0>
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-6325455c66353c57a0ede97820e07efe
INFO environment: Running hook: environment_unload
INFO runner: Preparing hooks for middleware sequence...
INFO runner: 2 hooks defined.
INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x0055be15fc2690>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::ProviderLibvirt::Errors::FogError: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory>
ERROR vagrant: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
ERROR vagrant: /home/mik/.vagrant.d/gems/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/start_domain.rb:287:in `rescue in call'
/home/mik/.vagrant.d/gems/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/start_domain.rb:21:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builtin/synced_folders.rb:87:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builtin/synced_folder_cleanup.rb:28:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/plugins/synced_folders/nfs/action_cleanup.rb:25:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/home/mik/.vagrant.d/gems/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/prepare_nfs_valid_ids.rb:12:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/home/mik/.vagrant.d/gems/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/set_boot_order.rb:78:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/home/mik/.vagrant.d/gems/gems/vagrant-libvirt-0.0.37/lib/vagrant-libvirt/action/create_networks.rb:83:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builtin/provision.rb:80:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builder.rb:116:in `call'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `block in run'
/usr/share/vagrant/lib/vagrant/util/busy.rb:19:in `busy'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `run'
/usr/share/vagrant/lib/vagrant/action/builtin/call.rb:53:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builder.rb:116:in `call'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `block in run'
/usr/share/vagrant/lib/vagrant/util/busy.rb:19:in `busy'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `run'
/usr/share/vagrant/lib/vagrant/action/builtin/call.rb:53:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builder.rb:116:in `call'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `block in run'
/usr/share/vagrant/lib/vagrant/util/busy.rb:19:in `busy'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `run'
/usr/share/vagrant/lib/vagrant/action/builtin/call.rb:53:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/usr/share/vagrant/lib/vagrant/action/warden.rb:34:in `call'
/usr/share/vagrant/lib/vagrant/action/builder.rb:116:in `call'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `block in run'
/usr/share/vagrant/lib/vagrant/util/busy.rb:19:in `busy'
/usr/share/vagrant/lib/vagrant/action/runner.rb:66:in `run'
/usr/share/vagrant/lib/vagrant/machine.rb:225:in `action_raw'
/usr/share/vagrant/lib/vagrant/machine.rb:200:in `block in action'
/usr/share/vagrant/lib/vagrant/environment.rb:561:in `lock'
/usr/share/vagrant/lib/vagrant/machine.rb:186:in `call'
/usr/share/vagrant/lib/vagrant/machine.rb:186:in `action'
/usr/share/vagrant/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
INFO interface: error: There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
There was an error talking to Libvirt. The error message is shown
below:
Call to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory
INFO interface: Machine: error-exit ["VagrantPlugins::ProviderLibvirt::Errors::FogError", "There was an error talking to Libvirt. The error message is shown\nbelow:\n\nCall to virDomainCreateWithFlags failed: Cannot access storage file '/var/lib/libvirt/images/admin4_vagrant_default.img' (as uid:107, gid:107): No such file or directory"]
A Vagrantfile to reproduce the issue:
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
# https://docs.vagrantup.com.
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "centos7py35"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# config.vm.network "forwarded_port", guest: 80, host: 8080
# Create a private network, which allows host-only access to the machine
# using a specific IP.
# config.vm.network "private_network", ip: "192.168.33.10"
# Create a public network, which generally matched to bridged network.
# Bridged networks make the machine appear as another physical device on
# your network.
# config.vm.network "public_network"
# Share an additional folder to the guest VM. The first argument is
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
# config.vm.synced_folder "../data", "/vagrant_data"
config.vm.synced_folder "/home/*******/admin4", "/home/vagrant/admin4/", type: "sshfs"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.ssh.username="vagrant"
config.ssh.password="*****"
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
#
# View the documentation for the provider you are using for more
# information on available options.
# Define a Vagrant Push strategy for pushing to Atlas. Other push strategies
# such as FTP and Heroku are also available. See the documentation at
# https://docs.vagrantup.com/v2/push/atlas.html for more information.
# config.push.define "atlas" do |push|
# push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME"
# end
# Enable provisioning with a shell script. Additional provisioners such as
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
# config.vm.provision "shell", inline: <<-SHELL
# sudo apt-get update
# sudo apt-get install -y apache2
# SHELL
end
Are you using upstream vagrant package or your distros package?
Distro
The definition of where a libvirt VMs disk is located is not stored in the Vagrantfile but in the VM definition in libvirt.
Please do a virsh list --all and then do a virsh dumpxml your_vm and look for <source file, for example:
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/vagrant-libvirt-install-testing_debian-8.img'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</disk>
It's likely something to do with your fedora upgrade and not vagrant-libvirt. You can always manually update the xml with virsh edit your_vm to fix this.
I got the same issue and I solved it with:
qemu.conf @ etc/libvirt/qemu.confexample:
# Some examples of valid values are:
#
# user = "qemu" # A user named "qemu"
# user = "+0" # Super user (uid=0)
# user = "100" # A user named "100" or a user with uid=100
#
#user = "root"
user = "stellaartuois"
# The group for QEMU processes run by the system instance. It can be
# specified in a similar way to user.
#group = "root"
group = "users"