Skip to content

Commit 53c3911

Browse files
authored
Merge pull request #1398 from rackerlabs/quiet-cinder
chore(cinder): quiet down the NetApp driver from complaining
2 parents 5b86ff8 + d75075e commit 53c3911

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

python/cinder-understack/cinder_understack/dynamic_netapp_driver.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,14 @@ def _create_svm_lib(self, svm_name: str) -> NetAppMinimalLibrary:
185185
# now set the backend configuration name
186186
CONF.set_override("volume_backend_name", child_grp, group=child_grp)
187187
# return an instance of the library scoped to one SVM
188+
# netapp_mode=proxy is necessary to quiet the driver from reporting that
189+
# its not
188190
return NetAppMinimalLibrary(
189-
self.DRIVER_NAME, "NVMe", configuration=child_cfg, **self._init_kwargs
191+
self.DRIVER_NAME,
192+
"NVMe",
193+
configuration=child_cfg,
194+
netapp_mode="proxy",
195+
**self._init_kwargs,
190196
)
191197

192198
@staticmethod

0 commit comments

Comments
 (0)