Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1251115

Summary: NetApp NFS drivers ignore nfs_oversub_ratio when reporting pool capacity
Product: Red Hat OpenStack Reporter: Pablo Caruana <pcaruana>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0 (Juno)CC: eharney, scohen, sgotliv, ssainkar, yeylon
Target Milestone: z1Keywords: ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-2015.1.0-4.el7ost Doc Type: Bug Fix
Doc Text:
Previously, NetApp NFS drivers, both cDOT and 7mode, ignored nfs_oversub_ratio when reporting pool capacity. These drivers did 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. Since these drivers inherit from the generic NFS driver, where nfs_oversub_ratio can be configured, they allowed administrators to configure over-subscription, but did not actually implement it. This fix now uses nfs_oversub_ratio when reporting pool capacity, and: -modifies the NetApp drivers to use the nfs_oversub_ratio as documented -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
Story Points: ---
Clone Of:
: 1252575 (view as bug list) Environment:
Last Closed: 2015-09-03 17:56:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1236223, 1252575    

Description Pablo Caruana 2015-08-06 13:13:30 UTC
Description of problem:
this is a backport request for an upstream fix that is affecting current user for OSP version like Juno.

https://bugs.launchpad.net/cinder/+bug/1449620

Currently NetApp NFS drivers - both cDOT and 7mode - do not make use of the nfs_oversub_ratio configuration parameter to enable OpenStack administrators to configure back ends to report anything other than the most conservative capacity and usage information up to the scheduler. Since these drivers inherit from the generic NFS driver, where nfs_oversub_ratio can be configured, they allow administrators to configure over-subscription, but do not actually implement it.

Note that this issue occurs at least as early as juno since we have a customer case reporting this as broken in that release. It is a problem-in-the field issue with nfs_oversub_ratio, not a request that NFS or NetApp drivers support the more general max_oversubscription_ratio functionality introduced in kilo.

Comment 7 Yogev Rabl 2015-09-03 09:13:20 UTC
verified in 
openstack-cinder-2015.1.0-5.el7ost.noarch
python-cinderclient-1.2.1-1.el7ost.noarch
python-cinder-2015.1.0-5.el7ost.noarch

Comment 8 errata-xmlrpc 2015-09-03 17:56:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2015:1727