virt-manager iso premissions bug

asked 2018-08-19 08:56:02 -0500

nowornever gravatar image

updated 2018-08-20 11:55:57 -0500

genodeftest gravatar image

Hi this is permission problem that stomp me. I don't know which combination of groups and users also file permission is right. Virt-manager will not read ISO end create virtual machine. I'm using fedora 28 with kernel 4.17.14-202.fc28.x86_64 all up to date software,also my user is member of this groups 36(kvm),107(qemu),981(libvirt) Please help.
Cain regards Chris

Installation can not be completed: „internal error: process exited while connecting to monitor: 2018-08-19T13:23:15.040285Z qemu-system-x86_64: -drive file=/home/krzysztof/Pobrane/ISO/Fedora-Xfce-Live-x86_64-28-1.1.iso,format=raw,if=none,id=drive-ide0-0-1,readonly=on: Could not open '/home/krzysztof/Pobrane/ISO/Fedora-Xfce-Live-x86_64-28-1.1.iso': Permission denied”

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 2553, in _do_async_install
    guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 498, in start_install
    doboot, transient)
  File "/usr/share/virt-manager/virtinst/guest.py", line 434, in _create_guest
    domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3659, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: internal error: process exited while connecting to monitor: 2018-08-19T13:23:15.040285Z qemu-system-x86_64: -drive file=/home/krzysztof/Pobrane/ISO/Fedora-Xfce-Live-x86_64-28-1.1.iso,format=raw,if=none,id=drive-ide0-0-1,readonly=on: Could not open '/home/krzysztof/Pobrane/ISO/Fedora-Xfce-Live-x86_64-28-1.1.iso': Permission denied
edit retag flag offensive close merge delete

Comments

Please use code formatting in the future, the output isn't readable otherwise.

genodeftest gravatar imagegenodeftest ( 2018-08-20 09:44:55 -0500 )edit

Have you tried chown'ing the file for group libvirt?

genodeftest gravatar imagegenodeftest ( 2018-08-20 09:54:06 -0500 )edit

I changed it but got changed by one of virtualization software to qemu qemu

nowornever gravatar imagenowornever ( 2018-08-20 10:54:22 -0500 )edit

@nowornever , The problem seems to be related with qemu, for some permission reason can't traverse partitions so I can start the system only if I use the default storage in /var/lib/libvirt/images and I put also the .iso there.

hhlp gravatar imagehhlp ( 2018-08-20 14:11:55 -0500 )edit