← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1740025] [NEW] LVM Sparse Volumes broken

 

Public bug reported:

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_volume_group=<volume-group>
sparse_logical_volumes=true

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://bugs.launchpad.net/mos/+bug/1591084

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1740025

Title:
  LVM Sparse Volumes broken

Status in OpenStack Compute (nova):
  New

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_volume_group=<volume-group>
  sparse_logical_volumes=true

  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://bugs.launchpad.net/mos/+bug/1591084

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1740025/+subscriptions


Follow ups