Bug 1251115 - NetApp NFS drivers ignore nfs_oversub_ratio when reporting pool capacity
Summary: NetApp NFS drivers ignore nfs_oversub_ratio when reporting pool capacity
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 6.0 (Juno)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: z1
: 7.0 (Kilo)
Assignee: Eric Harney
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On:
Blocks: 1236223 1252575
TreeView+ depends on / blocked
 
Reported: 2015-08-06 13:13 UTC by Pablo Caruana
Modified: 2019-08-15 05:04 UTC (History)
5 users (show)

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
Clone Of:
: 1252575 (view as bug list)
Environment:
Last Closed: 2015-09-03 17:56:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 180199 0 None None None Never
Red Hat Product Errata RHBA-2015:1727 0 normal SHIPPED_LIVE openstack-cinder bug fix advisory 2015-09-03 21:56:21 UTC

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


Note You need to log in before you can comment on or make changes to this bug.