Cinder scheduler broken with lvm mirroring enabled

Bug #1269964 reported by Vish Ishaya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
John Griffith

Bug Description

The status reporting in the lvm driver for cinder volume incorrectly reports free capacity. This is due to a couple of issues:

a) the number of mirrors isn't taken into account
b) there are some pathological cases where a simple division by total mirrors isn't sufficient because all mirrors must be on separate physical volumes.

Changed in cinder:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Vish Ishaya (vishvananda)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/67350

Changed in cinder:
assignee: Vish Ishaya (vishvananda) → John Griffith (john-griffith)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/67579
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=51099632dfc979c57133a69e4c68cdad3fe47008
Submitter: Jenkins
Branch: master

commit 51099632dfc979c57133a69e4c68cdad3fe47008
Author: Vishvananda Ishaya <email address hidden>
Date: Fri Jan 17 14:07:43 2014 -0700

    Fix up calculating space info for mirrored volumes

    The status reporting in the lvm driver for cinder volume incorrectly
    reports free capacity. This is due to a couple of issues:
      a) the number of mirrors isn't taken into account
      b) there are some pathological cases where a
         simple division by total mirrors isn't sufficient
         because all mirrors must be on separate physical volumes.

    Co-authored-by: Vishvananda Ishaya <email address hidden>
    Co-authored-by: John Griffith <email address hidden>

    Closes-Bug: 1269964
    Change-Id: I65e16b24367b4093a52c1c52d895fb58ef6a29ff

Changed in cinder:
status: In Progress → Fix Committed
Changed in cinder:
milestone: none → 2013.2.2
milestone: 2013.2.2 → none
tags: added: havana-backport
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.