Failed and an error is displayed of the form:BackupStorageLocation "bsl-aws" is unavailable: rpc error: code = Unknown desc = RequestError: send request failed caused by: Get "https://<object_storage_endpoint>/<bucket_name>?delimiter=%2F&list-type=2&prefix=": tls: failed to verify certificate: x509: certificate signed by unknown authoritybackupstoragelocation with kubectl shows the PHASE as Unavailable in the Kubernetes cluster:kubectl get backupstoragelocation -n velero bsl-awsNAME PHASE LAST VALIDATED AGE DEFAULTbsl-aws Unavailable <invalid> # truebackupstoragelocation with kubectl shows a Status: Message similar to the following:kubectl describe backupstoragelocation -n velero bsl-awsStatus: Last Validation Time: <timestamp> Message: BackupStorageLocation "bsl-aws" is unavailable: rpc error: code = Unknown desc = RequestError: send request failedcaused by: Get "https://<object_storage_endpoint>/<bucket_name>?delimiter=%2F&list-type=2&prefix=": tls: failed to verify certificate: x509: certificate signed by unknown authorityThis issue occurs when SSL certificate of Object Storage Extension(OSE) is self-signed for the endpoint address.
To confirm the endpoint address of OSE, run the ose endpoint show OR sudo ose endpoint show command on the OSE server and view the OSE Endpoint URL value.
To resolve the issue use a signed certificate with OSE's endpoint or set the optional oss.k8s.velero.insecure.skip.tls.verify parameter to true to skip the TLS verification for the OSE self-signed certificate from the Velero agent.
After making the changes return to the Cloud Director Tenant portal, Object Storage > Kubernetes Protection, and for the affected Kubernetes cluster choose All Actions > Stop Protection and then Start Protection again.