trident icon indicating copy to clipboard operation
trident copied to clipboard

How to recover from accidently uninstalling Trident operator helm release?

Open hihellobolke opened this issue 3 years ago • 2 comments

Trident recovery

As an admin if Trident was installed using helm, and if I were to uninstall it accidentally - all the tbc/tbe's go in deleting phase. This is good because app team's pvc/pv's etc are not deleted yet. And if I go back and install the helm again. The old tbc/tbe continue to exists in deleteing phase, and new PVCs remain pending. Please document, how do I recover from this scenario?

Option 1 - Recovery with clean slate

An undesirable way of recovering would be:

  • Wipe and fresh install? - Patch torc with wipe,
  • delete that pod, delete pvcs and pvs
  • Reinstall trident helm.

hihellobolke avatar Feb 02 '22 19:02 hihellobolke

Any updates?

hihellobolke avatar Feb 15 '22 03:02 hihellobolke

I use Option 1 when I have to, because I haven't found a way to "reanimate" volumes whose backend went down and then came up. Only, unlike in your Option 1, I don't delete PVs - if you can wipe Trident and PVCs without deleting PVs, after you install Trident again you can import those PVs back with volume import (see #558 for my context).

scaleoutsean avatar Mar 23 '22 04:03 scaleoutsean