Why does installing the Object storage Helm plug-in fail?
Virtual Private Cloud Classic infrastructure
When you install the IBM Cloud Object Storage ibmc
Helm plug-in, the installation fails with one of the following errors:
Error: symlink /Users/iks-charts/ibm-object-storage-plugin/helm-ibmc /Users/ibm/.helm/plugins/helm-ibmc: file exists
Error: fork/exec /home/iksadmin/.helm/plugins/helm-ibmc/ibmc.sh: permission denied
When the ibmc
Helm plug-in is installed, a symlink is created from the ~/.helm/plugins/helm-ibmc
directory for Linux systems or the ~/Library/helm/plugins/helm-ibmc
directory for Mac OS to the directory where
the ibmc
Helm plug-in is located on your local system, which is usually in ./ibmcloud-object-storage-plugin/helm-ibmc
.
When you remove the ibmc
Helm plug-in from your local system, or you move the ibmc
Helm plug-in directory to a different location, the symlink is not removed.
If you see a permission denied
error, you don't have the required read
, write
, and execute
permission on the ibmc.sh
bash file so that you can execute ibmc
Helm plug-in
commands.
Review the following steps based on the error type.
-
For symlink errors:
-
Remove the IBM Cloud Object Storage Helm plug-in.
Linux example
rm -rf ~/.helm/plugins/helm-ibmc
Mac OS example
rm -rf ~/Library/helm/plugins/helm-ibmc for macOS
-
Follow the documentation to re-install the
ibmc
Helm plug-in and the IBM Cloud Object Storage plug-in.
-
-
For permission errors:
- Change the permissions for the
ibmc
plug-in. Linux example
Mac OS examplechmod 755 ~/.helm/plugins/helm-ibmc/ibmc.sh
chmod 755 ~/Library/helm/plugins/helm-ibmc/ibmc.sh
- Change the permissions for the
- Try out the
ibm
Helm plug-in.helm ibmc --help
- Continue installing the IBM Cloud Object Storage plug-in.