Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-2139

Pathfinder assessment migration fails on upgrade from MTA 6.2.1->MTA 7.0.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTA 7.0.1
    • MTA 7.0.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      With MTA 6.2.1 installed, attempt to switch the channel to stable-7.0. The operator upgrade will succeed, but a task in the operator pod will be failing. This failure impacts existing pathfinder assessments not being migrated to MTA 7.

      fatal: [localhost]: FAILED! =>

      {"changed": false, "cmd": "/usr/local/bin/migrate-pathfinder-assessments.py -p [http://mta-pathfinder:8080/pathfinder |http://mta-pathfinder:8080/pathfinder] -b [http://mta-hub:8080 |http://mta-hub:8080/] -t $(/usr/local/bin/jwt.sh ZTXtc1sXF9VURDj46NaPOMwBdNIzyeO9)\n", "delta": "0:00:00.004044", "end": "2024-01-30 14:49:49.378390", "msg": "non-zero return code", "rc": 127, "start": "2024-01-30 14:49:49.374346", "stderr": "/bin/sh: /usr/local/bin/jwt.sh: No such file or directory\n/bin/sh: /usr/local/bin/migrate-pathfinder-assessments.py: No such file or directory", "stderr_lines": ["/bin/sh: /usr/local/bin/jwt.sh: No such file or directory", "/bin/sh: /usr/local/bin/migrate-pathfinder-assessments.py: No such file or directory"], "stdout": "", "stdout_lines": []}

      The resulting impact is that existing assessments from 6.2.1 are not visible in the UI and not properly migrated. When this bug is resolved and this task succeeds the assessments should be properly migrated.

              fbladilo@redhat.com Franco Bladilo
              rhn-engineering-dymurray Dylan Murray
              Igor Braginsky Igor Braginsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: