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

ROX-16099: new DBs will use a LTS aurora-postgresql version #900

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

vladbologa
Copy link
Contributor

@vladbologa vladbologa commented Mar 22, 2023

Description

New DBs will be provisioned with aurora-sqlpostgres engine version 13.9, which is a LTS (long term support) version. To stay on the LTS version, the auto upgrade minor version feature is now turned off.

This does not change existing DBs. As part of ROX-16099, I will monitor the upgrade state on AWS and disable auto upgrade on all instances, when they are all on v13.9.

Checklist (Definition of Done)

- [ ] Unit and integration tests added

  • Added test description under Test manual
  • Documentation added if necessary (i.e. changes to dev setup, test execution, ...)
  • CI and all relevant tests are passing
  • Add the ticket number to the PR title if available, i.e. ROX-12345: ...
  • Discussed security and business related topics privately. Will move any security and business related topics that arise to private communication channel.

Test manual

Tested in a local cluster, by running:
INSTALL_OPERATOR=NO MANAGED_DB_ENABLED=TRUE ./dev/env/scripts/up.sh
./scripts/create-central.sh

And then waiting for a Central to start successfully.

To test locally, I had to make the DB publicly accessible. For this purpose, I added a new VPC, security group and DB subnet group in dev on AWS.

# To run tests locally run:
make db/teardown db/setup db/migrate
make ocm/setup OCM_OFFLINE_TOKEN=<ocm-offline-token> OCM_ENV=development
make verify lint binary test test/integration

@vladbologa vladbologa temporarily deployed to development March 22, 2023 11:09 — with GitHub Actions Inactive
@vladbologa vladbologa requested review from kovayur and a team March 22, 2023 11:12
@vladbologa vladbologa changed the title ROX-16099: new DBs will use an LTS aurora-postgresql version ROX-16099: new DBs will use a LTS aurora-postgresql version Mar 22, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Mar 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kovayur, vladbologa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vladbologa vladbologa merged commit ed8b46c into main Mar 22, 2023
@vladbologa vladbologa deleted the vbologa/update-rds-postgres-version branch March 22, 2023 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants