Bug 1252575
| Summary: | NetApp NFS drivers ignore nfs_oversub_ratio when reporting pool capacity | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Eric Harney <eharney> | ||||
| Component: | openstack-cinder | Assignee: | Eric Harney <eharney> | ||||
| Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 6.0 (Juno) | CC: | dmaley, eharney, fwissing, jobernar, lyarwood, mnapolis, nlevinki, pcaruana, rrivera, scohen, sgotliv, skinjo, tbarron, yeylon | ||||
| Target Milestone: | async | Keywords: | Reopened, ZStream | ||||
| Target Release: | 6.0 (Juno) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | openstack-cinder-2014.2.4-2.el7ost | Doc Type: | Rebase: Bug Fixes Only | ||||
| 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: | 1251115 | Environment: | |||||
| Last Closed: | 2016-03-03 19:31:17 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: | 1251115 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Comment 4
Sergey Gotliv
2015-09-27 13:40:00 UTC
*** Bug 1266552 has been marked as a duplicate of this bug. *** In a further twist this also appears to introduce another issue where by netapp copy offloading no longer works : ~~~ 2015-10-01 10:25:18.498 8329 INFO cinder.volume.drivers.netapp.nfs [req-35bbd494-5904-4e85-aac4-a9fa78e3c8d2 ce6b3728d50a48508e26431f6ae92a27 9e9127203fef452cb93863b211729ac6 - - -] Cloning image ca6b9576-8075-4741-a6bb-af985625b69a from cache 2015-10-01 10:25:19.057 8329 INFO cinder.volume.drivers.netapp.nfs [req-35bbd494-5904-4e85-aac4-a9fa78e3c8d2 ce6b3728d50a48508e26431f6ae92a27 9e9127203fef452cb93863b211729ac6 - - -] Image cloning unsuccessful for image ca6b9576-8075-4741-a6bb-af985625b69a. Message: need more than 2 values to unpack ~~~ Reported upstream [1], fixed in Liberty with another patch pending for stable/kilo [2], I'll take a look at getting this back into stable/juno for another test build now. Lee [1] https://bugs.launchpad.net/cinder/+bug/1490845 [2] https://review.openstack.org/#/c/225185/ Lee/Dave, According to the previous comment the customer has more issues with the NetApp driver than we expected. Please, communicate that bug to the NetApp because we'll have to backport more patches. NetApp folks backported additional patches to their github branch. IIUC, they did something very similar to what Lee proposed in the hotfix. NetApp still have to pass their official process in order to make these patches available. Let's see what happens first, NetApp release their patches or we get a feedback from the customer. Meantime, I will ask them to review Lee's work. This patch [1] has to be merged to close that bug. [1] https://code.engineering.redhat.com/gerrit/61706 Created attachment 1117408 [details]
Modified script by customer
This bugzilla mentioned that 2014.2.4-2 is fixed version. Fixed In Version: openstack-cinder-2014.2.4-2.el7ost But errata show us 2014.2.3-11 as fixed version. openstack-cinder-2014.2.3-11.el7ost.noarch.rpm 1.Details: https://goo.gl/SZEC06 2.Change Logs: https://goo.gl/Dk74cq What I would like to be informed is that: 1. Is there any reason about this difference? 2. What is the difference between 2 versions? FYI: customer confirmed that the 2014.2.4 fixed the issue and that version containing the necessary fixes. Please update as soon as possible. Rgds, code is in openstack-cinder-2014.2.4-2.el7ost.noarch automation passed https://rhos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/RHOS/view/RHOS6/job/rhos-jenkins-rhos-6.0-puddle-rhel-7.2-multi-node-packstack-neutron-ml2-vxlan-rabbitmq-tempest-git-all/12/ 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://rhn.redhat.com/errata/RHBA-2016-0353.html The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |