Powerscale.FileSystem Path goes to "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", not able to fetch

Hi Team,

i was able to successfully create a FileSystem using module which is not exist only
(eg: if nothing there it will create 1 , )
(eg: if 1 and 2 there it will create 3 , )
(eg: if 1, 2, 3 there it will create 4 , )

#creating /ifs/cluster_name/MA/DEV/FOUMAD0031301
#creating /ifs/cluster_name/MA/DEV/FOUMAD0031302
#creating /ifs/cluster_name/MA/DEV/FOUMAD0031303

But i am not able to find the path which was created even with register option , it is “VALUE_SPECIFIED_IN_NO_LOG_PARAMETER”
HOw i will get the path which created

  • name: “Create Source Filesystem For DEV”
    dellemc.powerscale.filesystem:
    onefs_host: “{{ ip_address }}”
    port_no: “8080”
    verify_ssl: false
    api_user: “{{ api_user }}”
    api_password: “{{ api_password }}”
    path: “/ifs/{{ cluster_name }}/{{ region }}/DEV/{{ division }}{{ region }}{{ env }}{{ ‘{:>05}’.format(app_id) }}{{ ‘%02d’ | format(item) }}”
    owner:
    name: ‘{{ api_user }}’
    provider_type: ‘ads’
    state: “present”
    register: quota_output_dev_source
    when: not (quota_output_dev_source.changed | d(false))
    loop: ‘{{ list_of_sequence }}’

vars

Hi,

i was able to successfully create a FileSystem using module which is
not exist only
(eg: if nothing there it will create 1 , )
(eg: if 1 and 2 there it will create 3 , )
(eg: if 1, 2, 3 there it will create 4 , )

       #creating /ifs/cluster_name/MA/DEV/FOUMAD0031301
       #creating /ifs/cluster_name/MA/DEV/FOUMAD0031302
       #creating /ifs/cluster_name/MA/DEV/FOUMAD0031303

But i am not able to find the path which was created even with
register option , it is "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"

That's because the dellemc.powerscale.filesystem module declares `path`
as `no_log=True` in its argument specification:

https://github.com/dell/ansible-powerscale/blob/1.9.0/plugins/modules/filesystem.py#L1565

This tells ansible-core that the value of `path` is a secret that
should not be logged or accidentally returned. If you want this to
change, you need to ask the collection to change that (for example by
creating an issue in https://github.com/dell/ansible-powerscale/issues).

You can wrk around it by re-composing the path manually. Alternatively
you could first create a datastructure (list of dicts) which also
contains the path, and then loop over that to call the
dellemc.powerscale.filesystem module. If you then register the result,
you can get hold of the path with the `item` element of the return
value.

Best regards,
Felix Fontein

Thanks ,

I have register a case
https://github.com/dell/ansible-powerscale/issues/54