Community

Subscribe
Highlighted

Unable to use Add-NaLicense for Disk Sanitizer License

Hoping someone has come across this issue before.

Trying to automate the deployment of a NetApp Filer using powershell, and utilise Add-NaLicense. It works well until trying to add the Disk Sanitizer license where the script hangs. Looking at the console I can see the NetApp is waiting for a prompt:

Filer> You will not be able to remove this license, are you sure you

wish to continue? [no]

I tried the following with the same result.

Add-NaLicense xxxxxx -Confirm:$false

Re: Unable to use Add-NaLicense for Disk Sanitizer License

Hi Stewarj thanks for bringing this to our attention.

Re: Unable to use Add-NaLicense for Disk Sanitizer License

This is a Data ONTAP API bug, not something we can address in the Toolkit.  Merely calling the API remotely to add this license causes ONTAP to prompt for confirmation on the controller console.  So while this is inconvenient, the sticky nature of this license means it only has to be applied once.  Sorry for the trouble.