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

RHEL9 support #726

Closed
Stono opened this issue Jan 3, 2023 · 4 comments
Closed

RHEL9 support #726

Stono opened this issue Jan 3, 2023 · 4 comments
Labels
Distribution support Add / modify an (linux) distribution released Pull Request released | Issue is fixed

Comments

@Stono
Copy link

Stono commented Jan 3, 2023

Versions

  • NodeJS: 18
  • mongodb-memory-server-*: compat-openssl11
  • system: Rocky Linux 9

What is the Problem?

Hey,
I'm trying to update some of my apps to rocky linux 9 (rhel9) but this library errors:

#11 5.184      Error: Requested Version "5.0.8" is not available for "Rhel 9.1"! Available Versions: ">=4.4.2"
#11 5.184 ARM64(aarch64) support for rhel is only for rhel82 or higher
@Stono Stono added the bug label Jan 3, 2023
@Stono
Copy link
Author

Stono commented Jan 3, 2023

Not a bug! Enhancement :)

Just looked on https://www.mongodb.com/try/download/community-kubernetes-operator and they don't list Rhel9 as an option either :-(

@hasezoey hasezoey added Distribution support Add / modify an (linux) distribution and removed bug labels Jan 3, 2023
@hasezoey
Copy link
Member

hasezoey commented Jan 3, 2023

does a binary get downloaded and used when changing !/^8/.test(release) to false / commenting out the throwing error?

context:
https://github.com/nodkz/mongodb-memory-server/blob/b329fa6cf93c9c411dc3c86430ae213e779eda7a/packages/mongodb-memory-server-core/src/util/MongoBinaryDownloadUrl.ts#L316-L323

this change should be easily testable by going into node_modules/mongodb-memory-server-core/lib/util/MongoBinaryDownloadUrl.js changing the mentioned lines

@hasezoey
Copy link
Member

hasezoey commented Jan 6, 2023

with 6a38d17 (in 8.11.0) the comparison is updated to properly handle version above 8.2, though this will still make it use rhel82 binaries and i dont know if the will work on rhel 9, if anyone has a problem with it, then it will be changed again.

Note: there are only aarch64-rhel82 binaries, see https://www.mongodb.com/download-center/community/releases/archive so rhel 9 will use those binaries

@github-actions
Copy link

github-actions bot commented Jan 6, 2023

@github-actions github-actions bot added the released Pull Request released | Issue is fixed label Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Distribution support Add / modify an (linux) distribution released Pull Request released | Issue is fixed
Projects
None yet
Development

No branches or pull requests

2 participants