Comment 7 for bug 1714209

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (driverfixes/ocata)

Reviewed: https://review.openstack.org/509780
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=eef24cfce800c601e5e1e7a21e026ad9b03d4ed1
Submitter: Zuul
Branch: driverfixes/ocata

commit eef24cfce800c601e5e1e7a21e026ad9b03d4ed1
Author: Goutham Pacha Ravi <email address hidden>
Date: Wed Sep 13 23:54:08 2017 -0600

    NetApp ONTAP: Fix reporting of provisioned_capacity_gb

    The ONTAP drivers in Cinder ("7mode" and "cmode") cannot
    reliably and efficiently track provisioned_capacity_gb as expected
    by the Cinder scheduler.

    The driver authors originally assumed that provisioned_capacity_gb
    is consumed space on the backend. This results in miscalculation of
    over subscription in the Cinder scheduler.

    The fix adopted here is to remove this wrong reporting and rely on
    calculation of the provisioned_capacity_gb in the scheduler.

    Change-Id: Ic106dbcae8ceaac265b710756ab1874e445ca826
    Closes-Bug: #1714209
    (cherry picked from commit 42b8b7fe60ffdd7a7772dc0ab228265dc83344bc)
    (cherry picked from commit 558571b44d9cd2195993e42539fd2c689b179ee6)
    Conflicts:
     cinder/tests/unit/volume/drivers/netapp/dataontap/test_nfs_7mode.py