During failback of an application stuck in Relocating state

Troubleshoot an application stuck in a Relocating state during failback.

This issue might occur after performing failover and failback of an application (all nodes or cluster are up). When performing failback application stuck in the Relocating state with a message of Waiting for PV restore to complete.

Use S3 client or equivalent to clean up the duplicate PV objects from the S3 store. Keep only the one that has a timestamp closer to the failover or relocate time.

BZ reference: [2120201]