#na_ontap_aggregate module - Adjust RAID size

1 messages · Page 1 of 1 (latest)

haughty forge
#

Hi all, we are trying to modify the max RAID size with the modul by increasing the number of the raid_size parameter but it makes nothing. The value is still the same as before.
Interesting is that the parameter is correctly transmitted but there is no change.
Does anybody else saw this behavior?

Tested with
ONTAP: 9.11.1 P5
Collection: 22.2.0 and 21.24.1

junior marsh
#

can you share the playbook tried?
raid_size is used only when creating aggregate.

supple quiver
#

here the used playbook

#
- name: create or add disks to aggregate
tags:
   - modify_aggregates
   - create_or_add_disks_to_aggregate
delegate_to: localhost
netapp.ontap.na_ontap_aggregate:
   hostname: "{{ inventory_hostname }}"
   username: "{{ credentials.ansible_password.user }}"
   password: "{{ ansible_password }}"
   https: true
   validate_certs: false
   state: present
   service_state: online
   name: "{{ item.aggr_data_name }}"
   nodes: "{{ item.node_name }}"
   disk_count: "{{ item.disk_count }}"
   raid_size: "{{ item.max_raidsize }}"
   raid_type: "{{ item.raid_type }}"
   is_mirrored: "{{ item.is_mirrored }}"
   wait_for_online: true
   time_out: 300
loop: "{{ aggregates }} "
loop_control:
   label: "{{ item.aggr_data_name }}"
when: aggregates is defined
wraith star
mellow harbor
#

Not at present. We can confirm raid_size is currently ignored. But we'll see if we can support a change in size, it seems it is supported by the API. If not, we'll report an error for parameters we cannot change.

#

Tracked with DEVOPS-5860

haughty forge
#

Is it possible to make a note in the ansible doc about this?

mellow harbor
#

We can as well fix it, either by supporting an update, or raising an error.