ONTAP Discussions
ONTAP Discussions
Getting this error while trying to create the custom user.
MIL-NA1-C1*> useradmin role add oempluginrole -a login-*,api-system-get*,api-volume-list*,api-aggr-list*,api-snapmirrorget-status*,api-snapshot-reserve-list*,api-disk-list*,api-qtree-list*,api-license-list*,api-perf-object*,api-snapshot-list-info*,api-nfsstatus*,api-cifs-status*
Invalid capabilities: api-snapmirrorget-status*,api-nfsstatus*
Could not add role <oempluginrole>. Error: Invalid capability
MIL-NA1-C1*>
Solved! See The Solution
Hi,
api-snapmirrorget-status*,api-nfsstatus* - these capabilities names are not correct { - is not used correctly}. Please find details below and also refer the document.
api-snapmirrorget-status* ===> api-snapmirror-get-status*
api-nfsstatus* =====> api-nfs-status*
This should resolve the issue.
Regards,
Sachin Maheshwari
Hi,
api-snapmirrorget-status*,api-nfsstatus* - these capabilities names are not correct { - is not used correctly}. Please find details below and also refer the document.
api-snapmirrorget-status* ===> api-snapmirror-get-status*
api-nfsstatus* =====> api-nfs-status*
This should resolve the issue.
Regards,
Sachin Maheshwari
Hi - So this plugin requires a netapp custom user which only my netapp-storage admin can create ?
Hi Sutanu,
Yes, this plug-in requires a custom user which only storage admin can create. This is one time activity and you need to put request to him. Please share the command to storage admin that we have documented in IAG guide of Plug-in.
This custom user creation will only give monitoring / read access to the storage controller.
Regards,
Sachin Maheshwari
Thanks it worked - the error happened due to copy and paste from the pdf file.
Hi Sumathy,
Thank you for the update.
Regards,
Sachin Maheshwari