This issue occurs if there is an issue with Velero installed on the Kubernetes cluster to be backed up and the 'velero' namespace already exists on the cluster.
When the Start Protection button is clicked in the OSE plugin, OSE will install Velero on the Kubernetes cluster and can encounter issues if Velero components already exist.
To resolve the issue the Velero components can be uninstalled and then the backup protection can be started again to have OSE install Velero.
Example steps would be as follows:
kubectl' command tool to the OSE server and place it in '/usr/local/bin/kubectl'.kubectl' see the Kubernetes documentation, Install and Set Up kubectl on Linux.velero' command tool from 'https://github.com/vmware-tanzu/velero/releases/download/v1.10.3/velero-v1.10.3-linux-amd64.tar.gz' to the OSE server. For example:wget https://github.com/vmware-tanzu/velero/releases/download/v1.10.3/velero-v1.10.3-linux-amd64.tar.gztar -xvzf velero-v1.10.3-linux-amd64.tar.gzcp velero-v1.10.3-linux-amd64/velero /usr/local/bin/velerochmod 755 /usr/local/bin/velerokubeconfig' of the target Kubernetes cluster to the OSE server, for example 'kubeconfig-example.conf'.kubeconfig' file can be downloaded from the Cloud Director UI under Kubernetes Container Clusters > select the Kubernetes cluster > Download Kube Config.kubeconfig' file:
export KUBECONFIG=kubeconfig-example.confkubectl get ns' to confirm that the 'velero' namespace already exists:kubectl get nsvelero' exists, then run the command 'velero uninstall':velero uninstallkubectl get ns' again to confirm the namespace 'velero' has been removed and Velero is removed from the target Kubernetes cluster:kubectl get nsFor more information on backing up Kubernetes clusters in OSE, see the documentation Backing up and restoring Kubernetes clusters.