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
Reviewed: https:/ /review. openstack. org/509780 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=eef24cfce80 0c601e5e1e7a21e 026ad9b03d4ed1
Committed: https:/
Submitter: Zuul
Branch: driverfixes/ocata
commit eef24cfce800c60 1e5e1e7a21e026a d9b03d4ed1
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 capacity_ gb as expected
reliably and efficiently track provisioned_
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 capacity_ gb in the scheduler.
calculation of the provisioned_
Change-Id: Ic106dbcae8ceaa c265b710756ab18 74e445ca826 a7772dc0ab22826 5dc83344bc) 95993e42539fd2c 689b179ee6) tests/unit/ volume/ drivers/ netapp/ dataontap/ test_nfs_ 7mode.py
Closes-Bug: #1714209
(cherry picked from commit 42b8b7fe60ffdd7
(cherry picked from commit 558571b44d9cd21
Conflicts:
cinder/