we run a Powershell script to create snapshots from Windows 2012 R2 machine on a FAS2554. It ran flawlessly until last week when we upgraded the FAS Ontap Version. Upgrade path was as follows: 9.3P12 -> 9.5P18 -> 9.6P9.
Now the script fails and as I found it can't even connect to the FAS. A simple Connect-NcController fails with error "API invoke failed". Other facts are:
- Authentication works, because when I type wrong credentials, I get a corresponding error message
- I tried https and http and both are enable on the target FAS
- A "Test-Connection" either to port 80 or 443 is successful
- Certificates have been renewed and are not expired
After trying everything I can think of, I am completely at a loss. Any help would be greatly appreciated.
Thanks for your response. I doubt that this is the problem because OCUM for example (which is now AIQUM) is not affected, all certs have already been recreated and connection over HTTP (which should ignore the certs) gives the same error.
Thanks for your further suggestions. Unfortunately there is nothing in the audit.log.
We already tried the debug level of Powershell toolkit but that did not reveal any helpful information.
Meanwhile I heared of someone else trying to use the toolkit against an Ontap 9.6P9 using an ontap simulator and he experiences the exact same problem. Seems to me, they have changed something in that release, because her reported it works fine with 9.6.P6 or P4 for example.
2020-08-07 11:52:14,266 DEBUG DataONTAP.C.PowerShell.SDK.ConnectNcController - Failed to connect to <ipaddress> 2020-08-07 11:52:14,268 DEBUG DataONTAP.C.PowerShell.SDK.ConnectNcController - Setting value of global:CurrentNcControll er 2020-08-07 11:52:14,268 DEBUG DataONTAP.C.PowerShell.SDK.ConnectNcController - Starting EMS logging 2020-08-07 11:52:14,268 DEBUG DataONTAP.C.PowerShell.SDK.ConnectNcController - Failed to complete EMS logging System.NullReferenceException: Object reference not set to an instance of an object. at DataONTAP.C.PowerShell.SDK.ConnectNcController.ProcessRecord(String name)
Meanwhile I heard from Netapp support that toolkit 9.7.1 is missing some DLLs that are planned to be implemented in 9.8. Quite unspecific and vague but at least an explanation. It also means there is no point in further investigation for me/us.