Hello all,
I have below task to update the service processor IP, subnet and gateway but getting below error but when I add use_rest: never, it works fine.
ONTAP version: 9.10.1P10
netapp.ontap: 21.24.1
- name: "Configure Service Processor: {{ cluster }}"
netapp.ontap.na_ontap_service_processor_network:
state: present
address_type: ipv4
is_enabled: true
dhcp: none
node: "{{ item.node }}"
ip_address: "{{ item.ip }}"
netmask: "{{ item.netmask }}"
gateway_ip_address: "{{ item.gateway }}"
<<: *clusterlogin
with_items: "{{ service_processor }}"
tags:- service_processor
failed: [localhost] (item={'node': 'test-c01-nas-n01', 'ip': '10.10.10.55', 'netmask': '255.255.255.0', 'gateway': '10.10.10.1'}) => changed=false
ansible_loop_var: item
item:
gateway: 10.10.10.1
ip: 10.10.10.55
netmask: 255.255.255.0
node: test-c01-nas-n01
msg: 'Error modifying service processor network: calling: cluster/nodes/2d15123e-c7d2-11ed-b366-d039ea9e964f: got {''message'': ''Error in BMC Network configuration: enabled option for IPv4 interface is missing.'', ''code'': ''13631591''}.'