Start a Conversation

Unsolved

Closed

G

41 Posts

194

May 12th, 2023 09:00

Powescale Ansible: Delete/Remove not Idempotent

Hi @jennifer_john 

I am running through all of the modules that I've used to Delete/Remove the components that they are creating by changing state to "absent".

It does not seem like any of them can be run more than once.  If I do, instead of getting an "ok" I get an AEC_NOT_FOUND error.

Because of this, I cannot run my playbook multiple times without it erroring out.

I'm pretty sure this is happening with every module, but if you need some to check, here are a few:

  • Access Zone
  • Snapshots
  • Quota
  • NFS Exports
  • SyncIQ

Thanks.
glenn.

1 Rookie

 • 

79 Posts

May 20th, 2023 12:00

Hi @gdny 

For access zone, the delete workflow is currently not supported through ansible

I have tried the idempotency for delete for the mentioned modules and i could not reproduce the issue. apart from the error on synciq policy that the delete job is is progress. I have reached out to you over email to have a look at your environment. 

Thanks,

Jennifer.

No Events found!

Top