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

[CLI] mta-cli tries to pull U/S image when transforming code with openwrite on Linux Arm64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • MTA 7.2.0
    • MTA 7.2.0
    • MTA CLI
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      mta-cli tries to pull U/S image when transforming code with openwrite instead of using D/S images

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

      7.2.0-21

      How reproducible:

      100% 

      Steps to Reproduce:
      1. Make sure you don't have U/S image pulled already
      2. Run command like

      /home/ec2-user/mta-cli transform openrewrite --input /home/ec2-user/reports2/complete-duke --target jakarta-xml
      

      3. Read output carefully
      4. Check image list

      Actual results:

      U/S image is downloaded

      Expected results:

      D/S images should be used 

      Additional info:
      This bug is relevant for Linux Arm64 only!

      $ /home/ec2-user/mta-cli transform openrewrite --input /home/ec2-user/reports2/complete-duke --target jakarta-xml
      INFO[0000] executing openrewrite recipe                  args="-U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.configLocation=/opt/openrewrite/jakarta/javax/xml/rewrite.yml -Drewrite.activeRecipes=org.jboss.windup.jakarta.javax.PersistenceXml" input=/home/ec2-user/reports2/complete-duke recipe=jakarta-xml
      /usr/bin/podman run --rm --name QUcuqSHaYHSZqDWq --entrypoint /usr/bin/openrewrite_entrypoint.sh --workdir /tmp/source-app/input -v /home/ec2-user/reports2/complete-duke:/opt/input:z quay.io/konveyor/kantra -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.configLocation=/opt/openrewrite/jakarta/javax/xml/rewrite.yml -Drewrite.activeRecipes=org.jboss.windup.jakarta.javax.PersistenceXmlTrying to pull quay.io/konveyor/kantra:latest...
      

              emcmulla@redhat.com Emily McMullan
              ibragins@redhat.com Igor Braginsky
              Igor Braginsky Igor Braginsky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: