Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 866481
Summary: | lvcreate with allocation=0 fails, which virt-manager does by default | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Schindler <pschindl> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | awilliam, berrange, clalancette, crobinso, hbrock, itamar, jforbes, jyang, laine, libvirt-maint, robatino, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-22 19:33:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 752661, 752665 |
Description
Petr Schindler
2012-10-15 13:25:54 UTC
I wouldn't call this a blocked: while LVM is the preferred and default storage for the host machine, most people don't use it to provision virt storage on the host, and it's not the default virt-manager config. Also it's quite easy to work around: just set a non-zero 'allocation' in the UI. The root issue here is that lvcreate doesn't like allocation=0 which is what virt-manager obviously does by default. I think this is really a libvirt issue, it can easily turn 0 into a minimal value to make lvcreate happy and still give API users the closest approximation to what they requested. I've sent a libvirt patch upstream that fixes this: https://www.redhat.com/archives/libvir-list/2012-October/msg00857.html libvirt-0.10.2.1-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/libvirt-0.10.2.1-1.fc18 Package libvirt-0.10.2.1-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libvirt-0.10.2.1-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-17097/libvirt-0.10.2.1-1.fc18 then log in and leave karma (feedback). libvirt-0.10.2.1-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/libvirt-0.10.2.1-2.fc18 The update was pushed stable, closing (Bodhi was broken for a while, this is me doing my Bodhi impersonation). Petr, do re-open if this is not actually fixed. *** Bug 872162 has been marked as a duplicate of this bug. *** |