ONTAP Discussions
ONTAP Discussions
I'm trying to update Ontap deploy from 9.6 to either 9.7 or 9.8 and ruin into an issue with either update:
I'm getting the permissions denied error as seen in the bold below. This is a test instance and trying to get some experience with the process before rolling it to production instances.
(ONTAPdeploy) deploy upgrade -package-path /home/admin/SELECTDEPLOY9.7_5554606.tar.gz
Two-node clusters are being managed by this Deploy instance. An upgrade operation requires a reboot of Deploy, which will temporarily disconnect iSCSI connections from ONTAP Select nodes of two-node clusters (being managed and using the mediator service running on this Deploy). Takeover/Giveback will be disabled on all such two-node clusters for the short period until the Deploy reboot completes and iSCSI connections from ONTAP Select nodes are restored.
Do you want to proceed with the upgrade ? [y/N] y
A backup of the system will be taken prior to upgrade.
Enter a password to encrypt the backup with:
Retype new password:
Starting upgrade. This may take a few minutes. The system will reboot to complete the upgrade. No other operations are permitted while the upgrade is in progress.
Error[400]: UpgradeUntarErr - Failed to extract "/home/admin/SELECTDEPLOY9.7_5554606.tar.gz". Reason: [Errno 13] Permission denied: '/home/admin/SELECTDEPLOY9.7_5554606.tar.gz'.
(ONTAPdeploy)
Thank You,
Brian
Solved! See The Solution
After reviewing the built-in commands, saw that there is a "shell bash" options..
(ONTAPdeploy) shell bash
admin@OntapDeploy:~$ ls -l
total 5930224
-rwx------ 1 admin admin 3012494048 May 2 16:02 SELECTDEPLOY9.7_5554606.tar.gz
-rwx------ 1 admin admin 3054111630 May 2 16:11 SELECTDEPLOY9.8_5879607.tar.gz
admin@OntapDeploy:~$ chmod 755 *
admin@OntapDeploy:~$ exit
I'm now able to perform the upgrade.
Hopefully this will save someone else 🙂
Are you trying to Upgrade NetApp Controllers or Bare Metal builds? If it's controllers, you have the wrong tar.
Go here https://mysupport.netapp.com/site/products/all/details/ontap9/downloads-tab/download/62286/9.7P18
Or here
https://mysupport.netapp.com/site/products/all/details/ontap9/downloads-tab/download/62286/9.8P11
This is related to OnTap Select on an VCenter platform. No physcial storage or BareMetal.
Thank you,
After reviewing the built-in commands, saw that there is a "shell bash" options..
(ONTAPdeploy) shell bash
admin@OntapDeploy:~$ ls -l
total 5930224
-rwx------ 1 admin admin 3012494048 May 2 16:02 SELECTDEPLOY9.7_5554606.tar.gz
-rwx------ 1 admin admin 3054111630 May 2 16:11 SELECTDEPLOY9.8_5879607.tar.gz
admin@OntapDeploy:~$ chmod 755 *
admin@OntapDeploy:~$ exit
I'm now able to perform the upgrade.
Hopefully this will save someone else 🙂