Skip to content

Commit 429f839

Browse files
committed
fix(cinder-understack): fix incorrect number of parameters
Fixes the following error: 2025-08-29 20:50:10.174 7 ERROR cinder.api.v3.attachments File "/var/lib/openstack/lib/python3.10/site-packages/cinder_understack/dynamic_netapp_driver.py", line 447, in create_export 2025-08-29 20:50:10.174 7 ERROR cinder.api.v3.attachments return lib.create_export(context, volume, connector) 2025-08-29 20:50:10.174 7 ERROR cinder.api.v3.attachments 2025-08-29 20:50:10.174 7 ERROR cinder.api.v3.attachments File "/var/lib/openstack/lib/python3.10/site-packages/cinder/volume/volume_utils.py", line 1563, in trace_method_logging_wrapper 2025-08-29 20:50:10.174 7 ERROR cinder.api.v3.attachments return f(*args, **kwargs) 2025-08-29 20:50:10.174 7 ERROR cinder.api.v3.attachments 2025-08-29 20:50:10.174 7 ERROR cinder.api.v3.attachments TypeError: NetAppNVMeStorageLibrary.create_export() takes 3 positional arguments but 4 were given
1 parent 866eb5f commit 429f839

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cinder-understack/cinder_understack/dynamic_netapp_driver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def get_volume_stats(self, refresh=False):
444444
def create_export(self, context, volume, connector):
445445
"""Create export for volume."""
446446
with self._volume_to_library(volume) as lib:
447-
return lib.create_export(context, volume, connector)
447+
return lib.create_export(context, volume)
448448

449449
def ensure_export(self, context, volume):
450450
"""Ensure export for volume."""

0 commit comments

Comments
 (0)