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.
I understand, that for DP volume security-style might not matter, but it used to be possible to use the same playbook to allocate both source and destination.
If i have to eliminate security-style from module arguments, then i need separate tasks for source and destination