Cinder netapp driver - Insufficient privileges gathering stats
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Confirmed
|
High
|
MOS Cinder | |||
9.x |
Won't Fix
|
High
|
Max Yatsenko |
Bug Description
* Detailed bug description:
Cinder-volume module is spamming the log /var/log/
2017-03-16 07:36:30.013 5410 ERROR cinder.
2017-03-16 07:36:30.013 5410 ERROR cinder.
2017-03-16 07:36:30.013 5410 ERROR cinder.
....
....
2017-03-16 07:36:30.013 5410 ERROR cinder.
2017-03-16 07:36:30.013 5410 ERROR cinder.
2017-03-16 07:36:30.013 5410 ERROR cinder.
* Steps to reproduce:
- Configure NFS backend for cinder services on Mitaka (Mirantis 9.1) using cinder_netapp FUel plugin [2]
- Create the netapp user required for this integration using netapp documentation [3]
- Start cinder services
[2] https:/
Expected results:
No errors are show in the /var/log/
Actual result:
Log /var/log/
Reproducibility:
No action is needed. Log display the error on a rate of 1 per minute.
Workaround:
None
* Impact:
Cinder volume log get full of improper error messages.
* Description of the environment:
- Operation system: Unbuntu 14.04 trusty (MOS 9.1)
- Versions of components: cinder versions 2:8.1.0-
- Reference architecture: cinder using NFS as backend (netapp driver)
- Network model: N/A
- Related projects installed: N/A
* Additional information:
After reporting this problem to NetApp support, they said is a known bug and patch is now released [4]
Problem is that the patch seems to apply only to Ocata, maybe nobody else report it with Mitaka yet.
tags: | added: area-cinder |
Reviewed: https:/ /review. fuel-infra. org/32377
Submitter: Pkgs Jenkins <email address hidden>
Branch: 10.0/newton
Commit: 5073b04bf31e59d 57f43ec92a2a59d 0f5455c6a6
Author: Jose Porrua <email address hidden>
Date: Tue Mar 28 14:23:50 2017
NetApp: Track SVM and Cluster scoped credentials
This fix avoids logging an exception when a user
chooses to use an SVM scoped account. cDOT
driver requires cluster scoped privileges to
gather backend statistics, performance
counters, etc. These APIs are not available for
SVM scoped credentials.
Change-Id: If2e3bae98db225 ff0cfc9e868eaae ef088135562 f90b1a3a71ec46f a56008aaee)
Closes-Bug: #1673848
(cherry picked from commit 0f9b6e9ac2ddfd4