Uploaded image for project: 'OpenShift Migration Toolkit for Containers'
  1. OpenShift Migration Toolkit for Containers
  2. MIG-1598

Rollback after a migration gets stuck at Quiescing step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTC 1.8.4
    • MTC 1.8.4
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ToDo

      Description of problem:
      When we perform a migration and it fails due to some reason, (either an existing DVM bug OR intentionally failing it by providing an invalid cluster_subdomain value inside the controller config) , the rollback of that migration also gets stuck at the quiescing step.

      Version-Release number of selected component (if applicable):
      MTC 1.8.4

      How reproducible:
      Always

      Steps to Reproduce:
      1.Deploy an application to migrate in the source cluster
      2. Edit the migration controller configuration and set cluster_subdomain to abc.com
      3. Execute cutover migration, and wait for the migration to fail.
      4. Now perform rollback of the migration.

      Actual results:

      Rollback stuck at the quiescing step forever.

      Expected results:

      Rollback should complete successfully.

      Additional info:

      Migration contorller Logs keep printing

      nd keeps printing this log
      {"level":"info","ts":1724167035.3108454,"logger":"migration","msg":"[RUN] (Step 8/15) Waiting for Quiesce (Scaling to 0 replicas) to finish for Deployments, DeploymentConfigs, StatefulSets, ReplicaSets, DaemonSets, CronJobs, Jobs and Virtual Machines in target namespace.","migMigration":"rollback-c3257","phase":"EnsureDestQuiesced"}
      {"level":"info","ts":1724167035.3115046,"logger":"migration","msg":"Found quiesced Pod on source cluster that has not yet terminated. Waiting.","migMigration":"rollback-c3257","phase":"EnsureDestQuiesced","pod":"django-tgt/django-psql-persistent-1-4254s","podPhase":"Running"}
      {"level":"info","ts":1724167035.3115325,"logger":"migration","msg":"Quiescing on source cluster is incomplete. Pods are not yet terminated, waiting.","migMigration":"rollback-c3257","phase":"EnsureDestQuiesced"}
      

              rhn-support-awels Alexander Wels
              rhn-support-ssingla Sachin Singla
              Sachin Singla Sachin Singla
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: