Cinder scheduler broken with lvm mirroring enabled

Bug #1269964 reported by Vish Ishaya on 2014-01-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
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)

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

Changed in cinder:
assignee: Vish Ishaya (vishvananda) → John Griffith (john-griffith)

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) on 2014-03-05
Changed in cinder:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers