Uploaded image for project: 'Migration Toolkit for Red Hat Openshift Project Lead'
  1. Migration Toolkit for Red Hat Openshift Project Lead
  2. MTRHO-122

Cutover Migration is stuck at transfer-pvc phase

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • MTRHO 1.0
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

    Description

      Description of problem: 

      Migrating an app in MTRHO is stuck on the transfer-pvc-0 stage, the last successful log printed is “Generating new certificate” then it fails/ gets stuck.

      So far, two different behaviors were observed after that log was printed. One of them is rsync pod getting stuck on not ready status

      • {"level":"info","ts":1658211393.1897638,"caller":"stunnel/server.go:194","msg":"generating new certificate bundle","transportServer":"django/postgresql"}*
        2022/07/19 06:16:39 container rsync in pod django/rsync-server-e4728f444b is not ready unable to check rsync server health, retrying...

      The second one is an error showing that the certificate secret already exists.

      • {"level":"info","ts":1658149804.9173875,"caller":"stunnel/server.go:194","msg":"generating new certificate bundle","transportServer":"second-run/test-data"}*
        2022/07/18 13:10:05 secrets "stunnel-credentials-ca-bundle-test-data" already existsfailed to create certificate secret on source cluster

      Therefore, it is believed that those issues are related to the generation of the certificate, and/or the certificate secret

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

      Source GCP 3.11

      Target GCP 4.11

      How reproducible:

      Often

      Steps to Reproduce:

      1. Create a namespace in the source cluster and deploy any stateful app in it.
      2. Import the app in a namespace in the target cluster.

      Actual results:

      The migration fails on transferring the pvc.

      Expected results:

      The migration should be completed with no errors

      Additional info:

      $oc logs -n django rsync-server-e4728f444b -c rsync

       

      2022/07/19 06:16:48 [8] rsyncd version 3.1.3 starting, listening on port 8080

      2022/07/19 06:17:14 [62] connect from localhost (::1)

      2022/07/19 06:17:14 [63] connect from localhost (::1)

      Attachments

        Activity

          People

            pgaikwad1@redhat.com Pranav Gaikwad
            midays mohamed idays
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: