qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can not create the virtual machine


From: Thomas Huth
Subject: Re: can not create the virtual machine
Date: Tue, 22 Oct 2024 09:56:58 +0200
User-agent: Mozilla Thunderbird

On 21/10/2024 21.36, Alin Craciunescu wrote:
I receive this message:
Unable to complete install: 'internal error: process exited while connecting to monitor: 2024-10-21T19:26:51.030843Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/xyz/Downloads/lubuntu-24.04.1-desktop- amd64 (1).iso","node-name":"libvirt-1-storage","auto-read- only":true,"discard":"unmap"}: Could not open '/home/xyz/Downloads/ lubuntu-24.04.1-desktop-amd64 (1).iso': Permission denied'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
     callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
     installer.start_install(guest, meter=meter)
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
     domain = self._create_guest(
              ^^^^^^^^^^^^^^^^^^^
  File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest
     domain = self.conn.createXML(initial_xml or final_xml, 0)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   File "/usr/lib/python3/dist-packages/libvirt.py", line 4529, in createXML
     raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: internal error: process exited while connecting to monitor: 2024-10-21T19:26:51.030843Z qemu-system-x86_64: -blockdev {"driver":"file","filename":"/home/xyz/Downloads/lubuntu-24.04.1-desktop- amd64 (1).iso","node-name":"libvirt-1-storage","auto-read- only":true,"discard":"unmap"}: Could not open '/home/xyz/Downloads/ lubuntu-24.04.1-desktop-amd64 (1).iso': Permission denied

That could happen if you've got SELinux enabled. Try to put the .iso file into /var/lib/libvirt/images instead and then run a "restorecon" on the file.

 HTH,
  Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]