thin lvm volume create fails

Bug #1249782 reported by Jon Bernard
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Giulio Fidente
Havana
Fix Released
Undecided
Unassigned

Bug Description

When the thin pool is created of a reasonable size with:

    https://review.openstack.org/#/c/54833/

The driver reports available capacity (or free space) as the free space of the volume group, and not the size of the thin pool. This results in available capacity of almost none, which causes volume creation (for thin lvm volumes) to fail.

Jon Bernard (jbernard)
Changed in cinder:
assignee: nobody → Jon Bernard (jbernard)
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/56091

Changed in cinder:
status: New → In Progress
Eric Harney (eharney)
tags: added: havana-backport-potential
tags: added: drivers lvm
Changed in cinder:
assignee: Jon Bernard (jbernard) → Giulio Fidente (gfidente)
Jon Bernard (jbernard)
Changed in cinder:
assignee: Giulio Fidente (gfidente) → Jon Bernard (jbernard)
Changed in cinder:
assignee: Jon Bernard (jbernard) → Giulio Fidente (gfidente)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/59698
Committed: http://github.com/openstack/cinder/commit/1679acd53d1f0c330edf583afe8b347a7304499c
Submitter: Jenkins
Branch: master

commit 1679acd53d1f0c330edf583afe8b347a7304499c
Author: Giulio Fidente <email address hidden>
Date: Tue Dec 3 13:44:20 2013 +0100

    Returns thin pool free space calculated from actual usage

    This change adds a hidden method which calculates the thin
    pool free space from the data_percent LVM options and reports it
    accordingly in _update_volume_stats()

    Change-Id: Id6a69644505ca10811db458ea90ed10f643054b2
    Closes-Bug: 1249782

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/60948

Thierry Carrez (ttx)
Changed in cinder:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: icehouse-2 → 2014.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/havana)

Reviewed: https://review.openstack.org/60948
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=4c6a854f6adbad0efb9ca137bd5d7baaf5f1fb5a
Submitter: Jenkins
Branch: stable/havana

commit 4c6a854f6adbad0efb9ca137bd5d7baaf5f1fb5a
Author: Giulio Fidente <email address hidden>
Date: Tue Dec 3 13:44:20 2013 +0100

    Returns thin pool free space calculated from actual usage

    This change adds a hidden method which calculates the thin
    pool free space from the data_percent LVM options and reports it
    accordingly in _update_volume_stats()

    Change-Id: Id6a69644505ca10811db458ea90ed10f643054b2
    Closes-Bug: 1249782
    (cherry picked from commit 1679acd53d1f0c330edf583afe8b347a7304499c)

tags: added: in-stable-havana
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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