ansible-collections / netapp.ontap

Ansible collection to support NetApp ONTAP configuration.
https://galaxy.ansible.com/netapp/ontap
GNU General Public License v3.0
51 stars 34 forks source link

Configure/provision S3 buckets of type nas #153

Closed freedge closed 1 year ago

freedge commented 1 year ago

Summary

ONTAP 9.12.1 supports S3 buckets with type=nas. It would be nice if the collection would support

Component Name

netapp.ontap.na_ontap_name_mappings

Additional Information

mohanrajb9 commented 1 year ago

tracked internally with DEVOPS-6193.

carchi8py commented 1 year ago

This was fixed as part of 22.6.0

freedge commented 1 year ago

netapp.ontap.na_ontap_name_mappings

is not changed so the name mapping cannot be done for s3_unix and s3_win.

type=nas was added but -nas-path option is not present. I don't think this is fixed

mohanrajb9 commented 1 year ago

sorry, we will add the choicess3_unix, s3_win to direction option in na_ontap_name_mappings module. Thanks.

freedge commented 1 year ago

thanks. Without nas-path it's impossible to use type=nas, the module fails with

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: NoneType: None
fatal: [nasim01a -> localhost]: FAILED! => {"changed": false, "msg": "Error creating S3 bucket myvol: calling: protocols/s3/buckets: got {'message': 'Parameter \"nas_path\" must be present for creating \"nas\" bucket.', 'code': '92406026'}."}