#na_ontap_kerberos_realm module not idempotent?

1 messages · Page 1 of 1 (latest)

tulip musk
#

Hi team,

Rerun of Ansible playbook for Kerberos realm config failed with error "msg": "Error creating Kerberos Realm configuration xxxxxxxxxx: NetApp API failed. Reason - 13130:duplicate entry"}.

Isn't the module idempotent?

safe girder
#

It should be. The only way you’ll get a second create is if the get api return no results. Could your turn on turn on the api trace and send me the results

tulip musk
#

Sure Chris! Let me get you the details

tulip musk
#

Hi Chris, looks like ZAPI is returning zero records causing the failure

#

We have REST support starting from 9.13.1. It will be good enable REST for this module

safe girder
#

I have story 6374 open for adding this feature