From d75075ea33a2242c01034a0aec4b820b1c9d3eb2 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Thu, 13 Nov 2025 09:32:01 -0600 Subject: [PATCH] chore(cinder): quiet down the NetApp driver from complaining Since we're wrapping it, we need to pass the parameter they pass to the internal classes to let them know they've been initialized correctly. --- .../cinder_understack/dynamic_netapp_driver.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python/cinder-understack/cinder_understack/dynamic_netapp_driver.py b/python/cinder-understack/cinder_understack/dynamic_netapp_driver.py index b9d899691..d601e1ce1 100644 --- a/python/cinder-understack/cinder_understack/dynamic_netapp_driver.py +++ b/python/cinder-understack/cinder_understack/dynamic_netapp_driver.py @@ -185,8 +185,14 @@ def _create_svm_lib(self, svm_name: str) -> NetAppMinimalLibrary: # now set the backend configuration name CONF.set_override("volume_backend_name", child_grp, group=child_grp) # return an instance of the library scoped to one SVM + # netapp_mode=proxy is necessary to quiet the driver from reporting that + # its not return NetAppMinimalLibrary( - self.DRIVER_NAME, "NVMe", configuration=child_cfg, **self._init_kwargs + self.DRIVER_NAME, + "NVMe", + configuration=child_cfg, + netapp_mode="proxy", + **self._init_kwargs, ) @staticmethod