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

RHEL 9 dependencies could be wrong #814

Closed
johrstrom opened this issue May 16, 2023 · 3 comments
Closed

RHEL 9 dependencies could be wrong #814

johrstrom opened this issue May 16, 2023 · 3 comments

Comments

@johrstrom
Copy link
Contributor

johrstrom commented May 16, 2023

There seems to be an issue with how RHEL/9 is documented. See this discourse topic.

https://discourse.openondemand.org/t/ood3-installation-on-rhel9/2692/2

I'm finding that our CI that builds our packages runs ruby 3.0 which is fine, but nodejs version is actually 16. At least in EL 9.1.

From the discourse topic, it could be the case that these packages have been updated in other minor versions of EL 9 and/or streams changed.

┆Issue is synchronized with this Asana task by Unito

@johrstrom
Copy link
Contributor Author

I think I've confirmed this. There's no need to enable modules for RHEL/9 - the base packages of ruby 3.0 and nodejs 16 are the packages that you require.

@treydock
Copy link
Contributor

What happens here is RHEL9 has fewer modules than RHEL8. When RHEL8 came out they started with multiple versions of Ruby, NodeJS, etc. With RHEL9 they dialed that back a bit so first few releases of RHEL9 only had a single module for most things and those default modules in OnDemand's case is Ruby 3.1 and NodeJS 18. If RHEL9 comes out with like ruby:3.2 module and we need that one, then there will be extra steps.

Example:

$ docker run --rm -it --platform linux/amd64 rockylinux:9 /bin/bash
[root@c6762c66b85d /]# dnf install -y https://yum.osc.edu/ondemand/3.0/ondemand-release-web-3.0-1.noarch.rpm epel-release
[root@c6762c66b85d /]# dnf install -y ondemand

Normally if DNF was enabling a non-default module, it would output that but the above steps don't output anything about modules as we are using all the defaults.

Looks like default Ruby is 3.1 and nodejs is 18. I Think the fact we are seeing 3.1 is a bug in how downstream RHEL clones handle modules. I'm fairly certain RHEL 9 supports both Ruby 3.0 and 3.1 but I think the clones like Alma and Rocky only support 3.1. https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle#rhel9_full_life_application_streams

@johrstrom
Copy link
Contributor Author

This was fixed in #904.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants