vagrant-libvirt
vagrant-libvirt copied to clipboard
Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
Describe the bug
Hello i am unable to deploy a vagrant box due to the error in the title, i am unable to troubleshoot the issue, can someone please help?
Tried to install the development package, got dependencie issues with ruby.
To Reproduce Steps to reproduce the behavior:
Created a box with the following config: Vagrantfile:
# frozen_string_literal: true
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Example configuration of new VM..
config.vm.define :custombox do |custombox|
# Box name
custombox.vm.box = "custombox"
# Domain Specific Options
# See README for more info.
custombox.vm.provider :libvirt do |domain|
domain.title = "custombox"
domain.machine_type = "q35"
domain.loader = "/usr/share/OVMF/OVMF_CODE.fd"
domain.cpus = 1
domain.cputopology :sockets => '1', :cores => '1', :threads => '1'
domain.cpu_mode = "host-passthrough"
domain.memory = 4096
domain.input :type => "tablet", :bus => "usb"
domain.graphics_type = "spice"
domain.graphics_gl = "true"
domain.video_accel3d = "true"
domain.video_type = "virtio"
domain.sound_type = "ich9"
domain.channel :type => 'unix', :target_name => 'org.qemu.guest_agent.0', :target_type => 'virtio'
domain.redirdev :type => "spicevmc"
domain.redirfilter :class => "0x0b", :vendor => "0x08e6", :product => "0x3437", :version => "2.00", :allow => "yes"
domain.redirfilter :allow => "no"
domain.redirdev :type => "spicevmc"
domain.redirfilter :class => "0x0b", :vendor => "0x08e6", :product => "0x3437", :version => "2.00", :allow => "yes"
domain.redirfilter :allow => "no"
domain.random :model => 'random'
end
# Interfaces for VM
#
# Networking features in the form of `config.vm.network`
#
#test_vm.vm.network :private_network, :ip => '10.20.30.40'
#test_vm.vm.network :public_network, :ip => '10.20.30.41'
end
# Options for Libvirt Vagrant provider.
config.vm.provider :libvirt do |libvirt|
# A hypervisor name to access. Different drivers can be specified, but
# this version of provider creates KVM machines only. Some examples of
# drivers are KVM (QEMU hardware accelerated), QEMU (QEMU emulated),
# Xen (Xen hypervisor), lxc (Linux Containers),
# esx (VMware ESX), vmwarews (VMware Workstation) and more. Refer to
# documentation for available drivers (http://libvirt.org/drivers.html).
libvirt.driver = "kvm"
libvirt.uri = "qemu:///system"
# The name of the server, where Libvirtd is running.
libvirt.host = "localhost"
# If use ssh tunnel to connect to Libvirt.
# libvirt.connect_via_ssh = false
# libvirt.connect_via_ssh = true
# The username and password to access Libvirt. Password is not used when
# connecting via ssh.
#libvirt.username = "root"
#libvirt.password = "secret"
# Libvirt storage pool name, where box image and instance snapshots will
# be stored.
# libvirt.storage_pool_name = "default"
# Set a prefix for the machines that's different than the project dir name.
#libvirt.default_prefix = ''
end
end
metadata.json
{
"provider" : "libvirt",
"format" : "qcow2",
"virtual_size" : 40
}
Expected behavior It is expected that the machine is created successfully, however it crashes with the error mentioning in the title
Screenshots
Versions (please complete the following information)::
- libvirt version: 9.0.0
- Vagrant version: 2.4.1
- Vagrant flavour: upstream
- Vagrant plugins: vagrant-libvirt 0.12.2
Debug Log
Attach Output of VAGRANT_LOG=debug vagrant ... --provider=libvirt >vagrant.log 2>&1
INFO global: Vagrant version: 2.4.1
INFO global: Ruby version: 3.1.4
INFO global: RubyGems version: 3.3.26
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/bin/vagrant"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded"
DEBUG global: vagrant ssl helper found for loading ssl providers
DEBUG global: ssl providers successfully loaded
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/container/plugin.rb
INFO manager: Registered plugin: container
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/provisioners/podman/plugin.rb
INFO manager: Registered plugin: podman
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/pushes/ftp/plugin.rb
INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/pushes/local-exec/plugin.rb
INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/pushes/noop/plugin.rb
INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/pushes/atlas/plugin.rb
INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/pushes/heroku/plugin.rb
INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/smartos/plugin.rb
INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/bsd/plugin.rb
INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/tinycore/plugin.rb
INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/amazon/plugin.rb
INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/alma/plugin.rb
INFO manager: Registered plugin: Alma guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/photon/plugin.rb
INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/nixos/plugin.rb
INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/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-2.4.1/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/mint/plugin.rb
INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/alpine/plugin.rb
INFO manager: Registered plugin: Alpine guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/haiku/plugin.rb
INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/rocky/plugin.rb
INFO manager: Registered plugin: Rocky guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/trisquel/plugin.rb
INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/centos/plugin.rb
INFO manager: Registered plugin: CentOS guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/elementary/plugin.rb
INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/funtoo/plugin.rb
INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/windows/plugin.rb
INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/netbsd/plugin.rb
INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/kali/plugin.rb
INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/atomic/plugin.rb
INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/slackware/plugin.rb
INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/openwrt/plugin.rb
INFO manager: Registered plugin: OpenWrt guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/guests/dragonflybsd/plugin.rb
INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/docker/plugin.rb
INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb
INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/synced_folders/smb/plugin.rb
INFO manager: Registered plugin: SMB synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/synced_folders/rsync/plugin.rb
INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/communicators/winssh/plugin.rb
INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/communicators/winrm/plugin.rb
INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/list-commands/plugin.rb
INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/global-status/plugin.rb
INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/autocomplete/plugin.rb
INFO manager: Registered plugin: autocomplete command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/cloud/plugin.rb
INFO manager: Registered plugin: vagrant-cloud
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/powershell/plugin.rb
INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/provider/plugin.rb
INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/validate/plugin.rb
INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/upload/plugin.rb
INFO manager: Registered plugin: upload command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/winrm_config/plugin.rb
INFO manager: Registered plugin: winrm-config command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/cap/plugin.rb
INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/login/plugin.rb
INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/port/plugin.rb
INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/rdp/plugin.rb
INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/snapshot/plugin.rb
INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/version/plugin.rb
INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/serve/plugin.rb
INFO manager: Registered plugin: start Vagrant server
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/push/plugin.rb
INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/commands/winrm/plugin.rb
INFO manager: Registered plugin: winrm command
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/void/plugin.rb
INFO manager: Registered plugin: Void host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/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-2.4.1/plugins/hosts/null/plugin.rb
INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/darwin/plugin.rb
INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/suse/plugin.rb
INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
INFO vagrant: `vagrant` invoked: ["up", "--provider=libvirt"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#<Vagrant::Environment:0x00007f3d4469cd90>)
INFO environment: - cwd: /home/redacted/Documents/projects/test_vagrant_box
INFO environment: Home path: /home/redacted/.vagrant.d
DEBUG environment: Effective local data path: /home/redacted/Documents/projects/test_vagrant_box/.vagrant
INFO environment: Local data path: /home/redacted/Documents/projects/test_vagrant_box/.vagrant
DEBUG environment: Creating: /home/redacted/Documents/projects/test_vagrant_box/.vagrant
DEBUG manager: Enabling localized plugins
INFO manager: Plugins:
DEBUG solution_file: new solution file instance plugin_file=/home/redacted/Documents/projects/test_vagrant_box/.vagrant/plugins.json solution_file=/home/redacted/Documents/projects/test_vagrant_box/.vagrant/bundler/local.sol
DEBUG solution_file: missing file so skipping loading
DEBUG bundler: solution file in use for init: <Vagrant::Bundler::SolutionFile:/home/redacted/Documents/projects/test_vagrant_box/.vagrant/plugins.json:/home/redacted/Documents/projects/test_vagrant_box/.vagrant/bundler/local.sol:invalid>
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: generating solution set for configured plugins
DEBUG bundler: Current generated plugin dependency list: []
DEBUG bundler: resolving solution from available specification set
DEBUG bundler: solution set for configured plugins has been resolved
DEBUG bundler: activating solution set
DEBUG bundler: Activating solution set: []
DEBUG solution_file: plugin file does not exist, not storing solution
DEBUG bundler: solution set stored to - <Vagrant::Bundler::SolutionFile:/home/redacted/Documents/projects/test_vagrant_box/.vagrant/plugins.json:/home/redacted/Documents/projects/test_vagrant_box/.vagrant/bundler/local.sol:invalid>
INFO manager: Loading plugins...
DEBUG manager: Enabling globalized plugins
INFO manager: Plugins:
INFO manager: - vagrant-libvirt = [installed: 0.12.2 constraint: > 0]
DEBUG solution_file: new solution file instance plugin_file=/home/redacted/.vagrant.d/plugins.json solution_file=/home/redacted/Documents/projects/test_vagrant_box/.vagrant/bundler/global.sol
DEBUG solution_file: reading solution file - /home/redacted/Documents/projects/test_vagrant_box/.vagrant/bundler/global.sol
DEBUG solution_file: solution validation check CHECKSUM 488e30d49419e1cdb858fb112a6079ba7f1cbd8332a4301ebc523ccf95abe6ce <-> 488e30d49419e1cdb858fb112a6079ba7f1cbd8332a4301ebc523ccf95abe6ce VERSION 2.4.1 <-> 2.4.1
DEBUG solution_file: loading solution dependency list
DEBUG solution_file: solution dependency list: [#<Gem::Resolver::DependencyRequest:0x00007f3d43d75460 @dependency=<Gem::Dependency type=:runtime name="racc" requirements="~> 1.4">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d740b0 @dependency=<Gem::Dependency type=:runtime name="nokogiri" requirements="~> 1.6">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d7ae88 @dependency=<Gem::Dependency type=:runtime name="diffy" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d79600 @dependency=<Gem::Dependency type=:runtime name="rexml" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d784f8 @dependency=<Gem::Dependency type=:runtime name="xml-simple" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d7ebc8 @dependency=<Gem::Dependency type=:runtime name="mime-types-data" requirements="~> 3.2015">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d7e150 @dependency=<Gem::Dependency type=:runtime name="mime-types" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d7c058 @dependency=<Gem::Dependency type=:runtime name="formatador" requirements=">= 0.2, < 2.0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d83628 @dependency=<Gem::Dependency type=:runtime name="excon" requirements="~> 0.71">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d823e0 @dependency=<Gem::Dependency type=:runtime name="builder" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d874d0 @dependency=<Gem::Dependency type=:runtime name="fog-core" requirements="~> 2">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d86800 @dependency=<Gem::Dependency type=:runtime name="json" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d85f18 @dependency=<Gem::Dependency type=:runtime name="ruby-libvirt" requirements=">= 0.7.0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d85928 @dependency=<Gem::Dependency type=:runtime name="fog-xml" requirements="~> 0.1.1">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d853b0 @dependency=<Gem::Dependency type=:runtime name="multi_json" requirements="~> 1.10">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d84cd0 @dependency=<Gem::Dependency type=:runtime name="fog-json" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d842d0 @dependency=<Gem::Dependency type=:runtime name="fog-libvirt" requirements=">= 0.6.0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x00007f3d43d8bcd8 @dependency=<Gem::Dependency type=:runtime name="vagrant-libvirt" requirements="= 0.12.2">, @requester=nil>]
DEBUG bundler: solution file in use for init: <Vagrant::Bundler::SolutionFile:/home/redacted/.vagrant.d/plugins.json:/home/redacted/Documents/projects/test_vagrant_box/.vagrant/bundler/global.sol:valid>
DEBUG bundler: Generating new builtin set instance.
DEBUG bundler: Generating new plugin set instance. Skip gems - []
DEBUG bundler: loading cached solution set
DEBUG bundler: activating solution set
DEBUG bundler: Activating solution set: ["racc-1.6.0", "nokogiri-1.16.2-x86_64-linux", "diffy-3.4.2", "rexml-3.2.6", "xml-simple-1.1.9", "mime-types-data-3.2023.1205", "mime-types-3.5.2", "formatador-1.1.0", "excon-0.109.0", "builder-3.2.4", "fog-core-2.4.0", "json-2.6.1", "ruby-libvirt-0.8.2", "fog-xml-0.1.4", "multi_json-1.15.0", "fog-json-1.2.0", "fog-libvirt-0.12.0", "vagrant-libvirt-0.12.2"]
DEBUG bundler: Activating gem racc-1.6.0
DEBUG bundler: Activating gem nokogiri-1.16.2-x86_64-linux
DEBUG bundler: Activating gem diffy-3.4.2
DEBUG bundler: Activating gem xml-simple-1.1.9
DEBUG bundler: Activating gem formatador-1.1.0
DEBUG bundler: Activating gem fog-core-2.4.0
DEBUG bundler: Activating gem json-2.6.1
DEBUG bundler: Activating gem ruby-libvirt-0.8.2
DEBUG bundler: Activating gem fog-xml-0.1.4
DEBUG bundler: Activating gem fog-json-1.2.0
DEBUG bundler: Activating gem fog-libvirt-0.12.0
DEBUG bundler: Activating gem vagrant-libvirt-0.12.2
INFO manager: Loading plugins...
INFO manager: Loading plugin `vagrant-libvirt` with default require: `vagrant-libvirt`
INFO manager: Registered plugin: libvirt
DEBUG manager: Successfully loaded plugin `vagrant-libvirt`.
INFO loader: Set :root = ["#<Pathname:/home/redacted/Documents/projects/test_vagrant_box/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/home/redacted/Documents/projects/test_vagrant_box/Vagrantfile>
DEBUG loader: Load procs for pathname: /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile
INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO vmconfig: config class lookup for provider :libvirt gave us base class: VagrantPlugins::ProviderLibvirt::Config
INFO loader: Set "900_machine_custombox" = ["[\"2\", #<Proc:0x00007f3d4042ecd8 /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile:10>]"]
DEBUG loader: Populating proc cache for ["2", #<Proc:0x00007f3d4042ecd8 /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile:10>]
INFO loader: Loading configuration in order: [:home, :root, "900_machine_custombox"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 900_machine_custombox (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO vmconfig: config class lookup for provider :libvirt gave us base class: VagrantPlugins::ProviderLibvirt::Config
INFO box_collection: Box found: custom (libvirt)
INFO loader: Set :"1100_custom_libvirt" = ["#<Pathname:/home/redacted/.vagrant.d/boxes/custom/0/libvirt/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/home/redacted/.vagrant.d/boxes/custom/0/libvirt/Vagrantfile>
DEBUG loader: Load procs for pathname: /home/redacted/.vagrant.d/boxes/custom/0/libvirt/Vagrantfile
INFO loader: Loading configuration in order: [:"1100_custom_libvirt", :home, :root, "900_machine_custombox"]
DEBUG loader: Loading from: 1100_custom_libvirt (evaluating)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 900_machine_custombox (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO vmconfig: config class lookup for provider :libvirt gave us base class: VagrantPlugins::ProviderLibvirt::Config
INFO environment: Running hook: environment_plugins_loaded
INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x00007f3d40140d28>
INFO environment: Running hook: environment_load
INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x00007f3d400b7730>
DEBUG checkpoint_client: starting plugin check
INFO cli: CLI: [] "up" ["--provider=libvirt"]
DEBUG checkpoint_client: plugin check complete
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command ["--provider=libvirt"]
DEBUG checkpoint_client: no information received from checkpoint
DEBUG command: 'Up' each target VM...
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: ["custombox"]
DEBUG command: -- options: {:provider=>"libvirt"}
INFO command: getting active machines
DEBUG command: Finding machine that match name: custombox
INFO environment: Getting machine: custombox (libvirt)
INFO environment: Uncached load of machine.
INFO loader: Set "900_machine_custombox" = ["[\"2\", #<Proc:0x00007f3d4042ecd8 /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile:10>]"]
INFO loader: Loading configuration in order: [:home, :root, "900_machine_custombox"]
WARN loader: Unknown config sources: [:"1100_custom_libvirt"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 900_machine_custombox (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO vmconfig: config class lookup for provider :libvirt gave us base class: VagrantPlugins::ProviderLibvirt::Config
INFO box_collection: Box found: custom (libvirt)
INFO loader: Set :"1100_custom_libvirt" = ["#<Pathname:/home/redacted/.vagrant.d/boxes/custom/0/libvirt/Vagrantfile>"]
INFO loader: Loading configuration in order: [:"1100_custom_libvirt", :home, :root, "900_machine_custombox"]
DEBUG loader: Loading from: 1100_custom_libvirt (cache)
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 900_machine_custombox (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
INFO vmconfig: config class lookup for provider :libvirt gave us base class: VagrantPlugins::ProviderLibvirt::Config
INFO vmconfig: looking up provider config for: :libvirt
INFO vmconfig: provider config value that was stored: #<VagrantPlugins::ProviderLibvirt::Config:0x00007f3d401e26c8 @logger=#<Log4r::Logger:0x00007f3d4041b070 @fullname="vagrant_libvirt::config", @outputters=[], @additive=true, @name="config", @path="vagrant_libvirt", @parent=#<Log4r::Logger:0x00007f3d43df7668 @fullname="vagrant_libvirt", @outputters=[#<Log4r::StderrOutputter:0x00007f3d43d3f310 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00007f3d44e60928 @formatter=#<Log4r::BasicFormatter:0x00007f3d446add20 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant_libvirt", @path="", @parent=#<Log4r::RootLogger:0x00007f3d43d4db18 @level=2, @outputters=[]>, @level=2, @trace=false>, @level=2, @trace=false>, @uri="qemu:///system", @driver="kvm", @host="", @port=nil, @connect_via_ssh=false, @username=nil, @password=nil, @id_ssh_key_file=nil, @socket=nil, @proxy_command=nil, @forward_ssh_port=false, @storage_pool_name="default", @snapshot_pool_name="default", @random_hostname=false, @management_network_device="virbr0", @management_network_name="vagrant-libvirt", @management_network_address="192.168.121.0/24", @management_network_mode="nat", @management_network_mac=nil, @management_network_guest_ipv6="yes", @management_network_autostart=false, @management_network_pci_slot=nil, @management_network_pci_bus=nil, @management_network_domain=nil, @management_network_mtu=nil, @management_network_keep=false, @management_network_driver_iommu=false, @management_network_iface_name=nil, @management_network_model_type="virtio", @system_uri="qemu:///system", @title="custombox", @description="", @uuid="", @memory=4096, @nodeset=nil, @memory_backing=[], @memtunes={}, @cpus=1, @cpuset=nil, @cpu_mode="host-passthrough", @cpu_model="", @cpu_fallback="allow", @cpu_features=[], @cpu_topology={:sockets=>"1", :cores=>"1", :threads=>"1"}, @cpu_affinity={}, @shares=nil, @features=["acpi", "apic", "pae"], @features_hyperv=[], @clock_absolute=nil, @clock_adjustment=nil, @clock_basis="utc", @clock_offset="utc", @clock_timezone=nil, @clock_timers=[], @launchsecurity_data=nil, @numa_nodes=nil, @loader="/usr/share/OVMF/OVMF_CODE.fd", @nvram=nil, @machine_type="q35", @machine_arch=nil, @machine_virtual_size=nil, @disk_bus="virtio", @disk_device="vda", @disk_address_type=nil, @disk_controller_model=nil, @disk_driver_opts={}, @nic_model_type="virtio", @nested=false, @volume_cache=nil, @kernel=nil, @initrd=nil, @dtb=nil, @cmd_line="", @emulator_path=nil, @graphics_type="spice", @graphics_autoport=nil, @graphics_port=nil, @graphics_websocket=nil, @graphics_ip=nil, @graphics_passwd=nil, @graphics_gl="true", @video_type="virtio", @video_vram=16384, @video_accel3d="true", @sound_type="ich9", @keymap="en-us", @kvm_hidden=false, @tpm_model="tpm-tis", @tpm_type="passthrough", @tpm_path=nil, @tpm_version=nil, @sysinfo={}, @memballoon_enabled=nil, @memballoon_model="virtio", @memballoon_pci_bus="0x00", @memballoon_pci_slot="0x0f", @nic_adapter_count=8, @boot_order=[], @disks=[], @cdroms=[], @floppies=[], @inputs=[{:type=>"tablet", :bus=>"usb"}], @channels=[{:type=>"unix", :source_mode=>nil, :source_path=>nil, :target_address=>nil, :target_name=>"org.qemu.guest_agent.0", :target_port=>nil, :target_type=>"virtio", :disabled=>nil}, {:type=>"spicevmc", :source_mode=>nil, :source_path=>nil, :target_address=>nil, :target_name=>"com.redhat.spice.0", :target_port=>nil, :target_type=>"virtio", :disabled=>nil}], @pcis=[], @rng={:model=>"random"}, @watchdog_dev={}, @usbctl_dev={:model=>"qemu-xhci"}, @usbs=[], @redirdevs=[{:type=>"spicevmc"}, {:type=>"spicevmc"}], @redirfilters=[{:class=>"0x0b", :vendor=>"0x08e6", :product=>"0x3437", :version=>"2.00", :allow=>"yes"}, {:class=>-1, :vendor=>-1, :product=>-1, :version=>-1, :allow=>"no"}, {:class=>"0x0b", :vendor=>"0x08e6", :product=>"0x3437", :version=>"2.00", :allow=>"yes"}, {:class=>-1, :vendor=>-1, :product=>-1, :version=>-1, :allow=>"no"}], @smartcard_dev={}, @suspend_mode="pause", @autostart=false, @mgmt_attach=true, @qemu_args=[], @qemu_env={}, @qemu_use_session=false, @qemu_use_agent=false, @serials=[{:type=>"pty", :source=>nil}], @host_device_exclude_prefixes=["docker", "macvtap", "virbr", "vnet"], @__invalid_methods=#<Set: {}>>
INFO machine: Initializing machine: custombox
INFO machine: - Provider: VagrantPlugins::ProviderLibvirt::Provider
INFO machine: - Box: #<Vagrant::Box:0x00007f3d40410648>
INFO machine: - Data dir: /home/redacted/Documents/projects/test_vagrant_box/.vagrant/machines/custombox/libvirt
INFO machine: New machine ID: nil
INFO interface: Machine: metadata ["provider", :libvirt, {:target=>:custombox}]
DEBUG command: have machine list to process
INFO command: With machine: custombox (#<VagrantPlugins::ProviderLibvirt::Provider:0x00007f3d400fb0c0 @machine=#<Vagrant::Machine: custombox (VagrantPlugins::ProviderLibvirt::Provider)>, @cap_logger=#<Log4r::Logger:0x00007f3d400fa788 @fullname="vagrant::capability_host::vagrantplugins::providerlibvirt::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::providerlibvirt", @parent=#<VagrantLogger:0x00007f3d43d4de10 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00007f3d43d3f310 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00007f3d44e60928 @formatter=#<Log4r::BasicFormatter:0x00007f3d446add20 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00007f3d43d4db18 @level=2, @outputters=[]>, @level=2, @trace=false>, @level=2, @trace=false>, @cap_host_chain=[[:libvirt, #<#<Class:0x00007f3d400faf58>:0x00007f3d400cca68>]], @cap_args=[#<Vagrant::Machine: custombox (VagrantPlugins::ProviderLibvirt::Provider)>], @cap_caps={:virtualbox=>#<Vagrant::Registry:0x00007f3d400fad78 @items={:forwarded_ports=>#<Proc:0x00007f3d43d79a88 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:30>, :nic_mac_addresses=>#<Proc:0x00007f3d43d79a60 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:35>, :public_address=>#<Proc:0x00007f3d43d79a38 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:40>, :configure_disks=>#<Proc:0x00007f3d43d79a10 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:45>, :cleanup_disks=>#<Proc:0x00007f3d43d799e8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:50>, :validate_disk_ext=>#<Proc:0x00007f3d43d799c0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:55>, :default_disk_exts=>#<Proc:0x00007f3d43d79998 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:60>, :set_default_disk_ext=>#<Proc:0x00007f3d43d79970 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:65>, :snapshot_list=>#<Proc:0x00007f3d43d79948 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:70>}, @results_cache={}>, :docker=>#<Vagrant::Registry:0x00007f3d400fac60 @items={:public_address=>#<Proc:0x00007f3d43d87520 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/docker/plugin.rb:63>, :proxy_machine=>#<Proc:0x00007f3d43d87458 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/docker/plugin.rb:68>, :has_communicator=>#<Proc:0x00007f3d43d87250 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/docker/plugin.rb:73>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x00007f3d400fab98 @items={:public_address=>#<Proc:0x00007f3d43d89ed8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:28>, :snapshot_list=>#<Proc:0x00007f3d43d89cf8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:33>, :configure_disks=>#<Proc:0x00007f3d43d89cd0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:38>, :cleanup_disks=>#<Proc:0x00007f3d43d89c58 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:43>, :validate_disk_ext=>#<Proc:0x00007f3d43d89a50 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:48>, :default_disk_exts=>#<Proc:0x00007f3d43d89a28 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:53>, :set_default_disk_ext=>#<Proc:0x00007f3d43d89a00 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:58>}, @results_cache={}>, :libvirt=>#<Vagrant::Registry:0x00007f3d400faaa8 @items={:nic_mac_addresses=>#<Proc:0x00007f3d43df0b60 /home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/plugin.rb:43>, :public_address=>#<Proc:0x00007f3d43df0908 /home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/plugin.rb:48>, :snapshot_list=>#<Proc:0x00007f3d43df0868 /home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/plugin.rb:53>}, @results_cache={}>}>)
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: ["custombox"]
DEBUG command: -- options: {:provider=>"libvirt"}
INFO command: getting active machines
DEBUG command: Finding machine that match name: custombox
INFO environment: Getting machine: custombox (libvirt)
INFO environment: Returning cached machine: custombox (libvirt)
DEBUG command: have machine list to process
INFO command: With machine: custombox (#<VagrantPlugins::ProviderLibvirt::Provider:0x00007f3d400fb0c0 @machine=#<Vagrant::Machine: custombox (VagrantPlugins::ProviderLibvirt::Provider)>, @cap_logger=#<Log4r::Logger:0x00007f3d400fa788 @fullname="vagrant::capability_host::vagrantplugins::providerlibvirt::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::providerlibvirt", @parent=#<VagrantLogger:0x00007f3d43d4de10 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00007f3d43d3f310 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00007f3d44e60928 @formatter=#<Log4r::BasicFormatter:0x00007f3d446add20 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00007f3d43d4db18 @level=2, @outputters=[]>, @level=2, @trace=false>, @level=2, @trace=false>, @cap_host_chain=[[:libvirt, #<#<Class:0x00007f3d400faf58>:0x00007f3d400cca68>]], @cap_args=[#<Vagrant::Machine: custombox (VagrantPlugins::ProviderLibvirt::Provider)>], @cap_caps={:virtualbox=>#<Vagrant::Registry:0x00007f3d400fad78 @items={:forwarded_ports=>#<Proc:0x00007f3d43d79a88 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:30>, :nic_mac_addresses=>#<Proc:0x00007f3d43d79a60 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:35>, :public_address=>#<Proc:0x00007f3d43d79a38 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:40>, :configure_disks=>#<Proc:0x00007f3d43d79a10 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:45>, :cleanup_disks=>#<Proc:0x00007f3d43d799e8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:50>, :validate_disk_ext=>#<Proc:0x00007f3d43d799c0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:55>, :default_disk_exts=>#<Proc:0x00007f3d43d79998 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:60>, :set_default_disk_ext=>#<Proc:0x00007f3d43d79970 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:65>, :snapshot_list=>#<Proc:0x00007f3d43d79948 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/virtualbox/plugin.rb:70>}, @results_cache={}>, :docker=>#<Vagrant::Registry:0x00007f3d400fac60 @items={:public_address=>#<Proc:0x00007f3d43d87520 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/docker/plugin.rb:63>, :proxy_machine=>#<Proc:0x00007f3d43d87458 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/docker/plugin.rb:68>, :has_communicator=>#<Proc:0x00007f3d43d87250 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/docker/plugin.rb:73>}, @results_cache={}>, :hyperv=>#<Vagrant::Registry:0x00007f3d400fab98 @items={:public_address=>#<Proc:0x00007f3d43d89ed8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:28>, :snapshot_list=>#<Proc:0x00007f3d43d89cf8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:33>, :configure_disks=>#<Proc:0x00007f3d43d89cd0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:38>, :cleanup_disks=>#<Proc:0x00007f3d43d89c58 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:43>, :validate_disk_ext=>#<Proc:0x00007f3d43d89a50 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:48>, :default_disk_exts=>#<Proc:0x00007f3d43d89a28 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:53>, :set_default_disk_ext=>#<Proc:0x00007f3d43d89a00 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/providers/hyperv/plugin.rb:58>}, @results_cache={}>, :libvirt=>#<Vagrant::Registry:0x00007f3d400faaa8 @items={:nic_mac_addresses=>#<Proc:0x00007f3d43df0b60 /home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/plugin.rb:43>, :public_address=>#<Proc:0x00007f3d43df0908 /home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/plugin.rb:48>, :snapshot_list=>#<Proc:0x00007f3d43df0868 /home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/plugin.rb:53>}, @results_cache={}>}>)
INFO interface: info: Bringing machine 'custombox' up with 'libvirt' provider...
Bringing machine 'custombox' 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:0x00007f3d4012ce40> up {:destroy_on_error=>true, :install_provider=>false, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil, :provider=>"libvirt"}
INFO machine: Calling action: up on provider Libvirt (new)
DEBUG environment: Attempting to acquire process-lock: machine-action-430c0f8fa23cba3a61445edc6ef05300
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-430c0f8fa23cba3a61445edc6ef05300
INFO interface: Machine: action ["up", "start", {:target=>:custombox}]
INFO host: Autodetecting host type for [#<Vagrant::Environment: /home/redacted/Documents/projects/test_vagrant_box>]
DEBUG host: Trying: freebsd
DEBUG host: Trying: void
DEBUG host: Trying: redhat
DEBUG host: Trying: gentoo
DEBUG host: Trying: darwin
DEBUG host: Trying: alt
DEBUG host: Trying: arch
DEBUG host: Trying: suse
DEBUG host: Trying: slackware
DEBUG host: Trying: bsd
DEBUG host: Trying: null
DEBUG host: Trying: linux
INFO host: Detected: linux!
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f3d404bea40>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f3d400bbe70>
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
INFO host: Execute capability: nfs_installed [#<Vagrant::Environment: /home/redacted/Documents/projects/test_vagrant_box>] (linux)
INFO subprocess: Starting process: ["/usr/bin/ps", "-o", "comm=", "1"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO subprocess: Starting process: ["/usr/bin/systemctl", "list-units", "*nfs*server*", "--no-pager", "--no-legend"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 0
INFO subprocess: Starting process: ["/bin/sh", "-c", "systemctl --no-pager --no-legend --plain list-unit-files --all --type=service | grep nfs-server.service"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 1
INFO driver: Connecting to Libvirt (qemu:///system) ...
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
INFO host: Execute capability: nfs_installed [#<Vagrant::Environment: /home/redacted/Documents/projects/test_vagrant_box>] (linux)
INFO subprocess: Starting process: ["/bin/sh", "-c", "systemctl --no-pager --no-legend --plain list-unit-files --all --type=service | grep nfs-server.service"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
DEBUG syncedfolder: Searching for cap: default_fstab_modification
DEBUG syncedfolder: Checking in: virtiofs
INFO config: Using vagrant-libvirt at 192.168.121.0/24 as the management network nat is the mode
DEBUG config: 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"}
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BoxCheckOutdated:0x00007f3d400bbd08>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f3d400ce868>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f3d40116e88>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x00007f3d405bc438>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x00007f3d405bc438>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f3d3fd271d8>
INFO warden: Calling IN action: #<Proc:0x00007f3d401e9040 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CleanupOnFailure:0x00007f3d3fd26f30>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Provision:0x00007f3d3fce08c8>
INFO provision: Checking provisioner sentinel file...
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain:0x00007f3d3fca2488>
INFO set_name_of_domain: Looking for domain test_vagrant_box_custombox
INFO set_name_of_domain: Call to virDomainLookupByName failed: Domain not found: no domain with matching name 'test_vagrant_box_custombox'
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::HandleStoragePool:0x00007f3d404b9518>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::HandleBox:0x00007f3d401ae738>
INFO handle_box: Machine already has box. HandleBox will not run.
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::HandleBoxImage:0x00007f3d40443958>
INFO interface: warn: No version detected for custom, using timestamp to watch for modifications. Consider
generating a local metadata for the box with a version to allow better handling.
See https://www.vagrantup.com/docs/boxes/format#box-metadata for further details.
INFO interface: warn: ==> custombox: No version detected for custom, using timestamp to watch for modifications. Consider
==> custombox: generating a local metadata for the box with a version to allow better handling.
==> custombox: See https://www.vagrantup.com/docs/boxes/format#box-metadata for further details.
==> custombox: No version detected for custom, using timestamp to watch for modifications. Consider
==> custombox: generating a local metadata for the box with a version to allow better handling.
==> custombox: See https://www.vagrantup.com/docs/boxes/format#box-metadata for further details.
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateDomainVolume:0x00007f3d40161640>
INFO interface: info: Creating image (snapshot of base box volume).
INFO interface: info: ==> custombox: Creating image (snapshot of base box volume).
==> custombox: Creating image (snapshot of base box volume).
DEBUG create_domain_volume: Creating Volume with XML:
<volume>
<name>test_vagrant_box_custombox.img</name>
<capacity unit="B">42949672960</capacity>
<target>
<format type="qcow2"></format>
<permissions>
<owner>0</owner>
<group>0</group>
<label>virt_image_t</label>
</permissions>
<compat>1.1</compat>
</target>
<backingStore>
<path>/var/lib/libvirt/images/custom_vagrant_box_image_0_1708041530_box.img</path>
<format type="qcow2"></format>
<permissions>
<owner>0</owner>
<group>0</group>
<label>virt_image_t</label>
</permissions>
</backingStore>
</volume>
DEBUG create_domain_volume: Using pool default for base box snapshot
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::ResolveDiskSettings:0x00007f3d400ba610>
DEBUG resolve_disk_devices: Search for volumes in pool: default
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateDomain:0x00007f3d405878c8>
INFO interface: info: Creating domain with the following settings...
INFO interface: info: ==> custombox: Creating domain with the following settings...
==> custombox: Creating domain with the following settings...
INFO interface: info: -- Name: test_vagrant_box_custombox
INFO interface: info: ==> custombox: -- Name: test_vagrant_box_custombox
==> custombox: -- Name: test_vagrant_box_custombox
INFO interface: info: -- Title: custombox
INFO interface: info: ==> custombox: -- Title: custombox
==> custombox: -- Title: custombox
INFO interface: info: -- Description: Source: /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile
INFO interface: info: ==> custombox: -- Description: Source: /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile
==> custombox: -- Description: Source: /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile
INFO interface: info: -- Domain type: kvm
INFO interface: info: ==> custombox: -- Domain type: kvm
==> custombox: -- Domain type: kvm
INFO interface: info: -- Cpus: 1
INFO interface: info: ==> custombox: -- Cpus: 1
==> custombox: -- Cpus: 1
INFO interface: info: -- CPU topology: sockets=1, cores=1, threads=1
INFO interface: info: ==> custombox: -- CPU topology: sockets=1, cores=1, threads=1
==> custombox: -- CPU topology: sockets=1, cores=1, threads=1
INFO interface: info: -- Feature: acpi
INFO interface: info: ==> custombox: -- Feature: acpi
==> custombox: -- Feature: acpi
INFO interface: info: -- Feature: apic
INFO interface: info: ==> custombox: -- Feature: apic
==> custombox: -- Feature: apic
INFO interface: info: -- Feature: pae
INFO interface: info: ==> custombox: -- Feature: pae
==> custombox: -- Feature: pae
INFO interface: info: -- Clock offset: utc
INFO interface: info: ==> custombox: -- Clock offset: utc
==> custombox: -- Clock offset: utc
INFO interface: info: -- Memory: 4096M
INFO interface: info: ==> custombox: -- Memory: 4096M
==> custombox: -- Memory: 4096M
INFO interface: info: -- Loader: /usr/share/OVMF/OVMF_CODE.fd
INFO interface: info: ==> custombox: -- Loader: /usr/share/OVMF/OVMF_CODE.fd
==> custombox: -- Loader: /usr/share/OVMF/OVMF_CODE.fd
INFO interface: info: -- Base box: custom
INFO interface: info: ==> custombox: -- Base box: custom
==> custombox: -- Base box: custom
INFO interface: info: -- Storage pool: default
INFO interface: info: ==> custombox: -- Storage pool: default
==> custombox: -- Storage pool: default
INFO interface: info: -- Image(vda): /var/lib/libvirt/images/test_vagrant_box_custombox.img, virtio, 40G
INFO interface: info: ==> custombox: -- Image(vda): /var/lib/libvirt/images/test_vagrant_box_custombox.img, virtio, 40G
==> custombox: -- Image(vda): /var/lib/libvirt/images/test_vagrant_box_custombox.img, virtio, 40G
INFO interface: info: -- Disk driver opts: cache='default'
INFO interface: info: ==> custombox: -- Disk driver opts: cache='default'
==> custombox: -- Disk driver opts: cache='default'
INFO interface: info: -- Graphics Type: spice
INFO interface: info: ==> custombox: -- Graphics Type: spice
==> custombox: -- Graphics Type: spice
INFO interface: info: -- Graphics Websocket:
INFO interface: info: ==> custombox: -- Graphics Websocket:
==> custombox: -- Graphics Websocket:
INFO interface: info: -- Graphics Port:
INFO interface: info: ==> custombox: -- Graphics Port:
==> custombox: -- Graphics Port:
INFO interface: info: -- Graphics IP:
INFO interface: info: ==> custombox: -- Graphics IP:
==> custombox: -- Graphics IP:
INFO interface: info: -- Graphics Password: Not defined
INFO interface: info: ==> custombox: -- Graphics Password: Not defined
==> custombox: -- Graphics Password: Not defined
INFO interface: info: -- Video Type: virtio
INFO interface: info: ==> custombox: -- Video Type: virtio
==> custombox: -- Video Type: virtio
INFO interface: info: -- Video VRAM: 16384
INFO interface: info: ==> custombox: -- Video VRAM: 16384
==> custombox: -- Video VRAM: 16384
INFO interface: info: -- Video 3D accel: true
INFO interface: info: ==> custombox: -- Video 3D accel: true
==> custombox: -- Video 3D accel: true
INFO interface: info: -- Sound Type: ich9
INFO interface: info: ==> custombox: -- Sound Type: ich9
==> custombox: -- Sound Type: ich9
INFO interface: info: -- Keymap: en-us
INFO interface: info: ==> custombox: -- Keymap: en-us
==> custombox: -- Keymap: en-us
INFO interface: info: -- TPM Backend: passthrough
INFO interface: info: ==> custombox: -- TPM Backend: passthrough
==> custombox: -- TPM Backend: passthrough
INFO interface: info: -- INPUT: type=tablet, bus=usb
INFO interface: info: ==> custombox: -- INPUT: type=tablet, bus=usb
==> custombox: -- INPUT: type=tablet, bus=usb
INFO interface: info: -- CHANNEL: type=unix, mode=
INFO interface: info: ==> custombox: -- CHANNEL: type=unix, mode=
==> custombox: -- CHANNEL: type=unix, mode=
INFO interface: info: -- CHANNEL: target_type=virtio, target_name=org.qemu.guest_agent.0
INFO interface: info: ==> custombox: -- CHANNEL: target_type=virtio, target_name=org.qemu.guest_agent.0
==> custombox: -- CHANNEL: target_type=virtio, target_name=org.qemu.guest_agent.0
INFO interface: info: -- CHANNEL: type=spicevmc, mode=
INFO interface: info: ==> custombox: -- CHANNEL: type=spicevmc, mode=
==> custombox: -- CHANNEL: type=spicevmc, mode=
INFO interface: info: -- CHANNEL: target_type=virtio, target_name=com.redhat.spice.0
INFO interface: info: ==> custombox: -- CHANNEL: target_type=virtio, target_name=com.redhat.spice.0
==> custombox: -- CHANNEL: target_type=virtio, target_name=com.redhat.spice.0
INFO interface: info: -- RNG device model: random
INFO interface: info: ==> custombox: -- RNG device model: random
==> custombox: -- RNG device model: random
INFO interface: info: -- USB controller: model=qemu-xhci
INFO interface: info: ==> custombox: -- USB controller: model=qemu-xhci
==> custombox: -- USB controller: model=qemu-xhci
INFO interface: info: -- Redirected Devices:
INFO interface: info: ==> custombox: -- Redirected Devices:
==> custombox: -- Redirected Devices:
INFO interface: info: -> bus=usb, type=spicevmc
INFO interface: info: ==> custombox: -> bus=usb, type=spicevmc
==> custombox: -> bus=usb, type=spicevmc
INFO interface: info: -> bus=usb, type=spicevmc
INFO interface: info: ==> custombox: -> bus=usb, type=spicevmc
==> custombox: -> bus=usb, type=spicevmc
INFO interface: info: -- USB Device filter for Redirected Devices:
INFO interface: info: ==> custombox: -- USB Device filter for Redirected Devices:
==> custombox: -- USB Device filter for Redirected Devices:
INFO interface: info: -> class=0x0b, vendor=0x08e6, product=0x3437, version=2.00, allow=yes
INFO interface: info: ==> custombox: -> class=0x0b, vendor=0x08e6, product=0x3437, version=2.00, allow=yes
==> custombox: -> class=0x0b, vendor=0x08e6, product=0x3437, version=2.00, allow=yes
INFO interface: info: -> class=-1, vendor=-1, product=-1, version=-1, allow=no
INFO interface: info: ==> custombox: -> class=-1, vendor=-1, product=-1, version=-1, allow=no
==> custombox: -> class=-1, vendor=-1, product=-1, version=-1, allow=no
INFO interface: info: -> class=0x0b, vendor=0x08e6, product=0x3437, version=2.00, allow=yes
INFO interface: info: ==> custombox: -> class=0x0b, vendor=0x08e6, product=0x3437, version=2.00, allow=yes
==> custombox: -> class=0x0b, vendor=0x08e6, product=0x3437, version=2.00, allow=yes
INFO interface: info: -> class=-1, vendor=-1, product=-1, version=-1, allow=no
INFO interface: info: ==> custombox: -> class=-1, vendor=-1, product=-1, version=-1, allow=no
==> custombox: -> class=-1, vendor=-1, product=-1, version=-1, allow=no
DEBUG create_domain: Creating Domain with XML:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>test_vagrant_box_custombox</name>
<title>custombox</title>
<description>Source: /home/redacted/Documents/projects/test_vagrant_box/Vagrantfile</description>
<uuid></uuid>
<memory>4194304</memory>
<vcpu>1</vcpu>
<cpu mode='host-passthrough'>
<topology sockets='1' cores='1' threads='1'/>
</cpu>
<os>
<type machine='q35'>hvm</type>
<loader readonly='yes' type='rom'>/usr/share/OVMF/OVMF_CODE.fd</loader>
<bootmenu enable='no'/>
<kernel></kernel>
<initrd></initrd>
<cmdline></cmdline>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'>
</clock>
<devices>
<disk type='file' device='disk'>
<alias name='ua-box-volume-0'/>
<driver name='qemu' type='qcow2' cache='default'/>
<source file='/var/lib/libvirt/images/test_vagrant_box_custombox.img'/>
<target dev='vda' bus='virtio'/>
</disk>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target port='0'/>
</console>
<channel type='unix' >
<target type='virtio' name='org.qemu.guest_agent.0'/>
</channel>
<channel type='spicevmc' >
<target type='virtio' name='com.redhat.spice.0'/>
</channel>
<input type='tablet' bus='usb'>
</input>
<sound model='ich9'>
</sound>
<graphics type='spice' keymap='en-us'>
<gl enable='yes'/>
</graphics>
<video>
<model type='virtio' vram='16384' heads='1'>
<acceleration accel3d='yes'/>
</model>
</video>
<rng model='virtio'>
<backend model='random'>/dev/random</backend>
</rng>
<redirdev bus='usb' type='spicevmc'>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
</redirdev>
<redirfilter>
<usbdev class='0x0b' vendor='0x08e6' product='0x3437' version='2.00' allow='yes'/>
<usbdev class='-1' vendor='-1' product='-1' version='-1' allow='no'/>
<usbdev class='0x0b' vendor='0x08e6' product='0x3437' version='2.00' allow='yes'/>
<usbdev class='-1' vendor='-1' product='-1' version='-1' allow='no'/>
</redirfilter>
<controller type='usb' model='qemu-xhci' >
</controller>
</devices>
</domain>
INFO machine: New machine ID: "bb7db6db-3f7e-4a1b-b164-f8f4d1e65eeb"
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateNetworks:0x00007f3d40527ae0>
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, :model_type=>"virtio", :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, :bus=>nil, :slot=>nil, :driver_iommu=>false, :iface_name=>nil}
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: looking up network named vagrant-libvirt
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: found available bridge name virbr1
DEBUG create_networks: Creating private network with XML:
<network ipv6='yes'>
<name>vagrant-libvirt</name>
<bridge name="virbr1" stp="on" delay="0" />
<forward mode="nat" />
<ip address="192.168.121.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.121.1" end="192.168.121.254" />
</dhcp>
</ip>
</network>
DEBUG create_networks: created network
INFO create_networks: Saving information about created network vagrant-libvirt, UUID=04e6447f-00d5-4d60-9277-edfe370c7cc2 to file /home/redacted/Documents/projects/test_vagrant_box/.vagrant/machines/custombox/libvirt/created_networks.
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateNetworkInterfaces:0x00007f3d40047318>
INFO create_network_interfaces: Using vagrant-libvirt at 192.168.121.0/24 as the management network nat is the mode
DEBUG create_network_interfaces: 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_network_interfaces: Adapter not specified so found slot 0
DEBUG create_network_interfaces: Found network by name
DEBUG create_network_interfaces: Interface configuration: {:iface_type=>:private_network, :model_type=>"virtio", :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, :bus=>nil, :slot=>nil, :driver_iommu=>false, :iface_name=>nil}
INFO create_network_interfaces: Creating network interface eth0 connected to network vagrant-libvirt based on template interface.
DEBUG create_network_interfaces: Driver options: {:iommu=>"off"}
DEBUG create_network_interfaces: Attaching Network Device with XML:
<interface type="network">
<alias name="ua-net-0"></alias>
<source network="vagrant-libvirt"></source>
<target dev="vnet0"></target>
<model type="virtio"></model>
<driver iommu="off"></driver>
</interface>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f3d40517b40>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f3d3c9b11f0>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsRunning:0x00007f3d3c966628>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsRunning:0x00007f3d3c966628>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f3d3c8eb888>
INFO warden: Calling IN action: #<Proc:0x00007f3d3c897bc0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f3d3c8eb798>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f3d3c873c98>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsSuspended:0x00007f3d3c829148>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsSuspended:0x00007f3d3c829148>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f3d400abf20>
INFO warden: Calling IN action: #<Proc:0x00007f3d3c950d00 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::PrepareNFSValidIds:0x00007f3d400ab8e0>
INFO warden: Calling IN action: #<VagrantPlugins::SyncedFolderNFS::ActionCleanup:0x00007f3d4011dee0>
DEBUG host: Searching for cap: nfs_prune
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_prune in linux
INFO nfs: NFS pruning. Valid IDs: ["bb7db6db-3f7e-4a1b-b164-f8f4d1e65eeb"]
DEBUG host: Searching for cap: nfs_prune
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_prune in linux
INFO host: Execute capability: nfs_prune [#<Vagrant::Environment: /home/redacted/Documents/projects/test_vagrant_box>, #<Vagrant::UI::Prefixed:0x00007f3d4010cd70 @logger=#<Log4r::Logger:0x00007f3d4010ccf8 @fullname="vagrant::ui::interface", @outputters=[], @additive=true, @name="interface", @path="vagrant::ui", @parent=#<VagrantLogger:0x00007f3d43d4de10 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00007f3d43d3f310 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00007f3d44e60928 @formatter=#<Log4r::BasicFormatter:0x00007f3d446add20 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00007f3d43d4db18 @level=2, @outputters=[]>, @level=2, @trace=false>, @level=2, @trace=false>, @opts={}, @stdin=#<IO:<STDIN>>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @prefix=:custombox, @ui=#<Vagrant::UI::Basic:0x00007f3d446a7c18 @logger=#<Log4r::Logger:0x00007f3d446a4b30 @fullname="vagrant::ui::interface", @outputters=[], @additive=true, @name="interface", @path="vagrant::ui", @parent=#<VagrantLogger:0x00007f3d43d4de10 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x00007f3d43d3f310 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x00007f3d44e60928 @formatter=#<Log4r::BasicFormatter:0x00007f3d446add20 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x00007f3d43d4db18 @level=2, @outputters=[]>, @level=2, @trace=false>, @level=2, @trace=false>, @opts={:color=>:default}, @stdin=#<IO:<STDIN>>, @stdout=#<IO:<STDOUT>>, @stderr=#<IO:<STDERR>>, @lock=#<Thread::Mutex:0x00007f3d43dab740>>>, ["bb7db6db-3f7e-4a1b-b164-f8f4d1e65eeb"]] (linux)
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolderCleanup:0x00007f3d4007c1a8>
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
INFO host: Execute capability: nfs_installed [#<Vagrant::Environment: /home/redacted/Documents/projects/test_vagrant_box>] (linux)
INFO subprocess: Starting process: ["/bin/sh", "-c", "systemctl --no-pager --no-legend --plain list-unit-files --all --type=service | grep nfs-server.service"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 1
INFO synced_folder_cleanup: Invoking synced folder cleanup for: virtiofs
INFO interface: info: Removing virtiofs devices for shared folders...
INFO interface: info: ==> custombox: Removing virtiofs devices for shared folders...
==> custombox: Removing virtiofs devices for shared folders...
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Delayed:0x00007f3d40571c80>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::SyncedFolders:0x00007f3d40571708>
INFO synced_folders: SyncedFolders loading from cache: false
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
INFO host: Execute capability: nfs_installed [#<Vagrant::Environment: /home/redacted/Documents/projects/test_vagrant_box>] (linux)
INFO subprocess: Starting process: ["/bin/sh", "-c", "systemctl --no-pager --no-legend --plain list-unit-files --all --type=service | grep nfs-server.service"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999
DEBUG subprocess: Exit status: 1
INFO synced_folders: Synced Folder Implementation: virtiofs
INFO synced_folders: - /vagrant: . => /vagrant
INFO synced_folders: Invoking synced folder prepare for: virtiofs
INFO interface: info: Configuring virtiofs devices for shared folders...
INFO interface: info: ==> custombox: Configuring virtiofs devices for shared folders...
==> custombox: Configuring virtiofs devices for shared folders...
DEBUG virtiofs: Attaching Synced Folder device with XML:
<filesystem type="mount" accessmode="passthrough">
<driver type="virtiofs"></driver>
<source dir="/home/redacted/Documents/projects/test_vagrant_box"></source>
<target dir="ea082d309e2f9d22abec445be89673e"></target>
</filesystem>
INFO interface: error: could not attach device because: Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO interface: error: ==> custombox: could not attach device because: Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
==> custombox: could not attach device because: Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
ERROR warden: Error occurred: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
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: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x00007f3d3c8eb798>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
ERROR warden: Error occurred: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x00007f3d40517b40>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Calling recover: #<VagrantPlugins::ProviderLibvirt::Action::CleanupOnFailure:0x00007f3d3fd26f30>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f3d3c4c0b28>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f3d3c42d710>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f3d3c42d670>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f3d4009d830>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x00007f3d40044398>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x00007f3d40044398>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f3d3c994078>
INFO warden: Calling IN action: #<Proc:0x00007f3d3c91d1d0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x00007f3d3c957f60>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x00007f3d3c8e6428>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::DestroyConfirm:0x00007f3d3c8725a0>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::DestroyConfirm:0x00007f3d3c8725a0>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f3d3c4c2f18>
INFO warden: Calling IN action: #<Proc:0x00007f3d4002acb8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ProvisionerCleanup:0x00007f3d3c4c2ba8>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::ClearForwardedPorts:0x00007f3d3c4e5248>
INFO clear_forward_ports: No ssh pids found
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::PruneNFSExports:0x00007f3d3c4b6c90>
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
DEBUG host: Searching for cap: nfs_installed
DEBUG host: Checking in: linux
DEBUG host: Found cap: nfs_installed in linux
INFO host: Execute capability: nfs_installed [#<Vagrant::Environment: /home/redacted/Documents/projects/test_vagrant_box>] (linux)
INFO subprocess: Starting process: ["/bin/sh", "-c", "systemctl --no-pager --no-legend --plain list-unit-files --all --type=service | grep nfs-server.service"]
INFO subprocess: Command not in installer, restoring original environment...
DEBUG subprocess: Selecting on IO
DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000
DEBUG subprocess: Exit status: 1
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::DestroyDomain:0x00007f3d3c480ff0>
INFO interface: info: Removing domain...
INFO interface: info: ==> custombox: Removing domain...
==> custombox: Removing domain...
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::DestroyNetworks:0x00007f3d3c457b78>
INFO destroy_networks: Checking if any networks were created
INFO destroy_networks: File with created networks exists
INFO destroy_networks: Checking for 04e6447f-00d5-4d60-9277-edfe370c7cc2
INFO destroy_networks: Undefined it
INFO destroy_networks: Deleting created_networks file
INFO machine: New machine ID: nil
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CleanMachineFolder:0x00007f3d3c435438>
INFO interface: info: Deleting the machine folder
INFO interface: info: ==> custombox: Deleting the machine folder
==> custombox: Deleting the machine folder
DEBUG create_domain: Recursively removing: /home/redacted/Documents/projects/test_vagrant_box/.vagrant/machines/custombox/libvirt
INFO warden: Calling IN action: #<Proc:0x00007f3d404c85e0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling IN action: #<Proc:0x00007f3d3c957ee8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling IN action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x00007f3d3c42d5d0>
DEBUG storeboxmetadata: Writing box metadata file to /home/redacted/Documents/projects/test_vagrant_box/.vagrant/machines/custombox/libvirt/box_meta
INFO warden: Calling OUT action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x00007f3d3c42d5d0>
INFO warden: Calling OUT action: #<Proc:0x00007f3d3c957ee8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling OUT action: #<Proc:0x00007f3d404c85e0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::CleanMachineFolder:0x00007f3d3c435438>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::DestroyNetworks:0x00007f3d3c457b78>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::DestroyDomain:0x00007f3d3c480ff0>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::PruneNFSExports:0x00007f3d3c4b6c90>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::ClearForwardedPorts:0x00007f3d3c4e5248>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ProvisionerCleanup:0x00007f3d3c4c2ba8>
INFO warden: Calling OUT action: #<Proc:0x00007f3d4002acb8 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::Call:0x00007f3d3c957f60>
INFO warden: Calling OUT action: #<Proc:0x00007f3d3c91d1d0 /opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:116 (lambda)>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::Call:0x00007f3d3c42d670>
INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x00007f3d3c42d710>
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.
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: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x00007f3d400ce868>
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO environment: Released process lock: machine-action-430c0f8fa23cba3a61445edc6ef05300
INFO environment: Running hook: environment_unload
INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x00007f3d3c8dfe70>
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<VagrantPlugins::ProviderLibvirt::Errors::AttachDeviceError: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory>
ERROR vagrant: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
ERROR vagrant: /home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/cap/synced_folder_virtiofs.rb:70:in `rescue in prepare'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/cap/synced_folder_virtiofs.rb:41:in `prepare'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/synced_folders.rb:85:in `block in call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/synced_folders.rb:82:in `each'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/synced_folders.rb:82:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/delayed.rb:22:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/synced_folder_cleanup.rb:31:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/plugins/synced_folders/nfs/action_cleanup.rb:28:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/prepare_nfs_valid_ids.rb:14:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/call.rb:56:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/call.rb:56:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_network_interfaces.rb:169:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_networks.rb:98:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_domain.rb:466:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/resolve_disk_settings.rb:143:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_domain_volume.rb:98:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/handle_box_image.rb:129:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/handle_box.rb:59:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/handle_storage_pool.rb:63:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/set_name_of_domain.rb:34:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/provision.rb:83:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/home/redacted/.vagrant.d/gems/3.1.4/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/cleanup_on_failure.rb:21:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/call.rb:56:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/box_check_outdated.rb:39:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builtin/config_validate.rb:28:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/warden.rb:38:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/builder.rb:183:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `block in run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/util/busy.rb:22:in `busy'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/action/runner.rb:104:in `run'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/machine.rb:247:in `action_raw'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/machine.rb:216:in `block in action'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/environment.rb:649:in `lock'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/machine.rb:202:in `call'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/machine.rb:202:in `action'
/opt/vagrant/embedded/gems/gems/vagrant-2.4.1/lib/vagrant/batch_action.rb:89:in `block (2 levels) in run'
INFO interface: error: Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory
INFO interface: Machine: error-exit ["VagrantPlugins::ProviderLibvirt::Errors::AttachDeviceError", "Error while attaching new device to domain. Call to virDomainAttachDeviceFlags failed: unsupported configuration: 'virtiofs' requires shared memory"]
Hopefully someone knows what is going on, i can't really figure out why virtiofs is not working or why its required.
I appreciate the help
Hello again, and i would obviously be able to fix the issue right after posting it here.
Hopefully this helps someone with the same problem:
domain.memorybacking :source, :type => 'memfd'
domain.memorybacking :access, :mode => 'shared'
here is the full Vagrantfile for context:
# frozen_string_literal: true
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Example configuration of new VM..
config.vm.define :custombox do |custombox|
# Box name
custombox.vm.box = "custom"
# Domain Specific Options
# See README for more info.
custombox.vm.provider :libvirt do |domain|
domain.title = "custombox"
domain.machine_type = "q35"
domain.loader = "/usr/share/OVMF/OVMF_CODE.fd"
domain.cpus = 1
domain.cputopology :sockets => '1', :cores => '1', :threads => '1'
domain.cpu_mode = "host-passthrough"
domain.memory = 4096
domain.input :type => "tablet", :bus => "usb"
domain.graphics_type = "spice"
domain.graphics_gl = "true"
domain.video_accel3d = "true"
domain.video_type = "virtio"
domain.sound_type = "ich9"
domain.channel :type => 'unix', :target_name => 'org.qemu.guest_agent.0', :target_type => 'virtio'
domain.redirdev :type => "spicevmc"
domain.redirfilter :class => "0x0b", :vendor => "0x08e6", :product => "0x3437", :version => "2.00", :allow => "yes"
domain.redirfilter :allow => "no"
domain.redirdev :type => "spicevmc"
domain.redirfilter :class => "0x0b", :vendor => "0x08e6", :product => "0x3437", :version => "2.00", :allow => "yes"
domain.redirfilter :allow => "no"
domain.memorybacking :source, :type => 'memfd'
domain.memorybacking :access, :mode => 'shared'
domain.random :model => 'random'
end
# Interfaces for VM
#
# Networking features in the form of `config.vm.network`
#
#test_vm.vm.network :private_network, :ip => '10.20.30.40'
#test_vm.vm.network :public_network, :ip => '10.20.30.41'
end
# Options for Libvirt Vagrant provider.
config.vm.provider :libvirt do |libvirt|
# A hypervisor name to access. Different drivers can be specified, but
# this version of provider creates KVM machines only. Some examples of
# drivers are KVM (QEMU hardware accelerated), QEMU (QEMU emulated),
# Xen (Xen hypervisor), lxc (Linux Containers),
# esx (VMware ESX), vmwarews (VMware Workstation) and more. Refer to
# documentation for available drivers (http://libvirt.org/drivers.html).
libvirt.driver = "kvm"
libvirt.uri = "qemu:///system"
# The name of the server, where Libvirtd is running.
libvirt.host = "localhost"
# libvirt.host = "172.16.0.108"
# If use ssh tunnel to connect to Libvirt.
# libvirt.connect_via_ssh = false
# libvirt.connect_via_ssh = true
# The username and password to access Libvirt. Password is not used when
# connecting via ssh.
#libvirt.username = "root"
#libvirt.password = "secret"
# Libvirt storage pool name, where box image and instance snapshots will
# be stored.
# libvirt.storage_pool_name = "default"
# Set a prefix for the machines that's different than the project dir name.
#libvirt.default_prefix = ''
end
end
Again, hopefully this helps someone in the same situation as myself.
You can close the issue.
Best regards, Dimitri