From 83eea3d90015ffb7c93a4dadaff32c9a374e3a79 Mon Sep 17 00:00:00 2001 From: Alexander Wels Date: Tue, 27 Aug 2024 09:38:30 -0500 Subject: [PATCH] Don't quiesce when doing indirect migrations When doing an indirect migration, we don't want to quiesce the workloads on rollback. This didn't happen before, and we should only quiesce when doing a direct volume migration. Signed-off-by: Alexander Wels --- pkg/controller/migmigration/task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/migmigration/task.go b/pkg/controller/migmigration/task.go index 88f5b5cad..21bad287a 100644 --- a/pkg/controller/migmigration/task.go +++ b/pkg/controller/migmigration/task.go @@ -296,8 +296,8 @@ var RollbackItinerary = Itinerary{ {Name: DeleteRegistries, Step: StepCleanupHelpers}, {Name: EnsureStagePodsDeleted, Step: StepCleanupHelpers}, {Name: EnsureAnnotationsDeleted, Step: StepCleanupHelpers, any: HasPVs | HasISs}, - {Name: QuiesceDestinationApplications, Step: StepCleanupMigrated, any: DirectVolume}, - {Name: EnsureDestQuiesced, Step: StepCleanupMigrated}, + {Name: QuiesceDestinationApplications, Step: StepCleanupMigrated, all: DirectVolume | EnableVolume}, + {Name: EnsureDestQuiesced, Step: StepCleanupMigrated, all: DirectVolume | EnableVolume}, {Name: SwapPVCReferences, Step: StepCleanupMigrated, all: StorageConversion}, {Name: CreateDirectVolumeMigrationRollback, Step: StepRollbackLiveMigration, all: DirectVolume | EnableVolume}, {Name: WaitForDirectVolumeMigrationRollbackToComplete, Step: StepRollbackLiveMigration, all: DirectVolume | EnableVolume},