#OnTap REST API does not support rehosting volumes
1 messages · Page 1 of 1 (latest)
it's already there, in /api/private/cli/volume/rehost. This is even the example they used in the documentation 🙂
I guess it will be public before 9.19.1 hits, which is still 2 years away
I'm confused. If I try to do a rehost using the na_ontap_volume Ansible module (by specifying "vserver" and "from_vserver"), it gives me the error that REST API does not support rehosting volumes, unless I specify "use_rest: never", at which point it falls back to ZAPI and gripes about it.
If the API is there, then why doesn't the module support it? Do I need an updated version of the collection maybe? I'm running 22.12.0, which I thought was pretty current (4 months old).
probably because it's a private API and the ONTAPI variant is public and still available, so they prefer the public one. But that's just my guess...
and yeah, regularly updating the libraries is generally a good idea during the transition from ONTAPI to REST, as there'll be changes in every version
(no idea if there's anything newer than 22.12.0 though)