-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
MTA 7.2.0
-
None
-
False
-
-
False
-
-
-
None
Description of problem:
Transform command fails on Mac arm64 because it looks for a podman binary in a wrong place
Version-Release number of selected component (if applicable):
7.2.0-23
How reproducible:
100%
Steps to Reproduce:
1. Enable container-less mode
2. Check path to podman binary
$ which podman /opt/podman/bin/podman
3. Run command like
$ /Users/ec2-user/bin/darwin-mta-cli transform openrewrite --input /Users/ec2-user/kantra-cli-tests/reports/complete-duke --target jakarta-xml
Actual results:
Command fails with error that podman binary is not found
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=/Users/ec2-user/kantra-cli-tests/reports/complete-duke recipe=jakarta-xml /usr/bin/podman run --rm --name rqWxoUezkeTJKFWF --entrypoint /usr/bin/openrewrite_entrypoint.sh --workdir /tmp/source-app/input -v /Users/ec2-user/kantra-cli-tests/reports/complete-duke:/opt/input 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.PersistenceXmlERRO[0000] container run error error="fork/exec /usr/bin/podman: no such file or directory" ERRO[0000] error running openrewrite error="fork/exec /usr/bin/podman: no such file or directory" ERRO[0000] failed executing openrewrite recipe error="fork/exec /usr/bin/podman: no such file or directory" Error: fork/exec /usr/bin/podman: no such file or directory
Expected results:
podman binary should be searched according to $PATH variables
Additional info: