Skip to content

velero backup-location get command shows Unavailable in Phase column #89

@yipng

Description

@yipng

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

Metadata

Metadata

Labels

GA blockerRequired for GA releasekind/bugCategorizes issue or PR as related to a bug.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions