LVM Sparse Volumes broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Description
===========
Instance creation with LVM Sparse volumes as root disk is broken.
Steps to reproduce
==================
Configure nova-compute to use LVM with sparse volumes:
Add to /etc/nova/nova.conf and restart nova-compute:
[libvirt]
images_type=lvm
images_
sparse_
Schedule an instance with an image that is bigger than 64 MB.
Expected result
===============
Instance is created successfully.
Actual result
=============
Error while writing the image to the logical volume because the Image is bigger than the preallocated 64 MB volume.
Please see attached log file.
Environment
===========
OpenStack Release: Pike
Nova Version: 16.0.3 (CentOS 7 RPM)
Hypervisor Type: Libvirt + KVM
Storage Type: LVM (Sparse)
Networking Type (not applicable): Neutron with LinuxBridge
References
==========
This bug was already reported to Mirantis OpenStack: https:/
tags: | added: libvirt openstack-version.pike volumes |
Attached nova-compute log.