Bug 494005
Summary: | libvirt should sanitize pool paths | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jesse Keating <jkeating> |
Component: | libvirt | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | berrange, clalance, crobinso, dcantrell, hbrock, itamar, jforbes, markmc, veillard, virt-maint, xen-maint |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.7.1-18.fc12 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-08 18:18:29 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
Jesse Keating
2009-04-03 17:06:59 UTC
This: ValueError: Name 'F11-Beta-x86_64-Live-KDE.iso' already in use by another volume. Sounds like virtinst thinks the volume doesn't exist and is trying to create it. Did you perhaps create the pool, then copy the iso in and then try and create the guest? Does "virsh pool-list" list it? Try "virsh pool-refresh"? Any SELinux errors? Jesse and I followed up offline when the bug was filed. You can't tell from the error message, but the issue is that the storage pool was defined with a spurious ending '/', like: /some/pool/directory// Libvirt doesn't sanitize the path at define time, but virtinst likely is when it's trying to lookup the volume path. Should be an easy fix, I'll take a look at this today. This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle. Changing version to '11'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Reassigning this to libvirt with a proper description. This message is a reminder that Fedora 11 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 11. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '11'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 11's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 11 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping AFAIK this is still an issue. putting it on rawhide and using keyword to avoid the bugzappers. Moving to the upstream bug tracker, since this requires some dev effort beyond scope of fedora bug fixing. This is fixed upstream now: http://libvirt.org/git/?p=libvirt.git;a=commit;h=a7fb2258cac63b2420b51d5720a6e2b8734d818d But we should backport to fedora, since the error case here causes lots of confusion for virt-manager users. libvirt-0.7.1-18.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/libvirt-0.7.1-18.fc12 libvirt-0.7.1-18.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libvirt'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/libvirt-0.7.1-18.fc12 libvirt-0.7.1-18.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |