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

[BUG] Upgrade opensearch to version 2.10.0 failed with message fatal glibc error cpu does not support x86-64-v2 #4580

Closed
Aloush-ha opened this issue Jan 24, 2024 · 5 comments
Labels
bug Something isn't working untriaged Issues that have not yet been triaged

Comments

@Aloush-ha
Copy link

Aloush-ha commented Jan 24, 2024

What is the bug?
I had deploy opensearch with opensearch dashboard as container through docker-compose file in my VM
now I have version 2.8
when I try update it to version 2.10 or 2.11, I got this message from container log

fatal glibc error cpu does not support x86-64-v2

What is your host/environment?

  • Hypervision: Hyper V
  • OS: Ubuntu 20.04.5 LTS
  • Version focal

Docker version 24.0.7,

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 44 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 85
Model name: Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
Stepping: 7
Hypervisor vendor: Microsoft
Virtualization type: full

what should I do for that
thank you

@Aloush-ha Aloush-ha added bug Something isn't working untriaged Issues that have not yet been triaged labels Jan 24, 2024
@Swiddis
Copy link
Contributor

Swiddis commented Mar 26, 2024

@opensearch-project/admin This seems like an issue for core, can we transfer it there?

@Aloush-ha I suspect this is dependent on the specific docker compose you're trying to run and the issue won't be actionable as-is -- can you provide the docker files that you're using?

@bbarani
Copy link
Member

bbarani commented Mar 27, 2024

Seems to be more of build issue. Moving the issue to opensearch-build repo for triage.

@bbarani bbarani transferred this issue from opensearch-project/reporting Mar 27, 2024
@bbarani
Copy link
Member

bbarani commented Mar 27, 2024

@peterzhuamazon @prudhvigodithi Can you please take a look at this issue?

@peterzhuamazon
Copy link
Member

peterzhuamazon commented Mar 28, 2024

Hi @Aloush-ha,

We move from AL2 to AL2023 to increase glibc version and prepare for AL2 deprecation.

I am just surprised Ubuntu 20.04.5 LTS does not support it running on docker but we are using 20.04.6 so that maybe the issue? VERSION="20.04.6 LTS (Focal Fossa)"

This is more of a issue with https://github.com/amazonlinux/container-images or https://github.com/amazonlinux/amazon-linux-2023/, as opensearch is just using the existing image provided from them. I hope this is not a hardware issue specifically to your CPU tho.

You can test if you can run AL2023 image on your server to verify this.

aThanks.

@peterzhuamazon
Copy link
Member

Close this issue for now as the base OS image upgrade is planned and we will keep use AL2023 for the time being on 2.10+.

Feel free to re-open this issue if needed.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Issues that have not yet been triaged
Projects
None yet
Development

No branches or pull requests

4 participants