-
Bug
-
Resolution: Unresolved
-
Major
-
ACM 2.12.0
-
None
-
Quality / Stability / Reliability
-
False
-
-
False
-
-
-
Moderate
-
None
Description of problem:
When using a specific backup name (not "latest"), the credentials restore only creates the -active restore but skips the regular credentials restore.
Expected Behavior:
When restoring managed clusters with credentials, you should get TWO credential restores:
- Regular credentials restore: restore-acm-creds-20251029181055-acm-credentials-schedule-20251029181055
- Active credentials restore: restore-acm-creds-20251029181055-acm-credentials-schedule-20251029181055-active
Actual Behavior:
Only the -active restore is created when using a specific backup name.
Run a restore operation and use the backup name instead of the latest backup. For example use
apiVersion: cluster.open-cluster-management.io/v1beta1
kind: Restore
metadata:
name: restore-acm-creds-20251029181055
namespace: open-cluster-management-backup
spec:
cleanupBeforeRestore: CleanupRestored
veleroManagedClustersBackupName: acm-managed-clusters-schedule-20251029181055
veleroCredentialsBackupName: acm-credentials-schedule-20251029181055
veleroResourcesBackupName: acm-resources-schedule-20251029181055
The restore status shows that the credentials backup was not restored
phase: Finished
veleroCredentialsRestoreName: restore-acm-creds-20251029181055-acm-credentials-schedule-20251029181055-active<< HERE I should get both -active and regular backup
veleroGenericResourcesRestoreName: restore-acm-creds-20251029181055-acm-resources-generic-schedule-20251029181055
veleroManagedClustersRestoreName: restore-acm-creds-20251029181055-acm-managed-clusters-schedule-20251029181055
veleroResourcesRestoreName: restore-acm-creds-20251029181055-acm-resources-schedule-20251029181055
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
- Restore with the attached sample
- You should see a velero restore for the acm-credentials-schedule-20251029181055. You get only a velero for acm-credentials-schedule-20251029181055-active
Actual results:
- You should see a velero restore for the acm-credentials-schedule-20251029181055.
Expected results:
You get only a velero for acm-credentials-schedule-20251029181055-active
Additional info:
I tested with ACM 2.15 but this is an issue with older releases as well
Related to this discussion
- clones
-
ACM-25697 When restoring acm using backup names, credentials backup is not picked up
-
- Testing
-