backup-location always shows Unavailable in the PHASE field in the velero backup-location get api or command.
This is due to the physical layout check from the backup storage in Velero where it detected there are more than 3 subdirs. Velero expects backups, restores and restic subdirs but OADP added images subdir at the top level.
$ velero backup-location get
NAME PROVIDER BUCKET/PREFIX PHASE LAST VALIDATED ACCESS MODE
default velero.io/aws test1 Unavailable 2021-02-19 15:40:48 -0800 PST ReadWrite
https://github.com/vmware-tanzu/velero/blob/456eb19668f8da603756353d9179b59b5a7bfa04/pkg/persistence/object_store.go#L150
backup-location always shows Unavailable in the PHASE field in the velero backup-location get api or command.
This is due to the physical layout check from the backup storage in Velero where it detected there are more than 3 subdirs. Velero expects backups, restores and restic subdirs but OADP added images subdir at the top level.
$ velero backup-location get
NAME PROVIDER BUCKET/PREFIX PHASE LAST VALIDATED ACCESS MODE
default velero.io/aws test1 Unavailable 2021-02-19 15:40:48 -0800 PST ReadWrite
https://github.com/vmware-tanzu/velero/blob/456eb19668f8da603756353d9179b59b5a7bfa04/pkg/persistence/object_store.go#L150