Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS (arm64) + podman + ubi9: 'Fatal glibc error: CPU does not support x86-64-v2' #180

Open
jwmatthews opened this issue Oct 21, 2022 · 5 comments
Labels
triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@jwmatthews
Copy link
Member

The recent bump to ubi9 from pr #173 is breaking tackle-hub from running on Mac (arm64).

The tackle-hub logs shows:
Fatal glibc error: CPU does not support x86-64-v2

Looks related to 'qemu-user-static' in the podman machine VM.
I think this issue from podman is tracking the problem:
containers/podman#15456

$ kubectl get pods -n konveyor-tackle
NAME                                                              READY   STATUS      RESTARTS        AGE
c4af2f0f9eab63b6ac49c81b0e517eb37c2efe1bb2ede02e8642cd4e7ftgcbm   0/1     Completed   0               26m
konveyor-tackle-mdwmq                                             1/1     Running     0               27m
tackle-hub-d7dffccf8-bgk7l                                        0/1     Error       9 (5m13s ago)   21m
tackle-operator-7ff797766-sbq7c                                   1/1     Running     0               26m
tackle-pathfinder-599f5f67fd-nd7dh                                1/1     Running     0               22m
tackle-pathfinder-postgresql-695b9798d6-r69fl                     1/1     Running     0               23m
tackle-ui-85d8fffd96-lkswq                                        1/1     Running     0               21m

$ kubectl get pod tackle-hub-d7dffccf8-bgk7l -n konveyor-tackle
NAME                         READY   STATUS             RESTARTS      AGE
tackle-hub-d7dffccf8-bgk7l   0/1     CrashLoopBackOff   9 (59s ago)   22m

$ kubectl logs tackle-hub-d7dffccf8-bgk7l -n konveyor-tackle            
Fatal glibc error: CPU does not support x86-64-v2

Environment:
MacOS arm64
podman 4.3.0

This is how I created the minikube environment:

podman machine init --cpus 4 --memory 8192 --disk-size 100
podman machine set --rootful
podman machine start
podman machine ssh sudo rpm-ostree install qemu-user-static
podman machine ssh sudo systemctl reboot
minikube --driver podman start --memory=6g --cpus=4
@jwmatthews
Copy link
Member Author

cc @jmontleon @djzager

@jwmatthews
Copy link
Member Author

Assume this will be resolved once https://bugzilla.redhat.com/show_bug.cgi?id=2121700 is released for the podman machine VM.
Related: https://lists.gnu.org/archive/html/qemu-devel/2022-09/msg04787.html

@jwmatthews
Copy link
Member Author

For now, those who are on MacOS arm64 can use "Docker Desktop" as an alternative to use with ubi9 x86_64 images until https://bugzilla.redhat.com/show_bug.cgi?id=2121700 is released and in the VM podman machine creates

Confirmed able to deploy tackle locally on Mac M1Max with:

  • Docker desktop 4.13.0
  • minikube version: v1.27.1

@cfergeau
Copy link

This should finally be fixed soon, see containers/podman#15456 (comment)

This is fixed in qemu-7.0.0-13.fc37 and qemu-6.2.0-17.fc36, when these packages reach the aarch64 images from https://getfedora.org/coreos this bug will finally be fixed

@jortel jortel added the triage/accepted Indicates an issue or PR is ready to be actively worked on. label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

3 participants