Bug 447319

Summary: virt-manager can't virtualize anything
Product: [Fedora] Fedora Reporter: Kamil Pawlowski <kamilpe>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: berrange
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-19 14:53:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamil Pawlowski 2008-05-19 14:27:08 UTC
Description of problem:

When I create virtual machine I get this error msg:
Unable to complete install '<class 'libvirt.libvirtError'>
virDomainCreateLinux() failed internal error QEMU quit during console startup
qemu: could not open disk image /home/kamil/debian2.img

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/create.py", line 651, in do_install
    dom = guest.start_install(False, meter = meter)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 845, in
start_install
    return self._do_install(consolecb, meter)
  File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line 866, in
_do_install
    self.domain = self.conn.createLinux(install_xml, 0)
  File "/usr/lib64/python2.5/site-packages/libvirt.py", line 833, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: virDomainCreateLinux() failed internal error QEMU quit during
console startup
qemu: could not open disk image /home/kamil/debian2.img

'


Version-Release number of selected component (if applicable):
libvirt-0.4.2-1.fc9.x86_64
virt-manager-0.5.4-3.fc9.x86_64

This same result I have in any virtual system (qemu, kqemu, kvm)

Comment 1 Daniel Berrangé 2008-05-19 14:34:25 UTC
If you have SELinux enabled, it is probably dieing because the disk image is not
in the required location. Try again using /var/lib/libvirt/images  as the
location.  A forthcoming update will make this the default directory in
virt-manager file dialog

Comment 2 Kamil Pawlowski 2008-05-19 14:48:46 UTC
Yeah, this helps. Anyway I don't get any warning in SELinux tool and any warning
when I create virtual system using virt-manager, one of them should help people
like me

Comment 3 Daniel Berrangé 2008-05-19 14:53:52 UTC

*** This bug has been marked as a duplicate of 441619 ***