ansible-collections / netapp.ontap

Ansible collection to support NetApp ONTAP configuration.
https://galaxy.ansible.com/netapp/ontap
GNU General Public License v3.0
51 stars 34 forks source link

na_ontap_volume error in 22.8.0 #184

Closed mamoep closed 7 months ago

mamoep commented 7 months ago

Summary

Using na_ontap_volume to modify a volume is broken in 22.8.0 with ONTAP 9.11.1. Reverting collection version to 22.7.0 fixes the issue.

Component Name

na_ontap_volume

Ansible Version

Ansible 2.9

ONTAP Collection Version

22.8.0

ONTAP Version

NetApp Release 9.11.1P8: Fri Apr 07 00:02:50 UTC 2023

Playbook

- name: Set volume size
    na_ontap_volume:
      state: present
      size_change_threshold: 0
      size_unit: b
      size: "{{ volume_target_size }}"
      name: "{{ volume_name }}"
      vserver: "{{ vserver_name }}"

Steps to Reproduce

run playbook

Expected Results

"changed": true

Actual Results

"calling: storage/volumes: got {'message': 'The value \"space.snapshot.autodelete\" is invalid for field \"fields\" (<field,...>)', 'code': '262197', 'target': 'fields'}."
carchi8py commented 7 months ago

This is a bug we have an internal story 6519 to fix this and will have a patch release out

carchi8py commented 7 months ago

This should be fixed in 22.8.1