Closed asmodianx closed 1 year ago
Steps to recreate - install mongodb v5 on a non-compliant x64 cpu and crashes immediately making upgrading beyond graylog v4 impossible.
What is the issue here? This isn't something the Graylog team can control, it's because of Mongo requirements.
Most CPUs in the last 10 years have AVX support. The problem I've seen is that if you're running Mongo on top of a virtualized system, it's the hypervisor that isn't exposing AVX to the guests.
@asmodianx S
Same issue but a lot more to do for us.
I closed my post because there not much I can do at this moment.
https://github.com/Graylog2/graylog-docker/issues/241
@loganmarchione
This isn't something the Graylog team can control, it's because of Mongo requirements.
I concur, one option were looking at is Building MongoDB.
https://github.com/mongodb/mongo/blob/master/docs/building.md
To see if we can go around this issue found here.
https://github.com/mongodb/docs/commit/7f1143f8356e2ee8d8efbdea292da5305896a4ad
Suggestion: update the requirements and install documentation if only to cut down on complaints?
They just added this yesterday.
Warning: MongoDB 5.0 requires use of the AVX instruction set. For further details, see the MongoDB documentation.
That will have to do for now. Thanks.
On Sat, Dec 10, 2022 at 9:12 PM Logan Marchione @.***> wrote:
They just added this https://go2docs.graylog.org/5-0/planning_your_deployment/upgrading_to_mongodb_5.x_and_6.x.htm#standalone-mongodb yesterday.
Warning: MongoDB 5.0 requires use of the AVX instruction set. For further details, see the MongoDB documentation https://www.mongodb.com/docs/v5.0/administration/production-notes/.
— Reply to this email directly, view it on GitHub https://github.com/Graylog2/graylog2-server/issues/14167#issuecomment-1345444356, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZCU32MPRGQQFGZV2GIPZDWMVBA3ANCNFSM6AAAAAASYVS4XA . You are receiving this because you were mentioned.Message ID: @.***>
-- -=- Joel Kershner -=- @.***
We updated our documentation with a note about the AVX CPU instruction requirement for newer MongoDB versions. Thank you!
https://www.mongodb.com/docs/manual/administration/production-notes/ x86_64
TL;DR - This requirement for mongodb v5 breaks a lot of existing installations.
MongoDB requires the following minimum x86_64 microarchitectures: [3]
Starting in MongoDB 5.0, mongod, mongos, and the legacy mongo shell no longer support x86_64 platforms which do not meet this minimum microarchitecture requirement.
ARM64
MongoDB on arm64 requires the ARMv8.2-A or later microarchitecture.
Starting in MongoDB 5.0, mongod, mongos, and the legacy mongo shell no longer support arm64 platforms which do not meet this minimum microarchitecture requirement.