-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Roadmap to get this module in better shape #696
Comments
Task: As of now I think only Ubuntu 20.04 have mongodb in their repos, and even Ubuntu 20.04 only have mongodb 3.8 We have to decide what mongodb major version should be the new default. DONE |
EDIT: decided to keep the globals class and remove all params classes |
Task: |
Task: See #677, but I think we should solve this by making side by side providers that use the new command. The old mongo command is removed in MongoDB 6.x |
Task: docs https://www.mongodb.com/docs/v4.4/reference/configuration-options/#file-format EDIT: The existing config is actually yaml. It's just a bit strange looking with dot notation in keys. |
Task: The use of Apt::Key is deprecated in the latest Debian and Ubuntu releases. DONE |
Task: https://github.com/voxpupuli/puppet-mongodb/blob/master/manifests/mongos/config.pp#L65 DONE |
Suggested task: There is currently a mix of module data and the @h-haaks I'm tasked with upgrading our existing MongoDB setup to version 6.x, it is currently using version 4.4. So I'm currently invested to get this module into shape and get in proper support for 6.x. DONE |
@stevenpost I'm kind of in the same spot. I was thinking about creating a mongodb ( init.pp ) class and move away from globals. If you like to help feel free to have a look at it. |
Do you want to keep the module backwards compatible between 4.x and 5.x? I guess not, since it's a major release. How far back do we need to support old versions of MongoDB? |
See also #695 As from version 6.0, mongo cli is removed and replaced by mongosh. Mongosh does work with version 4.4. Moving to mongosh only will be the first big step to get the newer versions working with this module. Other changes like support for newer OS versions, move away from params.pp will probably not impact mongodb version compatibility ? Also, mongodb 4.4 reached end of life 2 weeks ago (https://www.mongodb.com/legal/support-policy/lifecycles) And one can always put in the docs, to use this module current version (v4.2.0) for mongo prior to 5.x. |
Considering 4.4 has reached EOL, I would drop support for it, and only support 5.0 and up. |
Oh right. |
Last release is a bit old, Released Dec 7th 2022. Then we can concentrate on 5.x+ only support .. |
If any of you know apt, feel free to have a look at switching apt::key to apt::keyring. |
I'm looking to update our use the module to the latest commit in master. I like @witjoh's suggestion of releasing a maintenance 4.x version. I started looking into all the OS support and versions, yesterday. From what I can tell, no distribution ships a supported release, they either don't ship MongoDB at all (most) or outdated versions (e.g. Debian 10). Dropping support for old versions would significantly simplify things. For example, we could easily change the I'll see if I have some spare time to tackle the apt keyring issue and test this on a Debian system. My current focus is RHEL. |
@stevenpost We can't do any more 4.x releases because 'backwards-incompatible' changes has already been merged into master. |
@h-haaks I would be very careful with releasing that as a 5.0.0. If we break anything else with the move to mongosh, we need to bump the major version again. Also Debian 10 is supported by the Debian LTS team till June 30th, see https://wiki.debian.org/LTS. If going with Extended LTS, Jessie is still supported till 2025-06-30, see https://wiki.debian.org/LTS/Extended. I'd keep Debian 10 support as long as MongoDB supports it, and we don't need to do some special cases. #699 looks good to me. |
It already is yaml, see my comment at #706 (comment) |
You are absolutly right @stevenpost |
Task: |
Task: puppet-mongodb/manifests/params.pp Line 44 in b4f0d17
But in the repo class os family Linux uses Redhat repos. Switch to amazon repo |
@h-haaks Can you take a look at the acceptance tests for Debian 11 with MongoDB 4.4? They always pass because no test is executed. |
Thats done on purpose because 4.4 is not supported on debian 11 I see that some of the 4.4 client tools are available but mongodb-org-server is not |
Finally version 6.0.0 is released to forge. As the module now support the latest mongodb versions and the code is in much better shape I see no reason to keep this issue open any more. |
This module needs a few major changes to support later OS versions and mongodb versions.
This issue is created to see if we could gather around a set of smaller tasks to move the module in the right direction.
Feel free to add comments here, and I'll try to make an ordered list of tasks out of it.
Tasks
mongob default versions:
Mongos as systemd service #698
The text was updated successfully, but these errors were encountered: