Cluster configuration Automation Script Fails with permission denied
Applies to
- ONTAP 9
Issue
- When running an automation script to configure a new ONTAP cluster, the script fails at the step to set the sysvar nblade.debug.offbox_vscan.sync_scans_on_close=1. The script error and relevant log output is:
Exception.LineNumber1645ExceptionMessage:--> rzr0nas01cp-01: Failed to set sysvar.nblade.debug.offbox_vscan.sync_scans_on_close=1; Result of check: Error: Permission denied (password).- Adjust the script to ensure it runs with an account that has the necessary privileges to perform system shell commands.
- In this case, the script was reviewed and modified by the automation team to use an appropriate user account with the required permissions, after which the script completed successfully.
