RamenDR / ramen

Apache License 2.0
73 stars 53 forks source link

Errors from `restorePVsAndPVCsForVolRep` are not specific about PV/PVC restores or from k8s object protection #1452

Open ShyamsundarR opened 3 months ago

ShyamsundarR commented 3 months ago

This line obfuscates any errors that occurred in ClusterDataRestore and reports a generic failed to restore PVs and PVCs using profile list.. error.

Internally the failure could be due to k8s resources not being restored and not necessarily PV/PVCs not being restored etc.

This has to be updated to reflect the right error to aid user understanding on what failed. Also, look at the callers and other related functions in the ClusterDataReady path to ensure right errors are returned.