[Pkg-libvirt-maintainers] Bug#1007916: virtinst: VM creation fails: Could not open '/var/lib/libvirt/qemu/nvram/VmNotInstalled_VARS.fd'

Simon Kobyda skobyda at redhat.com
Fri Mar 18 13:48:22 GMT 2022


Package: virtinst
Version: 4.0.0

VM creation using virt-install with flag --boot uefi fails

1. Have som qcow2 disk, let's say at /var/lib/libvirt/images/myDisk.qcow2

2. Create VM using: virt-install --connect qemu:///system --name
VmNotInstalled --os-variant fedora28 --memory 2048 --noautoconsole --disk
path=/var/lib/libvirt/images/myDisk.qcow2,device=disk,boot_order=2,bus=virtio,readonly=off,shareable=off,discard=unmap,driver_name=qemu,driver_type=qcow2
--boot uefi

Actual result:

ERROR    internal error: process exited while connecting to monitor:
2022-03-18T13:45:43.472848Z qemu-system-x86_64: -blockdev
{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/VmNotInstalled_VARS.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}:
Could not open '/var/lib/libvirt/qemu/nvram/VmNotInstalled_VARS.fd':
Permission denied
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start VmNotInstalled
otherwise, please restart your installation.

Expected result:
Domain creation completed.

System information:
Distributor ID: Debian
Description:    Debian GNU/Linux bookworm/sid
Release:        testing
Codename:       bookworm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-maintainers/attachments/20220318/49a85593/attachment.htm>


More information about the Pkg-libvirt-maintainers mailing list