File 0001-netapp-fix-svm-scoped-user-startup-exception.patch of Package openstack-cinder
From f31665a2c9fa2811c122bd4df51c0e36fd5718ca Mon Sep 17 00:00:00 2001
From: Chuck Fouts <fchuck@netapp.com>
Date: Wed, 26 Jul 2017 10:43:04 -0400
Subject: NetApp: Fix SVM scoped user startup exception
Due to an issue discovered in certain versions of ONTAP the driver may
not start for a SVM scoped user. When this error occurs an exception is
raised, by the driver, that includes the text "User not permitted to
query Data ONTAP volumes". The bug fix resolves this issue for a SVM
scoped user that has the correct role assigned (i.e. vsadmin).
Change-Id: Ic000ba6694eca72ae78437f7d773277fd67b0395
Closes-Bug: #1705738
(cherry picked from commit 158ccc7836f1aad0514767d53c9805e681463f4b)
(cherry picked from commit bf4e53c7e62c3c23d33999fd1f53b0c9fc6ca343)
---
cinder/volume/drivers/netapp/dataontap/utils/capabilities.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cinder/volume/drivers/netapp/dataontap/utils/capabilities.py b/cinder/volume/drivers/netapp/dataontap/utils/capabilities.py
index 3df17f3..c1af5e0 100644
--- a/cinder/volume/drivers/netapp/dataontap/utils/capabilities.py
+++ b/cinder/volume/drivers/netapp/dataontap/utils/capabilities.py
@@ -44,7 +44,7 @@ SSC_API_MAP = {
'netapp_dedup',
'netapp_compression',
],
- ('volume', 'show', 'volume-get-iter'): [],
+ ('volume', '*show', 'volume-get-iter'): [],
}
--
cgit v1.1