OpenSSL & Node.js deprecation notice in percona-mongosh release

Description

I've installed the mongosh release that is discussed in this Jira ticket, which i'm installing via pdmdb-6.0. This is giving me percona-mongodb-mongosh amd64 2.0.0. When I connect to one of my databases running percona server mongodb 5.0.20-17, I am getting these deprecation warnings in my mongosh header:

 

Deprecation warnings:

  - Using mongosh with OpenSSL versions lower than 3.0.0 is deprecated, and support may be removed in a future release.

  - Using mongosh with Node.js versions lower than 20.0.0 is deprecated, and support may be removed in a future release.

See [https://www.mongodb.com/docs/mongodb-shell/] for documentation on supported platforms.

 

Can these dependencies be upgraded to remove these deprecation warnings? I do on my local system have openssl 3.0.2-0ubuntu-1.12, so it's not a local dependency issue as far as I can tell. I am running Ubuntu Jammy 22.04

 

Environment

None

Activity

Show:

Crystal Fletcher January 14, 2025 at 5:35 PM

Well, the original ticket was from 14 months ago, using Percona Mongosh 2.0.0 & Percona MongoDB Server 5.0.20

We long since moved on, & are currently using Mongosh 2.3.2 & MongoDB Server 6.0.16. I’m not currently experiencing this issue, nor can I tell you when it went away to help bisect the git commit that fixed the issue

I do happen to have node installed currently
node --version
v23.3.0
And upon removing the package that pulled in node as a dependency (because I don’t need that package anymore), I still don’t receive any errors at this time, so my prior educated guess no longer applies

& I also have an updated version of OpenSSL, in case that matters
openssl --version
OpenSSL 3.4.0 22 Oct 2024 (Library: OpenSSL 3.4.0 22 Oct 2024)

Alex Miroshnychenko January 14, 2025 at 7:49 AM

Hi ,
We have tried to reproduce this issue but without success.
Since PSMDB 5.0 is EOL please let us know if the issue is reproducible with the recent versions of PSMDB.

Aaditya Dubey November 30, 2023 at 10:38 AM
Edited

Hi ,

Sending the concern to engineering for further review and updates.

Crystal Fletcher November 27, 2023 at 2:52 PM

For Node.js, it looks like I don't have it installed (or at least linked explicitly in my path), which makes sense as I don't do node dev work:

$ node --version
fish: Unknown command: node

For OpenSSL, I have version 3.2.0 installed:

$ openssl version
OpenSSL 3.2.0 23 Nov 2023 (Library: OpenSSL 3.2.0 23 Nov 2023)

Aaditya Dubey November 24, 2023 at 8:39 AM

Hi ,

Thank you for the report.
Looks like it is expected, Please check this https://jira.mongodb.org/browse/MONGOSH-1553
Also please let us know exact version of Node.js &  OpenSSL which is being run on your system?

Cannot Reproduce

Details

Assignee

Reporter

Needs QA

Yes

Needs Packaging

Yes

Components

Priority

Smart Checklist

Created November 6, 2023 at 3:51 PM
Updated January 23, 2025 at 8:12 AM
Resolved January 23, 2025 at 8:12 AM