| Summary: | RFE: allow renaming of default pool | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | Subhendu Ghosh <sghosh> |
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED UPSTREAM | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | CC: | berrange, bsarathy, crobinso, cwei, dallan, dyuan, eblake, fche, ghelleks, jamescape777, jwu, jyang, mzhan, xen-maint, zpeng |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-29 16:29:49 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 756082 | ||
|
Description
Subhendu Ghosh
2011-01-27 04:34:39 UTC
IMHO this should be WONTFIX, it's by design somehow, if you want to get the XML away, should use "virsh pool-undefine" to undefine it, and if we fix it with invoking "virStoragePoolUndefine" in "virStoragePoolDelete", (is it a good idea? ) the applications which use libvirt storage APIs perhaps will be affected. Subhendu, this is indeed correct behavior. pool-delete removes (if possible) the underlying resource for the pool, in your case, the directory. pool-undefine will remove the pool definition but leave the underlying resource alone. There actually is no default pool as far as libvirt is concerned. libvirt will let you undefine all pools. virt-manager creates the pool called default. I'm not sure if virt-manager will let you change the name, but I change what it points to on my system. Cole can the default pool be renamed? There isn't any way to tell virt-manager to not use the pool named 'default'. You can create any pool you want named 'default' and virt-manager will use it though. It should be configurable though. I've moved it to virt-manager as an RFE to allow the default pool to be renamed. Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as an exception or blocker. It has been moved to RHEL 6.2 since it is a FutureFeature request. Not done upstream yet and would be an non-trivial backport, so deferring to 6.3 *** Bug 649373 has been marked as a duplicate of this bug. *** Upstream now allows you to rename existing pools, so if you wanted to use a new pool as 'default', just rename it to 'default'. While 'default' isn't really descriptive, it's been in use for a while now, and wiring up virt-manager to use a different named pool as the default storage location is more work than it's worth IMO since it's just cosmetic. |