KVM-Qemu could not open disk image

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

 



Hello 

I have installed an evaluation of RHEL 7.  I receive an error when
trying to install a virtual machine using virt-manager. I receive the
following errow when KVM is initiated:

Unable to complete install: 'internal error: process exited while
connecting to monitor: qemu-kvm: -drive
file=/var/lib/libvirt/images/test.img,if=none,id=drive-ide0-0-0,format=raw,cache=none: could not open disk image /var/lib/libvirt/images/test.img: Could not open file: Invalid argument
'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 100, in
cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1925, in
do_install
    guest.start_install(False, meter=meter)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1143, in
start_install
    noboot)
  File "/usr/share/virt-manager/virtinst/Guest.py", line 1211, in
_create_guest
    dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2892, in
createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)
libvirtError: internal error: process exited while connecting to
monitor: qemu-kvm: -drive
file=/var/lib/libvirt/images/test.img,if=none,id=drive-ide0-0-0,format=raw,cache=none: could not open disk image /var/lib/libvirt/images/test.img: Could not open file: Invalid argument

I have edited the user and group in the /etc/libvirt/qemu.conf file to
different and chown the directory /var/lib/libvirt/qemu. I have also
allowed rw to everyone to the entire /var/lib/libvirt directory. Nothing
is working.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux