I need to quickly throw together some NetApp utils in C, and have compiled and run some the sample code in an attempt to get up to speed. Is there a list of all the possible calls you can make using the na_server_invoke() function? Or can one deduce these from the standard commands you'd issue at the NetApp console? If so... what's the formula? I've tried to work this out from the documentation, but there seems no straightforward answer.
... View more
Hello, Does anyone have workaround for certificate authentication with SAML enabled on a cluster? This is for AWX Tower, which is failing at ADFS auth when running a playbook against a SAML enabled cluster. A curl command to the cluster usign the certificates works fine, error occurs when AWX tried to access API of the SAML enabled cluster. Thanks!
... View more
I am scripting the tasks to build a new filer with PSTK 4.4 and it is failing at the first step. I am testing on a 9.1 simulator. I manually set the node management IP and execute Connect-NcController then get the following result. PS C:\Scripts> Connect-NaController 192.168.146.21 -HTTPS Connect-NaController : ZAPI is not enabled in pre-cluster mode. At line:1 char:1 + Connect-NaController 192.168.146.21 -HTTPS + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidResult: (192.168.146.21:NaController) [Connect-NaController], EAPIPRIVILEGE + FullyQualifiedErrorId : HttpConnectionFailed,DataONTAP.PowerShell.SDK.ConnectNaController What am I missing?
... View more
I have made extensive use of the SDK with both OnTAP and UM, and I'm "translating" these to REST. So far, it's been relatively painless, but: I need to be able to query UM for the same sort of information that was available via the SDK call "disk_iter". I can't find an equivalent, nor can I locate another endpoint that would provide this sort of information. So far this is the only glaring omission in the set of REST endpoints that I have found for UM, but there may be more to come as I progress with the translation. I'm largely only translating calls that I'm actually using more frequently at this time, others will come later. On a side note, I've also observed that SnapMirror-related REST calls take an inordinate amount of time to respond, especially if you don't specify a filter on the returned attributes. An SDK call that takes seconds to respond with a complete data set can take 30 minutes to respond under REST, and the results have to be harvested in "bits and pieces" due to the timeouts involved, even when they are set to the max (120 seconds as I recall). It's difficult to understand why this would occur. Thank you for your attention to this matter.
... View more
When i initially run my playbook the password change playbook works. After few run of the playbook, i get the error below. What could be the issue ? An exception occurred during task execution. To see the full traceback, use -vvv. The error was: netapp_lib.api.zapi.zapi.NaApiError: NetApp API failed. Reason - 401:Unauthorized collections: - netapp.ontap
... View more