#How do I disable ZAPI warning msg?

1 messages · Page 1 of 1 (latest)

lavish kiln
#

Sometimes it's good to disable ZAPI warning, as it clutters the log output. Warnings like below is long. Especially when need to run against hundreds of volumes.

[WARNING]: Falling back to ZAPI because of unsupported option(s) or option value(s)
"schedule" in REST require (9, 11, 1)
[WARNING]: With version 22.0.0 ONTAPI (ZAPI) has been deprecated. The final ONTAP version to
support ZAPI is ONTAP 9.12.1.  ZAPI calls in these modules will continue to work for ONTAP
versions that supports ZAPI.  You can update your playbook to use REST by adding use_rest:
always to your playbook.  More information can be found at: https://github.com/ansible-
collections/netapp.ontap
[WARNING]: option: source_path is deprecated, please use source_endpoint:path
[WARNING]: option: destination_path is deprecated, please use destination_endpoint:path

earnest saffron
#

Is this something that can't be done with REST? Most module if you switch

Use_rest: always

It should for the most part just work with out having to modify anything in the playbook

We can look at adding an option to disable the warning though