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: Pierrick Bouvier
Subject: Re: can not create the virtual machine
Date: Mon, 21 Oct 2024 13:49:08 -0700
User-agent: Mozilla Thunderbird

On 10/21/24 12: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

Hi Alin,

it seems like the file /home/xyz/Downloads/lubuntu-24.04.1-desktop-amd64 (1).iso has lower permissions than expected. Try chown $USER:$USER on this file and chmod 644, and launch qemu again.

Regards,
Pierrick

reply via email to

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