You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "tdiesler (via GitHub)" <gi...@apache.org> on 2024/03/25 13:54:50 UTC

[I] [2.2.x] Basic integration fails on ARM64 [camel-k]

tdiesler opened a new issue, #5280:
URL: https://github.com/apache/camel-k/issues/5280

   ### What happened?
   
   ```
   cd $HOME/git/camel-k
   git checkout v2.2.0
   
   IMAGE_ARCH=arm64 make images
   
   kamel install --olm=false --operator-image=apache/camel-k:2.2.0-arm64 --base-image=eclipse-temurin:17-jdk@sha256:e8d451f3b5aa6422c2b00bb913cb8d37a55a61934259109d945605c5651de9a6 --build-publish-strategy Jib
   
   kubectl describe pod -l app=camel-k
   kubectl logs -f --tail=400 -l app=camel-k
   
   cd $HOME/git/camel-k-examples/01-basic
   kamel run Basic.java --dev
   ...
   Integration "basic" in phase "Running"
   [1] Monitoring pod basic-576695546d-v6p9n
   [1] exec /bin/sh: exec format error
   
   WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
   exec /usr/bin/sh: exec format error
   ```
   
   
   ### Steps to reproduce
   
   _No response_
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   2.2.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [2.2.x] Basic integration fails on ARM64 [camel-k]

Posted by "tdiesler (via GitHub)" <gi...@apache.org>.
tdiesler commented on issue #5280:
URL: https://github.com/apache/camel-k/issues/5280#issuecomment-2072183339

   Won't Fix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [2.2.x] Basic integration fails on ARM64 [camel-k]

Posted by "tdiesler (via GitHub)" <gi...@apache.org>.
tdiesler commented on issue #5280:
URL: https://github.com/apache/camel-k/issues/5280#issuecomment-2020251916

   * Updating to jib-3.4.1 does not fix it
   * Adding -Djib.from.platforms=linux/arm64 fixes it for this platform
   
   This fix would also make `--base-image=eclipse-temurin:17-jdk@sha256:e8d451f3b5aa6422c2b00bb913cb8d37a55a61934259109d945605c5651de9a6` obsolete
   
   Can we perhaps use the operator version suffix as an indicator of what `jib.from.platforms` to add?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [2.2.x] Basic integration fails on ARM64 [camel-k]

Posted by "tdiesler (via GitHub)" <gi...@apache.org>.
tdiesler commented on issue #5280:
URL: https://github.com/apache/camel-k/issues/5280#issuecomment-2020129520

   It turns out that this also happens with the official 2.2.0 release. When I inspect the Jib generated image, I see ...
   
   ```
           "Architecture": "amd64",
           "Os": "linux",
           "Size": 484003142,
   ```
   
   Despite the operator/base image architecture both being arm64, Jib generates an image for amd64


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [2.2.x] Basic integration fails on ARM64 [camel-k]

Posted by "tdiesler (via GitHub)" <gi...@apache.org>.
tdiesler commented on issue #5280:
URL: https://github.com/apache/camel-k/issues/5280#issuecomment-2021050125

   PR: https://github.com/apache/camel-k/pull/5286


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [2.2.x] Basic integration fails on ARM64 [camel-k]

Posted by "tdiesler (via GitHub)" <gi...@apache.org>.
tdiesler closed issue #5280: [2.2.x] Basic integration fails on ARM64
URL: https://github.com/apache/camel-k/issues/5280


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org