-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using qemu/edk2-x86_64-code.fd uefi firmware #1443
Comments
Following #869 , tried to set libvirt.loader = '/usr/share/qemu/edk2-x86_64-code.fd'
libvirt.nvram = '/var/lib/libvirt/qemu/nvram/vagrant.fd'
|
When I use the libvirt.loader = '/usr/share/qemu/edk2-x86_64-secure-code.fd'
libvirt.nvram = '/var/lib/libvirt/qemu/nvram/voidlinux-vagrant.fd' It seems better, but then I get a problem with nvram which is not created automatically.
|
When I run a virt-install command to create a host with See https://github.com/eoli3n/void-config/blob/master/scripts/virt/00-create.sh#L73-L91 $ root@osz ~# ps aux | grep qemu
libvirt 19403 100 0.8 2896956 144824 ? Sl 09:02 47:27 /usr/bin/qemu-system-x86_64 -name guest=void-linux-hrmpf,debug-threads=on -S -object {"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-34-void-linux-hrmpf/master-key.aes"} -blockdev {"driver":"file","filename":"/usr/share/qemu/edk2-x86_64-secure-code.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"} -blockdev {"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/void-linux-hrmpf_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"} -machine pc-q35-6.1,usb=off,vmport=off,smm=on,dump-guest-core=off,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format,memory-backend=pc.ram -accel kvm -cpu Cooperlake,ss=on,vmx=on,pdcm=on,hypervisor=on,tsc-adjust=on,avx512ifma=on,sha-ni=on,avx512vbmi=on,umip=on,avx512vbmi2=on,gfni=on,vaes=on,vpclmulqdq=on,avx512bitalg=on,avx512-vpopcntdq=on,rdpid=on,movdiri=on,movdir64b=on,fsrm=on,md-clear=on,xsaves=on,ibpb=on,ibrs=on,amd-stibp=on,amd-ssbd=on,hle=off,rtm=off,avx-vnni=off,avx512-bf16=off,taa-no=off -m 2048 -object {"qom-type":"memory-backend-ram","id":"pc.ram","size":2147483648} -overcommit mem-lock=off -smp 2,sockets=2,cores=1,threads=1 -uuid 1488b471-65dd-480e-b8a8-6b349c7e2ca5 -no-user-config -nodefaults -chardev socket,id=charmonitor,fd=30,server=on,wait=off -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -global ICH9-LPC.disable_s3=1 -global ICH9-LPC.disable_s4=1 -boot strict=on -device pcie-root-port,port=16,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 -device pcie-root-port,port=17,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 -device pcie-root-port,port=18,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 -device pcie-root-port,port=19,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 -device pcie-root-port,port=20,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 -device pcie-root-port,port=21,chassis=6,id=pci.6,bus=pcie.0,addr=0x2.0x5 -device qemu-xhci,p2=15,p3=15,id=usb,bus=pci.2,addr=0x0 -device virtio-serial-pci,id=virtio-serial0,bus=pci.3,addr=0x0 -blockdev {"driver":"file","filename":"/var/lib/libvirt/images/void-linux-hrmpf.img","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-2-format","read-only":false,"driver":"qcow2","file":"libvirt-2-storage","backing":null} -device ide-hd,bus=ide.0,drive=libvirt-2-format,id=sata0-0-0,bootindex=2 -blockdev {"driver":"file","filename":"/var/lib/libvirt/isos/hrmpf-x86_64-5.15.11_1-20211227.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"} -blockdev {"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"} -device ide-cd,bus=ide.1,drive=libvirt-1-format,id=sata0-0-1,bootindex=1 -netdev tap,fd=31,id=hostnet0,vhost=on,vhostfd=33 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:43:f4:1c,bus=pci.1,addr=0x0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0,bus=usb.0,port=1 -audiodev {"id":"audio1","driver":"spice"} -spice port=5900,addr=127.0.0.1,disable-ticketing=on,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pcie.0,addr=0x1 -device ich9-intel-hda,id=sound0,bus=pcie.0,addr=0x1b -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0,audiodev=audio1 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=2 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=3 -device virtio-balloon-pci,id=balloon0,bus=pci.4,addr=0x0 -object {"qom-type":"rng-random","id":"objrng0","filename":"/dev/urandom"} -device virtio-rng-pci,rng=objrng0,id=rng0,bus=pci.5,addr=0x0 -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny -msg timestamp=on $ sudo virt-install \
-n "noknok" \
--description "yuck it" \
--os-type=Linux \
--os-variant=voidlinux \
--ram=2048 \
--vcpus=2 \
--cpu host \
--boot uefi \
--disk path=/var/lib/libvirt/images/noknok.img,bus=sata,size=30 \
--graphics spice \
--video qxl \
--channel spicevmc \
--check all=off \
--noautoconsole \
--print-xml
Mot de passe :
<domain type="kvm">
<name>noknok</name>
<uuid>ac7e2fda-b896-4e6d-b43c-57f22f4c09a1</uuid>
<description>yuck it</description>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://voidlinux.org/voidlinux/rolling"/>
</libosinfo:libosinfo>
</metadata>
<memory>2097152</memory>
<currentMemory>2097152</currentMemory>
<vcpu>2</vcpu>
<os>
<type arch="x86_64" machine="q35">hvm</type>
<loader readonly="yes" type="pflash">/usr/share/qemu/edk2-x86_64-secure-code.fd</loader>
<boot dev="hd"/>
</os>
<features>
<acpi/>
<apic/>
<vmport state="off"/>
</features>
<cpu mode="host-model"/>
<clock offset="utc">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
</clock>
<pm>
<suspend-to-mem enabled="no"/>
<suspend-to-disk enabled="no"/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<source file="/var/lib/libvirt/images/noknok.img"/>
<target dev="sda" bus="sata"/>
</disk>
<controller type="usb" model="qemu-xhci" ports="15"/>
<interface type="network">
<source network="default"/>
<mac address="52:54:00:d5:d5:b7"/>
<model type="virtio"/>
</interface>
<console type="pty"/>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
</channel>
<input type="tablet" bus="usb"/>
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
<image compression="off"/>
</graphics>
<sound model="ich9"/>
<video>
<model type="qxl"/>
</video>
<redirdev bus="usb" type="spicevmc"/>
<redirdev bus="usb" type="spicevmc"/>
<memballoon model="virtio"/>
<rng model="virtio">
<backend model="random">/dev/urandom</backend>
</rng>
</devices>
</domain> |
Virt-install uses the template file
If I get it well, using |
Tried to template it manually $ sudo cp /usr/share/qemu/edk2-i386-vars.fd /var/lib/libvirt/qemu/nvram/voidlinux-vagrant.fd
$ vagrant up
Bringing machine 'voidlinux' up with 'libvirt' provider...
==> voidlinux: Running action triggers before up ...
==> voidlinux: Running trigger...
voidlinux: Running local: Inline script
voidlinux: ./download_iso.sh start
==> voidlinux: Starting domain.
/home/user/.vagrant.d/gems/3.0.3/gems/fog-libvirt-0.9.0/lib/fog/libvirt/requests/compute/vm_action.rb:7:in `create': Call to virDomainCreateWithFlags failed: operation failed: unable to find any master var store for loader: /usr/share/qemu/edk2-x86_64-secure-code.fd (Libvirt::Error) I'm missing something |
@eoli3n if you use I don't see any nvram referenced in the virt-install generated XML, just the loader. |
It seems that virt-install uses its own firmware detection which could be used by vagrant-libvirt. Let's dump vagrant xml INFO global: Vagrant version: 2.2.19
INFO global: Ruby version: 3.0.3
INFO global: RubyGems version: 3.2.32
INFO global: VAGRANT_LOG="debug"
INFO global: VAGRANT_DEFAULT_PROVIDER="libvirt"
WARN global: resolv replacement has not been enabled!
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb
INFO manager: Registered plugin: Hyper-V provider
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb
INFO manager: Registered plugin: docker-provider
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb
INFO manager: Registered plugin: VirtualBox provider
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/file/plugin.rb
INFO manager: Registered plugin: file
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/cfengine/plugin.rb
INFO manager: Registered plugin: CFEngine Provisioner
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/chef/plugin.rb
INFO manager: Registered plugin: chef
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/podman/plugin.rb
INFO manager: Registered plugin: podman
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/container/plugin.rb
INFO manager: Registered plugin: container
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/salt/plugin.rb
INFO manager: Registered plugin: salt
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/ansible/plugin.rb
INFO manager: Registered plugin: ansible
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/puppet/plugin.rb
INFO manager: Registered plugin: puppet
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/docker/plugin.rb
INFO manager: Registered plugin: docker
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/provisioners/shell/plugin.rb
INFO manager: Registered plugin: shell
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/pushes/local-exec/plugin.rb
INFO manager: Registered plugin: local-exec
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/pushes/atlas/plugin.rb
INFO manager: Registered plugin: atlas
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/pushes/ftp/plugin.rb
INFO manager: Registered plugin: ftp
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/pushes/heroku/plugin.rb
INFO manager: Registered plugin: heroku
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/pushes/noop/plugin.rb
INFO manager: Registered plugin: noop
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/fedora/plugin.rb
INFO manager: Registered plugin: Fedora guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/esxi/plugin.rb
INFO manager: Registered plugin: ESXi guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/windows/plugin.rb
INFO manager: Registered plugin: Windows guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/smartos/plugin.rb
INFO manager: Registered plugin: SmartOS guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/debian/plugin.rb
INFO manager: Registered plugin: Debian guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/mint/plugin.rb
INFO manager: Registered plugin: Mint guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/photon/plugin.rb
INFO manager: Registered plugin: VMware Photon guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/linux/plugin.rb
INFO manager: Registered plugin: Linux guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/arch/plugin.rb
INFO manager: Registered plugin: Arch guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/netbsd/plugin.rb
INFO manager: Registered plugin: NetBSD guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/solaris11/plugin.rb
INFO manager: Registered plugin: Solaris 11 guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/pld/plugin.rb
INFO manager: Registered plugin: PLD Linux guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/openbsd/plugin.rb
INFO manager: Registered plugin: OpenBSD guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/funtoo/plugin.rb
INFO manager: Registered plugin: Funtoo guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/omnios/plugin.rb
INFO manager: Registered plugin: OmniOS guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/openwrt/plugin.rb
INFO manager: Registered plugin: OpenWrt guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/centos/plugin.rb
INFO manager: Registered plugin: CentOS guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/trisquel/plugin.rb
INFO manager: Registered plugin: Trisquel guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/alpine/plugin.rb
INFO manager: Registered plugin: Alpine guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/rocky/plugin.rb
INFO manager: Registered plugin: Rocky guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/darwin/plugin.rb
INFO manager: Registered plugin: Darwin guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/elementary/plugin.rb
INFO manager: Registered plugin: Elementary guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/coreos/plugin.rb
INFO manager: Registered plugin: CoreOS guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/tinycore/plugin.rb
INFO manager: Registered plugin: TinyCore Linux guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/slackware/plugin.rb
INFO manager: Registered plugin: Slackware guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/solaris/plugin.rb
INFO manager: Registered plugin: Solaris guest.
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/atomic/plugin.rb
INFO manager: Registered plugin: Atomic Host guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/dragonflybsd/plugin.rb
INFO manager: Registered plugin: DragonFly BSD guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/haiku/plugin.rb
INFO manager: Registered plugin: Haiku guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/kali/plugin.rb
INFO manager: Registered plugin: Kali guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/suse/plugin.rb
INFO manager: Registered plugin: SUSE guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/ubuntu/plugin.rb
INFO manager: Registered plugin: Ubuntu guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/bsd/plugin.rb
INFO manager: Registered plugin: BSD-based guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/nixos/plugin.rb
INFO manager: Registered plugin: NixOS guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/amazon/plugin.rb
INFO manager: Registered plugin: Amazon Linux guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/guests/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD guest
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/communicators/ssh/plugin.rb
INFO manager: Registered plugin: ssh communicator
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/communicators/winrm/plugin.rb
INFO manager: Registered plugin: winrm communicator
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/communicators/winssh/plugin.rb
INFO manager: Registered plugin: windows ssh communicator
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/suse/plugin.rb
INFO manager: Registered plugin: SUSE host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/windows/plugin.rb
INFO manager: Registered plugin: Windows host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/null/plugin.rb
INFO manager: Registered plugin: null host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/void/plugin.rb
INFO manager: Registered plugin: Void host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/darwin/plugin.rb
INFO manager: Registered plugin: Mac OS X host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/gentoo/plugin.rb
INFO manager: Registered plugin: Gentoo host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/redhat/plugin.rb
INFO manager: Registered plugin: Red Hat Enterprise Linux host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/alt/plugin.rb
INFO manager: Registered plugin: ALT Platform host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/bsd/plugin.rb
INFO manager: Registered plugin: BSD host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/linux/plugin.rb
INFO manager: Registered plugin: Linux host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/slackware/plugin.rb
INFO manager: Registered plugin: Slackware host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/freebsd/plugin.rb
INFO manager: Registered plugin: FreeBSD host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/hosts/arch/plugin.rb
INFO manager: Registered plugin: Arch host
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/synced_folders/rsync/plugin.rb
INFO manager: Registered plugin: RSync synced folders
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/synced_folders/smb/plugin.rb
INFO manager: Registered plugin: SMB synced folders
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/synced_folders/nfs/plugin.rb
INFO manager: Registered plugin: NFS synced folders
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/kernel_v1/plugin.rb
INFO manager: Registered plugin: kernel
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/winrm/plugin.rb
INFO manager: Registered plugin: winrm command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/push/plugin.rb
INFO manager: Registered plugin: push command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/plugin/plugin.rb
INFO manager: Registered plugin: plugin command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/reload/plugin.rb
INFO manager: Registered plugin: reload command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/init/plugin.rb
INFO manager: Registered plugin: init command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/powershell/plugin.rb
INFO manager: Registered plugin: powershell command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/rdp/plugin.rb
INFO manager: Registered plugin: rdp command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/provision/plugin.rb
INFO manager: Registered plugin: provision command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/cap/plugin.rb
INFO manager: Registered plugin: cap command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/global-status/plugin.rb
INFO manager: Registered plugin: global-status command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/port/plugin.rb
INFO manager: Registered plugin: port command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/status/plugin.rb
INFO manager: Registered plugin: status command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/provider/plugin.rb
INFO manager: Registered plugin: provider command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/cloud/plugin.rb
INFO manager: Registered plugin: vagrant-cloud
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/halt/plugin.rb
INFO manager: Registered plugin: halt command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/winrm_config/plugin.rb
INFO manager: Registered plugin: winrm-config command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/resume/plugin.rb
INFO manager: Registered plugin: resume command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/up/plugin.rb
INFO manager: Registered plugin: up command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/login/plugin.rb
INFO manager: Registered plugin: vagrant-login
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/upload/plugin.rb
INFO manager: Registered plugin: upload command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/list-commands/plugin.rb
INFO manager: Registered plugin: list-commands command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/ssh/plugin.rb
INFO manager: Registered plugin: ssh command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/suspend/plugin.rb
INFO manager: Registered plugin: suspend command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/snapshot/plugin.rb
INFO manager: Registered plugin: snapshot command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/package/plugin.rb
INFO manager: Registered plugin: package command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/ssh_config/plugin.rb
INFO manager: Registered plugin: ssh-config command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/destroy/plugin.rb
INFO manager: Registered plugin: destroy command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/version/plugin.rb
INFO manager: Registered plugin: version command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/validate/plugin.rb
INFO manager: Registered plugin: validate command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/autocomplete/plugin.rb
INFO manager: Registered plugin: autocomplete command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/box/plugin.rb
INFO manager: Registered plugin: box command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/commands/help/plugin.rb
INFO manager: Registered plugin: help command
DEBUG global: Loading core plugin: /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/kernel_v2/plugin.rb
INFO manager: Registered plugin: kernel
INFO vagrant: `vagrant` invoked: ["up"]
DEBUG vagrant: Creating Vagrant environment
INFO environment: Environment initialized (#<Vagrant::Environment:0x000055fd8e2e45f0>)
INFO environment: - cwd: /home/user/dev/void-config/scripts/virt
INFO environment: Home path: /home/user/.vagrant.d
DEBUG environment: Effective local data path: /home/user/dev/void-config/scripts/virt/.vagrant
INFO environment: Local data path: /home/user/dev/void-config/scripts/virt/.vagrant
DEBUG environment: Creating: /home/user/dev/void-config/scripts/virt/.vagrant
DEBUG manager: Enabling localized plugins
INFO manager: Plugins:
DEBUG solution_file: new solution file instance plugin_file=/home/user/dev/void-config/scripts/virt/.vagrant/plugins.json solution_file=/home/user/dev/void-config/scripts/virt/.vagrant/bundler/local.sol
DEBUG solution_file: missing file so skipping loading
DEBUG bundler: solution file in use for init: <Vagrant::Bundler::SolutionFile:/home/user/dev/void-config/scripts/virt/.vagrant/plugins.json:/home/user/dev/void-config/scripts/virt/.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/user/dev/void-config/scripts/virt/.vagrant/plugins.json:/home/user/dev/void-config/scripts/virt/.vagrant/bundler/local.sol:invalid>
INFO manager: Loading plugins...
DEBUG manager: Enabling globalized plugins
INFO manager: Plugins:
INFO manager: - vagrant-libvirt = [installed: 0.7.0 constraint: > 0]
DEBUG solution_file: new solution file instance plugin_file=/home/user/.vagrant.d/plugins.json solution_file=/home/user/dev/void-config/scripts/virt/.vagrant/bundler/global.sol
DEBUG solution_file: reading solution file - /home/user/dev/void-config/scripts/virt/.vagrant/bundler/global.sol
DEBUG solution_file: solution validation check CHECKSUM 7f798c5b5ea19319214075e1d95fdebb515fb1f9864a909ebda0aa7e4a00b47f <-> 7f798c5b5ea19319214075e1d95fdebb515fb1f9864a909ebda0aa7e4a00b47f VERSION 2.2.19 <-> 2.2.19
DEBUG solution_file: loading solution dependency list
DEBUG solution_file: solution dependency list: [#<Gem::Resolver::DependencyRequest:0x000055fd8e2cdd28 @dependency=<Gem::Dependency type=:runtime name="racc" requirements="~> 1.4">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2cd850 @dependency=<Gem::Dependency type=:runtime name="nokogiri" requirements="~> 1.6">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2cd468 @dependency=<Gem::Dependency type=:runtime name="rexml" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2cd080 @dependency=<Gem::Dependency type=:runtime name="formatador" requirements="~> 0.2">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2ccb80 @dependency=<Gem::Dependency type=:runtime name="excon" requirements="~> 0.71">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2cc4f0 @dependency=<Gem::Dependency type=:runtime name="mime-types-data" requirements="~> 3.2015">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c7fb8 @dependency=<Gem::Dependency type=:runtime name="mime-types" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c7ba8 @dependency=<Gem::Dependency type=:runtime name="builder" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c77c0 @dependency=<Gem::Dependency type=:runtime name="fog-core" requirements="~> 2.1">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c7310 @dependency=<Gem::Dependency type=:runtime name="json" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c6cd0 @dependency=<Gem::Dependency type=:runtime name="ruby-libvirt" requirements=">= 0.7.0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c63c0 @dependency=<Gem::Dependency type=:runtime name="fog-xml" requirements="~> 0.1.1">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c6118 @dependency=<Gem::Dependency type=:runtime name="multi_json" requirements="~> 1.10">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c5d58 @dependency=<Gem::Dependency type=:runtime name="fog-json" requirements=">= 0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c5858 @dependency=<Gem::Dependency type=:runtime name="fog-libvirt" requirements=">= 0.6.0">, @requester=nil>, #<Gem::Resolver::DependencyRequest:0x000055fd8e2c5218 @dependency=<Gem::Dependency type=:runtime name="vagrant-libvirt" requirements="= 0.7.0">, @requester=nil>]
DEBUG bundler: solution file in use for init: <Vagrant::Bundler::SolutionFile:/home/user/.vagrant.d/plugins.json:/home/user/dev/void-config/scripts/virt/.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.5.2", "nokogiri-1.13.1-x86_64-linux", "rexml-3.2.5", "formatador-0.3.0", "excon-0.88.0", "mime-types-data-3.2021.1115", "mime-types-3.4.1", "builder-3.2.4", "fog-core-2.2.4", "json-2.5.1", "ruby-libvirt-0.8.0", "fog-xml-0.1.4", "multi_json-1.15.0", "fog-json-1.2.0", "fog-libvirt-0.9.0", "vagrant-libvirt-0.7.0"]
DEBUG bundler: Activating gem racc-1.5.2
DEBUG bundler: Activating gem nokogiri-1.13.1-x86_64-linux
DEBUG bundler: Activating gem formatador-0.3.0
DEBUG bundler: Activating gem fog-core-2.2.4
DEBUG bundler: Activating gem json-2.5.1
DEBUG bundler: Activating gem ruby-libvirt-0.8.0
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.9.0
DEBUG bundler: Activating gem vagrant-libvirt-0.7.0
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/user/dev/void-config/scripts/virt/Vagrantfile>"]
DEBUG loader: Populating proc cache for #<Pathname:/home/user/dev/void-config/scripts/virt/Vagrantfile>
DEBUG loader: Load procs for pathname: /home/user/dev/void-config/scripts/virt/Vagrantfile
INFO loader: Loading configuration in order: [:home, :root]
DEBUG loader: Loading from: root (evaluating)
DEBUG config: Trigger defined for: up
DEBUG config: Trigger defined for: provision
DEBUG config: Trigger defined for: destroy
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
DEBUG environment: Default provider: `libvirt`
DEBUG environment: Using forced default provider: `libvirt`
DEBUG environment: Default provider: `libvirt`
DEBUG environment: Using forced default provider: `libvirt`
INFO loader: Set "2600_machine_voidlinux" = ["[\"2\", #<Proc:0x000055fd8e68c1d0 /home/user/dev/void-config/scripts/virt/Vagrantfile:11>]"]
DEBUG loader: Populating proc cache for ["2", #<Proc:0x000055fd8e68c1d0 /home/user/dev/void-config/scripts/virt/Vagrantfile:11>]
INFO loader: Loading configuration in order: [:home, :root, "2600_machine_voidlinux"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 2600_machine_voidlinux (evaluating)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
WARN vagrantfile: Failed to locate with version
WARN vagrantfile: Performing lookup with initial values with version
INFO environment: Running hook: environment_plugins_loaded
INFO runner: Running action: environment_plugins_loaded #<Vagrant::Action::Builder:0x000055fd8e7d3930>
INFO environment: Running hook: environment_load
INFO runner: Running action: environment_load #<Vagrant::Action::Builder:0x000055fd8d58ce98>
INFO interface: warn: You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.
You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.
DEBUG checkpoint_client: starting plugin check
INFO cli: CLI: [] "up" []
DEBUG checkpoint_client: plugin check complete
DEBUG cli: Invoking command class: VagrantPlugins::CommandUp::Command []
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: ["voidlinux"]
DEBUG command: -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: voidlinux
INFO command: Active machine found with name voidlinux. Using provider: libvirt
INFO environment: Getting machine: voidlinux (libvirt)
INFO environment: Uncached load of machine.
INFO loader: Set "2600_machine_voidlinux" = ["[\"2\", #<Proc:0x000055fd8e68c1d0 /home/user/dev/void-config/scripts/virt/Vagrantfile:11>]"]
INFO loader: Loading configuration in order: [:home, :root, "2600_machine_voidlinux"]
DEBUG loader: Loading from: root (cache)
DEBUG loader: Loading from: 2600_machine_voidlinux (cache)
DEBUG loader: Configuration loaded successfully, finalizing and returning
DEBUG push: finalizing
WARN vagrantfile: Failed to locate with version
WARN vagrantfile: Performing lookup with initial values with version
INFO machine: Initializing machine: voidlinux
INFO machine: - Provider: VagrantPlugins::ProviderLibvirt::Provider
INFO machine: - Box:
INFO machine: - Data dir: /home/user/dev/void-config/scripts/virt/.vagrant/machines/voidlinux/libvirt
INFO driver: Connecting to Libvirt (qemu:///system) ...
DEBUG driver: machine voidlinux domain not found Call to virDomainLookupByUUID failed: Domain not found: no domain with matching uuid '6c26f512-e453-4591-b63a-d195b7083edf'.
INFO machine: New machine ID: nil
INFO interface: Machine: metadata ["provider", :libvirt, {:target=>:voidlinux}]
INFO command: With machine: voidlinux (#<VagrantPlugins::ProviderLibvirt::Provider:0x000055fd8e161660 @machine=#<Vagrant::Machine: voidlinux (VagrantPlugins::ProviderLibvirt::Provider)>, @cap_logger=#<Log4r::Logger:0x000055fd8e15b9b8 @fullname="vagrant::capability_host::vagrantplugins::providerlibvirt::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::providerlibvirt", @parent=#<VagrantLogger:0x000055fd8d970f50 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x000055fd8d71f3c8 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000055fd8dcb9608 @formatter=#<Log4r::BasicFormatter:0x000055fd8dcbab48 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000055fd8d970960 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:libvirt, #<#<Class:0x000055fd8e1611d8>:0x000055fd8e27b6b8>]], @cap_args=[#<Vagrant::Machine: voidlinux (VagrantPlugins::ProviderLibvirt::Provider)>], @cap_caps={:hyperv=>#<Vagrant::Registry:0x000055fd8e160940 @items={:public_address=>#<Proc:0x000055fd8d9b14b0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x000055fd8d9b12f8 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:30>, :configure_disks=>#<Proc:0x000055fd8d9b12d0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:35>, :cleanup_disks=>#<Proc:0x000055fd8d9b12a8 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:40>, :validate_disk_ext=>#<Proc:0x000055fd8d9b1230 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:45>, :default_disk_exts=>#<Proc:0x000055fd8d9b1208 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:50>, :set_default_disk_ext=>#<Proc:0x000055fd8d9b11e0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:55>}, @results_cache={}>, :docker=>#<Vagrant::Registry:0x000055fd8e1605d0 @items={:public_address=>#<Proc:0x000055fd8d961550 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x000055fd8d961168 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:65>, :has_communicator=>#<Proc:0x000055fd8d960f60 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:70>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x000055fd8e1601e8 @items={:forwarded_ports=>#<Proc:0x000055fd8d7ff680 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x000055fd8d7ff540 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x000055fd8d7fdb50 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:37>, :configure_disks=>#<Proc:0x000055fd8d7eef60 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:42>, :cleanup_disks=>#<Proc:0x000055fd8d7ecdc8 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:47>, :validate_disk_ext=>#<Proc:0x000055fd8d7ec0d0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:52>, :default_disk_exts=>#<Proc:0x000055fd8d7ec008 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:57>, :set_default_disk_ext=>#<Proc:0x000055fd8d7e7d50 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:62>, :snapshot_list=>#<Proc:0x000055fd8d7e7c38 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:67>}, @results_cache={}>, :libvirt=>#<Vagrant::Registry:0x000055fd8e1600f8 @items={:nic_mac_addresses=>#<Proc:0x000055fd8e8785c0 /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/plugin.rb:44>, :public_address=>#<Proc:0x000055fd8e878598 /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/plugin.rb:49>}, @results_cache={}>}, @driver=#<VagrantPlugins::ProviderLibvirt::Driver:0x000055fd8dd314f0 @logger=#<Log4r::Logger:0x000055fd8dd31298 @fullname="vagrant_libvirt::driver", @outputters=[], @additive=true, @name="driver", @path="vagrant_libvirt", @parent=#<Log4r::Logger:0x000055fd8e878048 @fullname="vagrant_libvirt", @outputters=[#<Log4r::StderrOutputter:0x000055fd8d71f3c8 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000055fd8dcb9608 @formatter=#<Log4r::BasicFormatter:0x000055fd8dcbab48 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant_libvirt", @path="", @parent=#<Log4r::RootLogger:0x000055fd8d970960 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#<Vagrant::Machine: voidlinux (VagrantPlugins::ProviderLibvirt::Provider)>, @connection=#<Fog::Libvirt::Compute::Real:50820 @uri=#<Fog::Libvirt::Util::URI:0x000055fd8ed14908 @parsed_uri=#<URI::Generic qemu:/system>, @uri="qemu:///system"> @ip_command=" awk \"/$mac/ {print \\$1}\" /proc/net/arp " @client=#<Libvirt::Connect:0x000055fd8ed141b0>>>>)
DEBUG command: Getting target VMs for command. Arguments:
DEBUG command: -- names: ["voidlinux"]
DEBUG command: -- options: {:provider=>nil}
DEBUG command: Finding machine that match name: voidlinux
DEBUG environment: Default provider: `libvirt`
DEBUG environment: Using forced default provider: `libvirt`
INFO environment: Getting machine: voidlinux (libvirt)
INFO environment: Returning cached machine: voidlinux (libvirt)
INFO command: With machine: voidlinux (#<VagrantPlugins::ProviderLibvirt::Provider:0x000055fd8e161660 @machine=#<Vagrant::Machine: voidlinux (VagrantPlugins::ProviderLibvirt::Provider)>, @cap_logger=#<Log4r::Logger:0x000055fd8e15b9b8 @fullname="vagrant::capability_host::vagrantplugins::providerlibvirt::provider", @outputters=[], @additive=true, @name="provider", @path="vagrant::capability_host::vagrantplugins::providerlibvirt", @parent=#<VagrantLogger:0x000055fd8d970f50 @fullname="vagrant", @outputters=[#<Log4r::StderrOutputter:0x000055fd8d71f3c8 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000055fd8dcb9608 @formatter=#<Log4r::BasicFormatter:0x000055fd8dcbab48 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant", @path="", @parent=#<Log4r::RootLogger:0x000055fd8d970960 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @cap_host_chain=[[:libvirt, #<#<Class:0x000055fd8e1611d8>:0x000055fd8e27b6b8>]], @cap_args=[#<Vagrant::Machine: voidlinux (VagrantPlugins::ProviderLibvirt::Provider)>], @cap_caps={:hyperv=>#<Vagrant::Registry:0x000055fd8e160940 @items={:public_address=>#<Proc:0x000055fd8d9b14b0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:25>, :snapshot_list=>#<Proc:0x000055fd8d9b12f8 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:30>, :configure_disks=>#<Proc:0x000055fd8d9b12d0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:35>, :cleanup_disks=>#<Proc:0x000055fd8d9b12a8 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:40>, :validate_disk_ext=>#<Proc:0x000055fd8d9b1230 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:45>, :default_disk_exts=>#<Proc:0x000055fd8d9b1208 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:50>, :set_default_disk_ext=>#<Proc:0x000055fd8d9b11e0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/hyperv/plugin.rb:55>}, @results_cache={}>, :docker=>#<Vagrant::Registry:0x000055fd8e1605d0 @items={:public_address=>#<Proc:0x000055fd8d961550 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:60>, :proxy_machine=>#<Proc:0x000055fd8d961168 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:65>, :has_communicator=>#<Proc:0x000055fd8d960f60 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/docker/plugin.rb:70>}, @results_cache={}>, :virtualbox=>#<Vagrant::Registry:0x000055fd8e1601e8 @items={:forwarded_ports=>#<Proc:0x000055fd8d7ff680 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:27>, :nic_mac_addresses=>#<Proc:0x000055fd8d7ff540 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:32>, :public_address=>#<Proc:0x000055fd8d7fdb50 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:37>, :configure_disks=>#<Proc:0x000055fd8d7eef60 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:42>, :cleanup_disks=>#<Proc:0x000055fd8d7ecdc8 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:47>, :validate_disk_ext=>#<Proc:0x000055fd8d7ec0d0 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:52>, :default_disk_exts=>#<Proc:0x000055fd8d7ec008 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:57>, :set_default_disk_ext=>#<Proc:0x000055fd8d7e7d50 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:62>, :snapshot_list=>#<Proc:0x000055fd8d7e7c38 /usr/lib/vagrant/gems/vagrant-2.2.19/plugins/providers/virtualbox/plugin.rb:67>}, @results_cache={}>, :libvirt=>#<Vagrant::Registry:0x000055fd8e1600f8 @items={:nic_mac_addresses=>#<Proc:0x000055fd8e8785c0 /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/plugin.rb:44>, :public_address=>#<Proc:0x000055fd8e878598 /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/plugin.rb:49>}, @results_cache={}>}, @driver=#<VagrantPlugins::ProviderLibvirt::Driver:0x000055fd8dd314f0 @logger=#<Log4r::Logger:0x000055fd8dd31298 @fullname="vagrant_libvirt::driver", @outputters=[], @additive=true, @name="driver", @path="vagrant_libvirt", @parent=#<Log4r::Logger:0x000055fd8e878048 @fullname="vagrant_libvirt", @outputters=[#<Log4r::StderrOutputter:0x000055fd8d71f3c8 @name="stderr", @level=0, @formatter=#<Vagrant::Util::LoggingFormatter:0x000055fd8dcb9608 @formatter=#<Log4r::BasicFormatter:0x000055fd8dcbab48 @depth=7>>, @out=#<IO:<STDERR>>>], @additive=true, @name="vagrant_libvirt", @path="", @parent=#<Log4r::RootLogger:0x000055fd8d970960 @level=0, @outputters=[]>, @level=1, @trace=false>, @level=1, @trace=false>, @machine=#<Vagrant::Machine: voidlinux (VagrantPlugins::ProviderLibvirt::Provider)>, @connection=#<Fog::Libvirt::Compute::Real:50820 @uri=#<Fog::Libvirt::Util::URI:0x000055fd8ed14908 @parsed_uri=#<URI::Generic qemu:/system>, @uri="qemu:///system"> @ip_command=" awk \"/$mac/ {print \\$1}\" /proc/net/arp " @client=#<Libvirt::Connect:0x000055fd8ed141b0>>>>)
INFO interface: info: Bringing machine 'voidlinux' up with 'libvirt' provider...
Bringing machine 'voidlinux' 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:0x000055fd8dd2a560> up {:destroy_on_error=>true, :install_provider=>false, :parallel=>true, :provision_ignore_sentinel=>false, :provision_types=>nil}
INFO machine: Calling action: up on provider Libvirt (new)
DEBUG environment: Attempting to acquire process-lock: machine-action-059922280936186cd212cfb149156798
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-059922280936186cd212cfb149156798
INFO interface: Machine: action ["up", "start", {:target=>:voidlinux}]
INFO host: Autodetecting host type for [#<Vagrant::Environment: /home/user/dev/void-config/scripts/virt>]
DEBUG host: Trying: suse
DEBUG host: Trying: void
INFO host: Detected: void!
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x000055fd8ed9c150>
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Trigger:0x000055fd8dd174d8>
INFO trigger: Firing trigger for action up on guest voidlinux
INFO interface: info: Running action triggers before up ...
INFO interface: info: ==> voidlinux: Running action triggers before up ...
==> voidlinux: Running action triggers before up ...
DEBUG trigger: Running trigger 83015390-291a-43f1-927d-71038c91d7ef...
INFO interface: info: Running trigger...
INFO interface: info: ==> voidlinux: Running trigger...
==> voidlinux: Running trigger...
INFO interface: detail: Running local: Inline script
./download_iso.sh start
INFO interface: detail: voidlinux: Running local: Inline script
voidlinux: ./download_iso.sh start
voidlinux: Running local: Inline script
voidlinux: ./download_iso.sh start
INFO subprocess: Starting process: ["./download_iso.sh", "start"]
INFO subprocess: Vagrant not running 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 warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x000055fd8dd171b8>
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: void
DEBUG host: Checking in: linux
DEBUG host: Searching for cap: smb_installed
DEBUG host: Checking in: void
DEBUG host: Checking in: linux
DEBUG syncedfolder: Searching for cap: default_fstab_modification
DEBUG syncedfolder: Checking in: rsync
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::BoxCheckOutdated:0x000055fd8dd17078>
WARN box_check_outdated: Not checking for update, no box
INFO warden: Calling IN action: #<Vagrant::Action::Builtin::Call:0x000055fd8e7eb968>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Builder:0x000055fd8e20bd40>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x000055fd8da317f0>
INFO warden: Calling IN action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x000055fd8da31778>
DEBUG storeboxmetadata: No box data found for voidlinux with provider libvirt
INFO warden: Calling OUT action: #<VagrantPlugins::CommandUp::StoreBoxMetadata:0x000055fd8da31778>
INFO warden: Calling OUT action: #<VagrantPlugins::ProviderLibvirt::Action::IsCreated:0x000055fd8da317f0>
INFO runner: Running action: machine_action_up #<Vagrant::Action::Warden:0x00007f0dcc7bea68>
INFO warden: Calling IN action: #<Proc:0x000055fd8e121560 /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:126 (lambda)>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain:0x00007f0dcc7be888>
INFO set_name_of_domain: Looking for domain virt_voidlinux
INFO set_name_of_domain: Call to virDomainLookupByName failed: Domain not found: no domain with matching name 'virt_voidlinux'
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateDomain:0x00007f0dcc7dea20>
INFO interface: info: Creating domain with the following settings...
INFO interface: info: ==> voidlinux: Creating domain with the following settings...
==> voidlinux: Creating domain with the following settings...
INFO interface: info: -- Name: virt_voidlinux
INFO interface: info: ==> voidlinux: -- Name: virt_voidlinux
==> voidlinux: -- Name: virt_voidlinux
INFO interface: info: -- Description: Source: /home/user/dev/void-config/scripts/virt/Vagrantfile
INFO interface: info: ==> voidlinux: -- Description: Source: /home/user/dev/void-config/scripts/virt/Vagrantfile
==> voidlinux: -- Description: Source: /home/user/dev/void-config/scripts/virt/Vagrantfile
INFO interface: info: -- Domain type: kvm
INFO interface: info: ==> voidlinux: -- Domain type: kvm
==> voidlinux: -- Domain type: kvm
INFO interface: info: -- Cpus: 1
INFO interface: info: ==> voidlinux: -- Cpus: 1
==> voidlinux: -- Cpus: 1
INFO interface: info: -- Feature: acpi
INFO interface: info: ==> voidlinux: -- Feature: acpi
==> voidlinux: -- Feature: acpi
INFO interface: info: -- Feature: apic
INFO interface: info: ==> voidlinux: -- Feature: apic
==> voidlinux: -- Feature: apic
INFO interface: info: -- Feature: pae
INFO interface: info: ==> voidlinux: -- Feature: pae
==> voidlinux: -- Feature: pae
INFO interface: info: -- Clock offset: utc
INFO interface: info: ==> voidlinux: -- Clock offset: utc
==> voidlinux: -- Clock offset: utc
INFO interface: info: -- Memory: 2048M
INFO interface: info: ==> voidlinux: -- Memory: 2048M
==> voidlinux: -- Memory: 2048M
INFO interface: info: -- Management MAC:
INFO interface: info: ==> voidlinux: -- Management MAC:
==> voidlinux: -- Management MAC:
INFO interface: info: -- Loader: /usr/share/qemu/edk2-x86_64-secure-code.fd
INFO interface: info: ==> voidlinux: -- Loader: /usr/share/qemu/edk2-x86_64-secure-code.fd
==> voidlinux: -- Loader: /usr/share/qemu/edk2-x86_64-secure-code.fd
INFO interface: info: -- Nvram: /var/lib/libvirt/qemu/nvram/voidlinux-vagrant.fd
INFO interface: info: ==> voidlinux: -- Nvram: /var/lib/libvirt/qemu/nvram/voidlinux-vagrant.fd
==> voidlinux: -- Nvram: /var/lib/libvirt/qemu/nvram/voidlinux-vagrant.fd
INFO interface: info: -- Storage pool: default
INFO interface: info: ==> voidlinux: -- Storage pool: default
==> voidlinux: -- Storage pool: default
INFO interface: info: -- Disk driver opts: cache='default'
INFO interface: info: ==> voidlinux: -- Disk driver opts: cache='default'
==> voidlinux: -- Disk driver opts: cache='default'
INFO interface: info: -- Kernel:
INFO interface: info: ==> voidlinux: -- Kernel:
==> voidlinux: -- Kernel:
INFO interface: info: -- Initrd:
INFO interface: info: ==> voidlinux: -- Initrd:
==> voidlinux: -- Initrd:
INFO interface: info: -- Graphics Type: vnc
INFO interface: info: ==> voidlinux: -- Graphics Type: vnc
==> voidlinux: -- Graphics Type: vnc
INFO interface: info: -- Graphics Port: -1
INFO interface: info: ==> voidlinux: -- Graphics Port: -1
==> voidlinux: -- Graphics Port: -1
INFO interface: info: -- Graphics IP: 127.0.0.1
INFO interface: info: ==> voidlinux: -- Graphics IP: 127.0.0.1
==> voidlinux: -- Graphics IP: 127.0.0.1
INFO interface: info: -- Graphics Password: Not defined
INFO interface: info: ==> voidlinux: -- Graphics Password: Not defined
==> voidlinux: -- Graphics Password: Not defined
INFO interface: info: -- Video Type: cirrus
INFO interface: info: ==> voidlinux: -- Video Type: cirrus
==> voidlinux: -- Video Type: cirrus
INFO interface: info: -- Video VRAM: 9216
INFO interface: info: ==> voidlinux: -- Video VRAM: 9216
==> voidlinux: -- Video VRAM: 9216
INFO interface: info: -- Video 3D accel: false
INFO interface: info: ==> voidlinux: -- Video 3D accel: false
==> voidlinux: -- Video 3D accel: false
INFO interface: info: -- Sound Type:
INFO interface: info: ==> voidlinux: -- Sound Type:
==> voidlinux: -- Sound Type:
INFO interface: info: -- Keymap: fr
INFO interface: info: ==> voidlinux: -- Keymap: fr
==> voidlinux: -- Keymap: fr
INFO interface: info: -- TPM Backend: passthrough
INFO interface: info: ==> voidlinux: -- TPM Backend: passthrough
==> voidlinux: -- TPM Backend: passthrough
INFO interface: info: -- TPM Path:
INFO interface: info: ==> voidlinux: -- TPM Path:
==> voidlinux: -- TPM Path:
INFO interface: info: -- Boot device: cdrom
INFO interface: info: ==> voidlinux: -- Boot device: cdrom
==> voidlinux: -- Boot device: cdrom
INFO interface: info: -- Boot device: hd
INFO interface: info: ==> voidlinux: -- Boot device: hd
==> voidlinux: -- Boot device: hd
INFO interface: info: -- Disks: sda(qcow2,50G)
INFO interface: info: ==> voidlinux: -- Disks: sda(qcow2,50G)
==> voidlinux: -- Disks: sda(qcow2,50G)
INFO interface: info: -- Disk(sda): /var/lib/libvirt/images/virt_voidlinux-sda.qcow2
INFO interface: info: ==> voidlinux: -- Disk(sda): /var/lib/libvirt/images/virt_voidlinux-sda.qcow2
==> voidlinux: -- Disk(sda): /var/lib/libvirt/images/virt_voidlinux-sda.qcow2
INFO interface: info: -- CDROMS: hda
INFO interface: info: ==> voidlinux: -- CDROMS: hda
==> voidlinux: -- CDROMS: hda
INFO interface: info: -- CDROM(hda): /tmp/hrmpf.iso
INFO interface: info: ==> voidlinux: -- CDROM(hda): /tmp/hrmpf.iso
==> voidlinux: -- CDROM(hda): /tmp/hrmpf.iso
INFO interface: info: -- INPUT: type=mouse, bus=ps2
INFO interface: info: ==> voidlinux: -- INPUT: type=mouse, bus=ps2
==> voidlinux: -- INPUT: type=mouse, bus=ps2
DEBUG create_domain: Creating Domain with XML:
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>virt_voidlinux</name>
<title></title>
<description>Source: /home/user/dev/void-config/scripts/virt/Vagrantfile</description>
<uuid></uuid>
<memory>2097152</memory>
<vcpu>1</vcpu>
<cpu mode='host-passthrough'>
</cpu>
<os>
<type>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/qemu/edk2-x86_64-secure-code.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/voidlinux-vagrant.fd</nvram>
<bootmenu enable='yes'/>
<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-disk-volume-0'/>
<driver name='qemu' type='qcow2' cache='default'/>
<source file='/var/lib/libvirt/images/virt_voidlinux-sda.qcow2'/>
<target dev='sda' bus='sata'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw' />
<source file='/tmp/hrmpf.iso'/>
<target dev='hda' bus='ide'/>
<readonly/>
</disk>
<serial type='pty'>
<target port='0'/>
</serial>
<console type='pty'>
<target port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='fr' />
<video>
<model type='cirrus' vram='9216' heads='1'/>
</video>
</devices>
</domain>
INFO machine: New machine ID: "2a884960-2f48-45ea-966a-7082d046fb9d"
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateNetworks:0x00007f0dcc7f40a0>
INFO create_networks: Using vagrant-libvirt at 192.168.121.0/24 as the management network nat is the mode
DEBUG create_networks: In config found network type forwarded_port options {:guest=>22, :host=>2222, :host_ip=>"127.0.0.1", :id=>"ssh", :auto_correct=>true, :protocol=>"tcp"}
DEBUG create_networks: Searching for network with options {:iface_type=>:private_network, :network_name=>"vagrant-libvirt", :ip=>"192.168.121.0", :netmask=>"255.255.255.0", :dhcp_enabled=>true, :forward_mode=>"nat", :guest_ipv6=>"yes", :autostart=>false, :bus=>nil, :slot=>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
INFO create_networks: Saving information about created network vagrant-libvirt, UUID=55f06e2d-7098-482a-b813-77e41dd50135 to file /home/user/dev/void-config/scripts/virt/.vagrant/machines/voidlinux/libvirt/created_networks.
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::CreateNetworkInterfaces:0x00007f0dcc815430>
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
INFO create_network_interfaces: Creating network interface eth0 connected to network vagrant-libvirt.
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>
<alias name="net0"></alias>
<model type="virtio"></model>
<driver></driver>
</interface>
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::SetBootOrder:0x00007f0dcc836658>
DEBUG set_boot_order: /domain/devices/interface[(@type='network' or @type='udp' or @type='bridge' or @type='direct')]
DEBUG set_boot_order: Setting cdrom to boot index 1
DEBUG set_boot_order: Setting disk to boot index 2
INFO warden: Calling IN action: #<VagrantPlugins::ProviderLibvirt::Action::StartDomain:0x00007f0dcc857740>
INFO interface: info: Starting domain.
INFO interface: info: ==> voidlinux: Starting domain.
==> voidlinux: Starting domain.
DEBUG start_domain: video type updated from 'cirrus' to 'cirrus'
DEBUG start_domain: video vram updated from '16384' to '9216'
DEBUG start_domain: Starting Domain with XML:
<domain type='kvm'>
<name>virt_voidlinux</name>
<uuid>2a884960-2f48-45ea-966a-7082d046fb9d</uuid>
<description>Source: /home/user/dev/void-config/scripts/virt/Vagrantfile</description>
<memory unit='KiB'>2097152</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc-i440fx-6.1'>hvm</type>
<loader readonly='yes' type='pflash'>/usr/share/qemu/edk2-x86_64-secure-code.fd</loader>
<nvram>/var/lib/libvirt/qemu/nvram/voidlinux-vagrant.fd</nvram>
<bootmenu enable='yes'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<cpu mode='host-passthrough' check='none' migratable='on'/>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='qcow2'/>
<source file='/var/lib/libvirt/images/virt_voidlinux-sda.qcow2'/>
<target dev='sda' bus='sata'/>
<boot order='2'/>
<alias name='ua-disk-volume-0'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/tmp/hrmpf.iso'/>
<target dev='hda' bus='ide'/>
<readonly/>
<boot order='1'/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='piix3-uhci'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:94:9c:1b'/>
<source network='vagrant-libvirt'/>
<model type='virtio'/>
<alias name='ua-net-0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' keymap='fr'>
<listen type='address' address='127.0.0.1'/>
</graphics>
<audio id='1' type='none'/>
<video>
<model type='cirrus' vram='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</memballoon>
</devices>
</domain>
ERROR warden: Error occurred: Call to virDomainCreateWithFlags failed: operation failed: unable to find any master var store for loader: /usr/share/qemu/edk2-x86_64-secure-code.fd
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: Call to virDomainCreateWithFlags failed: operation failed: unable to find any master var store for loader: /usr/share/qemu/edk2-x86_64-secure-code.fd
INFO warden: Beginning recovery process...
INFO warden: Recovery complete.
ERROR warden: Error occurred: Call to virDomainCreateWithFlags failed: operation failed: unable to find any master var store for loader: /usr/share/qemu/edk2-x86_64-secure-code.fd
INFO warden: Beginning recovery process...
INFO warden: Calling recover: #<Vagrant::Action::Builtin::Call:0x000055fd8e7eb968>
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 warden: Beginning recovery process...
INFO warden: Recovery complete.
INFO environment: Released process lock: machine-action-059922280936186cd212cfb149156798
INFO environment: Running hook: environment_unload
INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x00007f0dcc6bc9a8>
/home/user/.vagrant.d/gems/3.0.3/gems/fog-libvirt-0.9.0/lib/fog/libvirt/requests/compute/vm_action.rb:7:in `create': Call to virDomainCreateWithFlags failed: operation failed: unable to find any master var store for loader: /usr/share/qemu/edk2-x86_64-secure-code.fd (Libvirt::Error)
from /home/user/.vagrant.d/gems/3.0.3/gems/fog-libvirt-0.9.0/lib/fog/libvirt/requests/compute/vm_action.rb:7:in `vm_action'
from /home/user/.vagrant.d/gems/3.0.3/gems/fog-libvirt-0.9.0/lib/fog/libvirt/models/compute/server.rb:76:in `start'
from /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/start_domain.rb:399:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/set_boot_order.rb:80:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/create_network_interfaces.rb:190:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/create_networks.rb:93:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/create_domain.rb:443:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /home/user/.vagrant.d/gems/3.0.3/gems/vagrant-libvirt-0.7.0/lib/vagrant-libvirt/action/set_name_of_domain.rb:34:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:127:in `block in finalize_action'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/builder.rb:149:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `block in run'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/util/busy.rb:19:in `busy'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `run'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/builtin/call.rb:53:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/builtin/box_check_outdated.rb:31:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/builtin/trigger.rb:32:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/warden.rb:48:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/builder.rb:149:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `block in run'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/util/busy.rb:19:in `busy'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/action/runner.rb:89:in `run'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/machine.rb:246:in `action_raw'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/machine.rb:215:in `block in action'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/environment.rb:614:in `lock'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/machine.rb:201:in `call'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/machine.rb:201:in `action'
from /usr/lib/vagrant/gems/vagrant-2.2.19/lib/vagrant/batch_action.rb:86:in `block (2 levels) in run' |
First of all ...
"targets": [
{
"architecture": "x86_64",
"machines": [
"pc-q35-*"
]
}
... The file |
Ok that was my issue.
This is working, except that |
Now let's search for the way to force |
But then I get
|
Ok, so I switch the disk to scsi bus and the cdrom to sata (both on sata gave a conflict). |
Do you need to switch the storage device? Looks like it defaulted to sata, was only the cdrom that looked to be ide. |
I don't get what you meant ? |
In the debug output the XML for the storage device was as follows:
Which is using SATA rather than IDE, so I was wondering do you really need to set the storage bus to SCSI? As it looks like the default should work. It's only the cdrom block that is using IDE
|
As said
I firstly set cdrom to sata, but it gave a conflict error that I didn't want to debug more. |
Ah, thanks I missed the both on SATA gave a conflict. Bug in device auto assignment. The code tried to have both use sda instead of allocating the next available based on bus usage. I'll have to have another look as that should be a relatively straightforward fix. Not sure how straight forward it would be to have the uefi loader and nvram work with a simpler option, but the former should definitely be fixed. |
Lets create a dedicated issue |
Describe the bug
I want to be able to use qemu edk2 efi firmware.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Booting well
Versions (please complete the following information)::
vagrant version
]: 2.2.19vagrant plugin list
]: vagrant-libvirt (0.7.0, global)A Vagrantfile to reproduce the issue:
See https://github.com/eoli3n/void-config/blob/master/scripts/virt/Vagrantfile
It seems that with
edk2-x86_64-code.fd
,-bios
is not working :I tried with
But it doesn't work too.
Any idea ?
The text was updated successfully, but these errors were encountered: