#Gather volume clone info?

1 messages · Page 1 of 1 (latest)

frosty cliff
#

I'm using the na_ontap_rest_info module and I'm trying to find clones that hang off a volume. Previously I was able to use the storage/volumes/snapshots subset and look for busy snapshots but this subset isn't available anymore. I also tried using the na_ontap_rest_cli module and just run a vol clone show command but I'm connecting to a vserver directly and I get an "API not found" error "code: 3". Is there any way to get this info from the vserver? We need to keep the access limited to a vserver for security reasons.

severe aspen
frosty cliff
#

I switched Ansible controllers and installed the modules fresh and it seems to be working again, thanks! There was a pretty big time gap since the last time I had used that playbook, so something must've went awry.
I still can't run a CLI command using the CLI module while connecting to a vserver though, do you know if its supposed to work with a vserver? Our storage admin would still like to use it for reporting and edge cases, vol clone show for example has easily usable output.

inland jay
#

whats the command is used to fetch clone in rest_cli
I hope this should work
- name: version na_ontap_rest_cli: <<: *login command: 'vol/clone' verb: 'GET'