Files
velero/pkg/controller
sapnasingh4852-source 7adf8a318d Recognize GCS object-not-found error during backup deletion
The GCS Go client returns "storage: object doesn't exist" (ErrObjectNotExist)
when the backup tarball is already gone, but isTarballNotFoundError() only
checked for "objectnotexist". The error was treated as transient, so the
DeleteBackupRequest kept the error and the Backup stayed stuck in Deleting.

Add "doesn't exist" to the recognized not-found indicators, per the
maintainer's suggestion on the issue, and cover it with a unit test
including the wrapped gRPC-style error observed in practice.

Fixes #10659

Signed-off-by: sapnasingh4852-source <sapnasingh4852@gmail.com>
2026-10-20 15:13:03 +05:30
..