Build Percona Software for MongoDB for Amazon Linux 2023

Description

Problem description

Building and running PSMDB and PBM on Amazon Linux 2023 is not trivial, and we don’t support it. The manual attempt to build it from source breaks since it is based on Fedora and not CentOS. An example of a failure:

root@ip-10-0-133-251 tasks]# yum install percona-server-mongodb.x86_64 Last metadata expiration check: 0:01:13 ago on Tue Nov 14 20:22:09 2023. Error: Problem: package percona-server-mongodb-7.0.2-1.el9.x86_64 requires percona-server-mongodb-server = 7.0.2-1.el9, but none of the providers can be installed conflicting requests nothing provides liblber.so.2()(64bit) needed by percona-server-mongodb-server-7.0.2-1.el9.x86_64 nothing provides liblber.so.2(OPENLDAP_2.200)(64bit) needed by percona-server-mongodb-server-7.0.2-1.el9.x86_64 nothing provides libldap.so.2()(64bit) needed by percona-server-mongodb-server-7.0.2-1.el9.x86_64 nothing provides libldap.so.2(OPENLDAP_2.200)(64bit) needed by percona-server-mongodb-server-7.0.2-1.el9.x86_64 (try to add ‘–skip-broken’ to skip uninstallable packages)

The lack of support for this OS breaks the migration path from Amazon Linux 2 to Amazon Linux 2023. AL2 worked before (although not supported officially) - as it was based on CentOS and not Fedora.

We have an important customer who wants to migrate from the Percona Server for MongoDB, but a lack of support for AL2023 blocks it.

Solution proposition

  1. Build an early version of Percona Software for MongoDB so the customer can start tests

  2. Build on top to make sure everything works same as for other OS.

Acceptance Criteria

  1. Percona Server for MongoDB starts

  2. Percona Backup for MongoDB starts

  3. PMM client starts and reports metrics.

  4. Customer can start testing in their pre-production environments.

relates to

Activity

Show:

radoslaw.szulgo February 10, 2025 at 4:44 PM

, , - to think this mostly relies on you. We need only PMM client package compatibility.

Sandra Romanchenko February 10, 2025 at 4:42 PM

Is it possible for you to sync with the PMM PM to see if they have the capacity to plan AL2023 support for upcoming or future releases? I can’t plan or add a task for the other team, nor can I verify this ticket since the acceptance criteria haven't been met, so I’d appreciate your help in checking with them. Otherwise, could you adjust the acceptance criteria to exclude PMM for now?

Sandra Romanchenko February 6, 2025 at 3:59 PM

Hi,

Acceptance Criteria include “PMM client starts and reports metrics“, however at the moment PMM client doesn’t support AL2023, so I can NOT proceed with this ticket verification.

Can you provide (and when?) PMM client for AL2023?

Otherwise we’d need to remove PMM client from acceptance criteria.

^^^

Evgeniy Patlan January 24, 2025 at 6:17 AM

All needed changes for all versions were added into repository

radoslaw.szulgo January 23, 2025 at 1:58 PM

Why not? Any troubles with that?

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

No

Needs Doc

No

Smart Checklist

Created October 29, 2024 at 3:52 PM
Updated February 18, 2025 at 2:04 PM
Resolved February 18, 2025 at 2:04 PM

Flag notifications