This appears to be a bug in the ZAPI being used by PSTK, or at least the documentation so that consumers (e.g. PSTK) know what output to expect. To dig a little deeper, here is the ZAPI output from my ONTAP 9.1 cluster:
The error I'm receiving is saying that it can't parse a string into a number for the value of account-inactive-limit. If we look at the ZAPI docs it says it's a string type with an integer value:
In the ZAPI response above, notice that the value is "unlimited"...which is not an integer. PSTK is using the function System.Number.StringToNumber to attempt to convert that into an integer, which fails and is causing the error we are seeing.
I'll create a bug to track this. If you're willing to PM me your address, I'm happy to send you some stickers as a bug bounty 😄
If this post resolved your issue, please help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Hi Andrew, is this an internal bug? Cannot seem to get information for that.
We get the same error while running the latest NetAppdocs on every 9.1 cluster we are installing.
<S N="Activity">Get-NcRoleConfig</S> <S N="Reason">InvalidOperationException</S> <S N="TargetName">clustername</S> <S N="TargetType">NcController</S> <S N="Description">There is an error in XML document (1, 129).</S>