dell / ansible-datadomain

Ansible collection for DataDomain
GNU General Public License v3.0
5 stars 1 forks source link

nfs client-list not working #4

Closed smnmtzgr closed 1 year ago

smnmtzgr commented 1 year ago

Trying to use the NFS modules.

get the following error when setting client-list to "10.0.0.5 10.0.0.6". E.g.

    - name: Create an export, optionally add clients
      dellemc.datadomain.nfs:
        state: create
        export-name: /data/col1/sap
        path: /data/col1/sap
        client-list: 10.0.0.5 10.0.0.6
        export-options: 'rw,no_root_squash,no_all_squash,secure'

The error:

fatal: [dd]: FAILED! => {"changed": false, "msg": {"changed": true, "failed": true, "invocation": {"module_args": {"client-list": "10.0.0.5 10.0.0.6", "export-name": "/data/col1/sap", "export-options": "rw,no_root_squash,no_all_squash,secure", "host": "dd", "new-export-name": null, "option-list": null, "password": null, "path": "/data/col1/sap", "port": 22, "private_key": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "state": "create", "username": "test", "version": null}}, "msg": "\n**** Failed to validate client list, duplicate client entry specified: 10.0.0.5\n\n"}}

I also get an error when not setting client-list (following the documentation it should be optional). Can you please check whats going wrong here?

smnmtzgr commented 1 year ago

ping: @kshirs2 / @gk4delltech

kshirs2 commented 1 year ago

Hello Simon, We will try to implement the fix as soon as possible. Thank you.

kshirs2 commented 1 year ago

Hello, We fixed the NFS module. Please check and let us know if you see any issue.