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
can not update 19.5 -> 20.0 Fatal glibc error: CPU does not support x86-64-v2 #11879
Comments
@amg-web: My guess, its related to glibc 9.x require AVX-AES. // T |
Hello |
Hello, bug container awx-demo-web and awx-ee finalize the installation as indicated in the Quickinstall , then edit the deployment and change the image 20.1.0 by 19.5.1 $ kubectl edit deployment awx-demo -n awx quay.io/ansible/awx:20.1.0 ==> quay.io/ansible/awx:19.5.1 |
i also encountered the issue - @amg-web I'm betting like me you are using visualisation software based in linux (for me it was Proxmox) for your kubernetes/awx install. There is something with the kvm64 cpu emulation/driver and in Proxmox I have the option to select a different type (I selected to past-in the host cpu - no emulation) Anyway - long long day troubleshooting short - I have managed to install and use 0.20.0 Edit: I think the issue is not specific to this project but is an issue with Centos-Stream9 with that kvm64 driver |
I can confirm I had this same issue, which was solved by performing the same actions. Also running 0.20.0 just fine. |
jelly-is-bean, S3cBar0n |
@amg-web this is similar to Proxmox - when you are making the VM for the minikube cluster just passthrough your host cpu
Edit: screenshot taken from documentation for SolusVM KVM |
Yes tweaking CPU driver settings solved the problem |
If it's CentOS fault where is the bug report? I mean KVM is a RedHat sponsored project. I was hoping to find a bug report somewhere so I can track the issue. As stated in this issue discussion it's not really a AWX issue. Interesting Proxmox thread on the same issue: https://forum.proxmox.com/threads/kernel-panic-when-creating-vms-centos-9-stream-iso.104656/ |
For me, changing Proxmox CPU to "Host" doesnt seem to help either. Does that mean my host CPU doesnt support this and I can stop trying to install AWX on that machine? |
@tovoro 19.5 should work |
Im sorry, I started again, checked out 0.19.0 and still get the same error.. |
Hi, same problem with awx-oprator 0.30.0 |
Hello, I have the same error when I am trying to run AWX 21.7.0 on docker. Edit: I solved this issue disabling from Windows features the "Microsoft Hypervisor Platform", for some reason my VM was seeing that the CPU support only x-86-v64-v1...Now the VM see my CPU that can support x86-v64-v2. |
Hi, I'm curious to know why is x86-v64-v2 a requirement in the first place? As someone mentioned above it might not be a AWX requirement but rather tools used around it to deploy. I'm trying to deploy it with docker but on build I'm getting the same. I've tried running an already built image and it gives the same error when starting. |
@bentamircea x86-64-v2 brings support (among other things) for vector instructions up to Streaming SIMD Extensions 4.2 (SSE4.2) and Supplemental Streaming SIMD Extensions 3 (SSSE3), the POPCNT instruction (useful for data analysis and bit-fiddling in some data structures), and CMPXCHG16B (a two-word compare-and-swap instruction useful for concurrent algorithms). From RHEL 9 you must have a CPU that supports x-86-64-v2 to run it (older CPUs already support this standard, you don't have to have a new CPU). I have a i5-9600k and I had the same issue, i put the fault on the linux system update but it wasn't this, my problem was because of the Microsoft Hyper-V, check on your windows features (if you run your VMs from VBox on Windows) that "Microsoft Hypervisor Platform" is not enabled, for some reason this feature from windows will limit your CPU and your VM will see that your CPU doesn't support a x86-v64-v2 standard. Indeed, is not an AWX problem is a OS/Driver problem on how your system is seeing your CPU capabilities. |
@andreibrebene I'm running a Debian 11 on bare metal so no hypervisor settings to fiddle with. UPDATE: the images are based on quay.io/centos/centos:stream9 so that's why the containers are failing with non v2 CPUs. |
Continuing to see this error on awx 21.10.0, with proxmox and qemu/kvm64. We can't use host based cpu as that restricts the ability to migrate vm's from host to host. This is the only service that has any kind of issue with kvm64 out of the 100s that we host which feels pretty silly to need its own special node pool. Edit: Changing the cpu type from 'kvm64' to 'max' in proxmox allows the pod to come up successfully while still allowing cross-architecture vm migration, which resolves this for me. |
On proxmox I had the same issue with cpu type 'kvm64" and resolved it using the cpu type 'max'. |
We are getting the same error, and we have not encountered such an error in any environment in our current 50-node cluster. Here we encounter this error on the container installed with the centos:stream9 image named init-projects. It would be very helpful for us if the related problem could be solved. |
In KVM, I changed the CPU configuration from qemu64 to host-passthrough on the VM that the pod was running on, allowing the necessary CPU flags to be accessed by the container engine. |
can confirm on Macbook M1 with kind, this will work once the QEMU cpuType is set to "max" using latest operator and AWX:
|
According to https://community.veeam.com/kasten-k10-support-92/fatal-glibc-error-cpu-does-not-support-x86-64-v2-4936?postid=41619#post41619: |
Please confirm the following
Summary
can not update 19.5 -> 20.0
pods does not start due to:
kubectl logs --previous awx-whz-6d8f7f4589-sw8rv awx-whz-web -n whz Fatal glibc error: CPU does not support x86-64-v2
is it expected results on older CPU with x86-64 ?
AWX version
20.0
Select the relevant components
Installation method
minikube
Modifications
no
Ansible version
No response
Operating system
ubuntu 18.04
Web browser
Chrome
Steps to reproduce
update using awx-oprator:
git checkout 0.17.0
make deploy
Expected results
expect replacing of awx-web containers with new version
Actual results
ee replaced
awx-web still is old.
Additional information
cpu Flags: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl cpuid tsc_known_freq pni cx16 hypervisor lahf_lm abm pti
The text was updated successfully, but these errors were encountered: