| Summary: | virt-manager network install fails with qemu://session | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Oliver Henshaw <oliver.henshaw> |
| Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | berrange, crobinso, jforbes, virt-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-virtinst-0.600.1-1.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-04 05:24:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Once it is working, there doesn't appear to be a way to pass in a local kickstart file - virt-install cli has --initrd-inject but there doesn't seem to be a similar option in the virt-install gui. Moving to post since the fix is upstream. Oliver, indeed virt-manager doesn't have UI for initrd-inject, though that's a separate issue. And unfortunately I don't think initrd-inject works with f16 vms since the initrd format is now all sorts of confusing, I've been meaning to dig into it but haven't found time yet. python-virtinst-0.600.1-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/python-virtinst-0.600.1-1.fc16 Package python-virtinst-0.600.1-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-virtinst-0.600.1-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1163/python-virtinst-0.600.1-1.fc16 then log in and leave karma (feedback). python-virtinst-0.600.1-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I tried to install fedora 16 from http, with virt-manager connected to an unprivileged qemu://session. This fails with the traceback: Unable to complete install: 'Could not start storage pool: cannot open path '/var/lib/libvirt/boot': Permission denied' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 44, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 1899, in do_install guest.start_install(False, meter=meter) File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1206, in start_install self._prepare_install(meter, dry) File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 963, in _prepare_install meter=meter) File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 425, in prepare dev = self._prepare_kernel_and_initrd(guest, meter) File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 385, in _prepare_kernel_and_initrd kernelfn, initrdfn) File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 324, in _upload_media pool = _build_pool(conn, meter, system_scratchdir) File "/usr/lib/python2.7/site-packages/virtinst/DistroInstaller.py", line 85, in _build_pool autostart=True) File "/usr/lib/python2.7/site-packages/virtinst/Storage.py", line 489, in install raise RuntimeError(errmsg) RuntimeError: Could not start storage pool: cannot open path '/var/lib/libvirt/boot': Permission denied Applying http://git.fedorahosted.org/git/?p=python-virtinst.git;a=blobdiff;f=virtinst/DistroInstaller.py;h=f5ddf5d86c0c0447535daca62d473e46146dcf57;hp=ff7e125586bea2a99dddf0f0fd926e75bbcff30c;hb=7e4e0f5da18f55fa382260d9939fd415dd0272c9;hpb=9b38d38851c1b24783ad94655d8cd19cfeb1f011 locally fixes it. Version-Release number of selected component (if applicable): python-virtinst-0.600.0-5.fc16.noarch virt-manager-0.9.0-7.fc16.noarch libvirt-0.9.6-4.fc16.x86_64