Use nfs_oversub_ratio when reporting pool capacity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
Gauvain Pocentek |
Bug Description
https:/
commit e52f304313efc69
Author: Tom Barron <email address hidden>
Date: Tue Apr 21 11:07:30 2015 -0400
Use nfs_oversub_ratio when reporting pool capacity
Currently NetApp NFS drivers do not make use of the nfs_oversub_ratio
configuration parameter to enable OpenStack administrators to report
anything other than the most conservative capacity and usage information
up to the scheduler
This commit:
* modifies the NetApp drivers to use the nfs_oversub_ratio as
* uses direct API with filers to gather capacity information rather
than stat and du commands
* brings our reporting of reserved percentage in line with the way
the scheduler actually makes use of this statistic
* simplifies and cleans up the way we gather and report pool statistics
Note that this fix addresses an in-the-field bug report from juno
and is intended to be the basis for backported fixes.
In kilo, a more general approach to overprovisioning using
was introduced via commit 3548a4bc9edbb26
In this newer approach, the scheduler computes "virtual" free space
rather than the driver reporting "apparent" free space.
This fix to bring NetApp NFS drivers into conformity with the generic
NFS driver is not intended as a substitute for introducing support
in our drivers for the newer approach to overprovisioning. Rather,
it is a bug-fix for an existing failure to honor the nfs_oversub_ratio.
DocImpact
Co-Authored-By: Dustin Schoenbrun <email address hidden>
Closes-bug: 1449620
Change-Id: Ic7b606b88f063b
Changed in openstack-manuals: | |
status: | Confirmed → In Progress |
We need to add the netapp driver as category for the nfs_oversub_ratio option in the flagmappings.