-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Kibana 8.7.0-snapshot with Node 18.x does not install on Ubuntu 18.04 #149438
Comments
Pinging @elastic/kibana-operations (Team:Operations) |
Context on upgrade: Node 16 is EOL on 2023-09-11 https://nodejs.org/en/blog/announcements/nodejs16-eol/ |
RHEL/CentOS 7 is also on the support matrix, and that uses glibc 2.17. That's the oldest supported distribution. So, to avoid removing platform support in a minor, a build of Node that uses glibc 2.17 would be required. It's deliberate that Node 18 requires glibc 2.28: https://nodejs.org/de/blog/announcements/v18-release-announce/#toolchain-and-compiler-upgrades
Interestingly that doesn't say it won't work on older distributions, just implies you'd have to build it yourself. |
This is going to be the key question if we can't identify any stable workarounds. Even if we tried to revert and delay the Node upgrade, we (almost certainly) won't have a major stack release before the Node 16 EOL anyway. Removing platform support in a minor isn't without precedent; it looks like we dropped Ubuntu 14.04 support in 6.7.0. But that was just one platform, and I don't know what our reasoning was for it at the time. cc @elastic/kibana-security |
Regarding Ubuntu 20.04 I should note that only 20.04.5 has glibc newer than 2.27 (2.31) so most people will require an upgrade there as well. https://wiki.ubuntu.com/FocalFossa/ReleaseNotes/ChangeSummary/20.04.5
Update for 20.04. |
I will go through our Kibana support matrix and update this comment with the full list of impacted OSs and if there is an upgrade path that the users can take.
|
I've been thinking about how to get ahead of this issue in the future. The best I think we can do is to check the list of supported Node.js platforms every time there's a new major release of Node.js. For example, here's the list of supported platforms for:
If we had checked this list once Node.js 18.0.0 was released (2022-04-19) we would have caught this issue around 17 months before EoL of Node.js 16 (2023-09-11) - which would almost satisfy our 18 months deprecation rule. |
I think in any case we'll most likely want to revert the upgrade to Node.js 18 in |
Closes #149438 We'll upgrade again once a suitable solution to the issue has been found.
Closes elastic#149438 We'll upgrade again once a suitable solution to the issue has been found.
The current Node 18 version used in Kibana main requires glibc_2.28. This is not available on ubuntu 18.04 (there are unstable hacks with building it from source, but it's not officially supported on the kernel shipped with ubuntu 18.04).
This makes the deb packages fail to install in ubuntu 18.04. Has to be fixed because Ubuntu 18.04 is on our support matrix as a supported OS.
#144012
This will probably also be true for other OSs that do not have GLIBC_2.28 (do not have a comprehensive list right now, but this one is the largest one in terms of userbase)
The text was updated successfully, but these errors were encountered: