#na_ontap_volume_clone with qos policy

1 messages · Page 1 of 1 (latest)

viral crater
#

I'm hitting an error with this module when creating a clone and specifying a qos policy.

collection version: netapp.ontap: 22.5.0
NetApp Release 9.11.1P7

Module documentation for this version: https://docs.ansible.com/ansible/devel/collections/netapp/ontap/na_ontap_volume_clone_module.html
says to include qos parameters like this
qos_policy_group_name: "some_qos_policy"

When I include a qos policy I'm getting error
"msg": "Error creating volume clone new_clone: calling: storage/volumes: got {'message': 'Specifying a value for \"qos.policy.name\" is not valid for a volume FlexClone creation.', 'code': '918247'}.",

The API reference show it as an example, but it must not be a valid option when creating a clone?
"qos": {
"policy": {
"max_throughput_iops": 10000,
"max_throughput_mbps": 500,
"min_throughput_iops": 2000,
"min_throughput_mbps": 500,
"name": "performance",
"uuid": "1cd8a442-86d1-11e0-ae1c-123478563412"
}
}

Can you tell me if this is a module bug, or if I'm doing something wrong?

compact jetty
#

That message is coming from ONTAP i don't think you can make a flex clone and specify a qos policy

viral crater
#

Okay, so this variable will need to be removed from the na_ontap_volume_clone_module?
qos_policy_group_name | The qos-policy-group-name which should be set for volume clone.
string

lofty rover