thin lvm volume create fails

Bug #1249782 reported by Jon Bernard on 2013-11-10
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Giulio Fidente
Havana
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) on 2013-11-10
Changed in cinder:
assignee: nobody → Jon Bernard (jbernard)

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

Changed in cinder:
status: New → In Progress
Eric Harney (eharney) on 2013-11-12
tags: added: havana-backport-potential
tags: added: drivers lvm
Changed in cinder:
assignee: Jon Bernard (jbernard) → Giulio Fidente (gfidente)
Jon Bernard (jbernard) on 2013-12-03
Changed in cinder:
assignee: Giulio Fidente (gfidente) → Jon Bernard (jbernard)
Changed in cinder:
assignee: Jon Bernard (jbernard) → Giulio Fidente (gfidente)

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
Thierry Carrez (ttx) on 2014-01-22
Changed in cinder:
milestone: none → icehouse-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-2 → 2014.1

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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers