#Trying to configure SP networking with ansible.. but this time something doesn't work...

1 messages · Page 1 of 1 (latest)

bright rivet
#

I've got this rather strange error, when I tried to configure SP with ansible:
"msg": "Error modifying service processor network: calling: cluster/nodes/c4bbeb99-6f78-11ee-a14d-d039ea56a8e1: got {'message': 'Error in BMC Network configuration: enabled option for IPv4 interface is missing.', 'code': '13631591'}."

I think it wants this command ran before the config:
system service-processor network auto-configuration disable -address-family IPv4

but couldn't see it in na_ontap_service_processor_network module...

I have the following set:
address_type: ipv4
is_enabled: true
dhcp: none
ip_address: "{{ hostvars[nodename].interfaces.SP.ip | ipaddr('address') }}"
netmask: "{{ hostvars[nodename].interfaces.SP.ip | ipaddr('netmask') }}"
gateway_ip_address: "{{ hostvars[nodename].interfaces.SP.ip | ipaddr('last_usable') }}"

Is there something that I might be missing. The system is new and came with ONTAP 9.12.1P2

please ignore the ugly ansible vars...

boreal void
#

Did this ever get resolved? I'm seeing the same thing on an AFF running 9.12.1P12 with the latest 22.11.0 modules. Setting "use_rest: never" works as it forces the module to use ZAPI, but ZAPI is deprecated. I don't want to create code now that'll break very soon with an ONTAP update.

rapid gale
#

Something like:
if self.parameters.get('is_enabled'):
ipv4_or_ipv6_body['enabled'] = self.parameters['is_enabled']

glossy pecan
covert mist
#

Unfortunately we didn't get to look into this as we've been waiting for a physical hardware to test with; will follow up on this.

glossy pecan
#

Multi billion dollar company can't afford some cheap hardware for developers. 🙄