Closed ClaireHayard closed 2 years ago
Hi Claire, I ran the same code multiple times (oneview_appliance_device_snmp_v3_users) and I am not running in to any errors. Below is the output I got. TASK [hpe.oneview.oneview_appliance_device_snmp_v3_users : Creating the SNMPv3 user for automation] **** ok: [localhost -> localhost]
TASK [hpe.oneview.oneview_appliance_device_snmp_v3_users : Creating another SNMPv3 user for automation] **** ok: [localhost -> localhost]
PLAY RECAP ***** localhost : ok=8 changed=3 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Please let me know more details to help you on this.
Hello @alisha-k-kalladassery,
What information do you need ?
Hi Claire,
This issue is fixed and should be available in oneview v7.0 version.
Hello @alisha-k-kalladassery,
I tested the code again with the new provider version and it doesn't end with an error however we still have an idempotency issue it seems.
TASK [create the user] *********************************************************
changed: [localhost] => (item={'username': 'user1', 'security_level': 'Authentication and privacy', 'authentication_protocol': 'SHA1', 'authentication_passphrase': '********', 'privacy_protocol': 'AES-128', 'privacy_passphrase': '*************'})
PLAY RECAP *********************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
TASK [create the user] *********************************************************
changed: [localhost] => (item={'username': 'user1', 'security_level': 'Authentication and privacy', 'authentication_protocol': 'SHA1', 'authentication_passphrase': '********', 'privacy_protocol': 'AES-128', 'privacy_passphrase': '*************'})
PLAY RECAP *********************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Reopening this as there is an issue with the fix
Hi Claire,
This issue is fixed and should be available in oneview v7.1 version.
Scenario/Intent
Hello,
I am creating SNMPv3 users via an Ansible task however running the same code twice with the same user input leads to an error.
main.yml
Environment Details
Expected Result
We have idempotency when we run the same playbook with the same SNMPv3 user input data multiple times.
Actual Result