-
Bug
-
Resolution: Done
-
Major
-
ACM 2.9.2, ACM 2.10.1
Description of problem:
After performing hub recovery I am not able to import cluster as cluster namespace in Terminating state.
hub-passive oc get project | grep asagare
asagare-c1 Terminating
asagare-c2 Terminating
Hub restore process is not completed successfully.
➜ hub-passive oc get restore -A
NAMESPACE NAME PHASE MESSAGE
open-cluster-management-backup restore-acm FinishedWithErrors Velero restores have run to completion but encountered 1+ errors.
here is the restore resource
➜ hub-passive oc get restore -A -o yaml
apiVersion: v1
items:
- apiVersion: cluster.open-cluster-management.io/v1beta1
kind: Restore
metadata:
creationTimestamp: "2024-02-01T15:13:47Z"
generation: 1
name: restore-acm
namespace: open-cluster-management-backup
resourceVersion: "498190"
uid: af8dfc42-fdcd-48d5-9426-360b9c4d4c81
spec:
cleanupBeforeRestore: CleanupRestored
veleroCredentialsBackupName: latest
veleroManagedClustersBackupName: latest
veleroResourcesBackupName: latest
status:
lastMessage: Velero restores have run to completion but encountered 1+ errors
phase: FinishedWithErrors
veleroCredentialsRestoreName: restore-acm-acm-credentials-schedule-20240201150043
veleroGenericResourcesRestoreName: restore-acm-acm-resources-generic-schedule-20240201150043
veleroManagedClustersRestoreName: restore-acm-acm-managed-clusters-schedule-20240201150043
veleroResourcesRestoreName: restore-acm-acm-resources-schedule-20240201150043
kind: List
metadata:
resourceVersion: ""Version-Release number of selected component (if applicable):
OCP-4.15
ODF-4.15
AcM- 2.9.2
How reproducible:
Steps to Reproduce:
-
- Create MDR env with active hub , passive hub, 2 managed cluster
- Create workloads on both managed cluster
- Performed neutral site(powered off only active hub) based hub recovery mentioned in below doc
- verified restore resource.
- Import cluster using secrets.
Attached secret file .
Actual results:
restore resource failed with error "
Velero restores have run to completion but encountered 1+ errors
"
Expected results:
Restore resource status should Finished.