-
Notifications
You must be signed in to change notification settings - Fork 36
ONTAP connectivity issues
NetApp API failed. Reason - Unable to connect:(ConnectionRefusedError(111, ‘Connection refused’),)
By default ZAPI is using http. But recent versions of ONTAP disable http by default.
The recommended solution is to use https: true
. A valid certificate is required. (Or see Disabling certificate validation
You can also enable http in ONTAP. But we need https for REST.
Caution: disabling certificate validation is a security risk.
When using a vserver, the firewall policy needs to allow management traffic. In ONTAP 9.5 or later, this is achieved with -service-policy. Earlier versions require -firewall-policy
URL error:URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate
A valid certificate needs to be installed and signed.
Certificate validation can be temporarily disabled with validate_certs: false
.
Caution: disabling certificate validation is a security risk.
Need Help? Join Netapp.Io Discord Channel #ansible