#ansible collection: netapp.ontap22.7.0

1 messages · Page 1 of 1 (latest)

drowsy notch
#

hello,
I am testing new ontap collection, we want to migrate from 21.18.0 -> 22.7.0
I have a problem with na_ontap_volume when creating DP volume.
it seems that it is no longer permissible to set security-style:

msg": "Error modifying volume test_vol calling: storage/volumes/xxxx: got {'message': 'Modification of the following fields: security-style not allowed for volumes of the type "Flexible volume - DP read-only volume".', 'code': '917628'}."

following are module args:

"module_args": {
"state": "present",
"name": "test_vol",
"vserver": "xxx",
"aggregate_name": "xxx",
"type": "DP",
"size": 1575,
"percent_snapshot_space": 35,
"size_unit": "mb",
"size_change_threshold": 0,
"policy": "default",
"encrypt": true,
"snapshot_policy": "none",
"space_guarantee": "none",
"volume_security_style": "unix",
"comment": "testalloc",
"wait_for_completion": true,
"hostname": "xxx",
"username": "xxx",
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"https": true,
"validate_certs": false,
"export_policy": "default",
"use_rest": "auto",

This is odd as it worked on the older collection version.

gray sonnet
#

you probably want to try the ansible channel... or whatever discord calls them

lime bluff
#

When creating a DP volume, the security style does not matter, since you're SnapMirroring to it, and the volume inherits the security style from the source volume