Skip to content

K8SPG-254: Fix major upgrade on Openshift #826

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

Merged
merged 1 commit into from
Jun 27, 2024
Merged

K8SPG-254: Fix major upgrade on Openshift #826

merged 1 commit into from
Jun 27, 2024

Conversation

egegunes
Copy link
Contributor

@egegunes egegunes commented Jun 27, 2024

K8SPG-254 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:

create PGUpgrade: pgupgrades.postgres-operator.crunchydata.com "12-to-13" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>

Cause:
Operator needs to permission to upgrade PerconaPGUpgrade finalizers.

Solution:
Add permission.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PG version?
  • Does the change support oldest and newest supported Kubernetes version?

@JNKPercona
Copy link
Collaborator

Test name Status
custom-extensions passed
demand-backup passed
init-deploy passed
major-upgrade passed
monitoring passed
one-pod passed
operator-self-healing passed
pitr passed
scaling passed
scheduled-backup passed
self-healing passed
start-from-backup passed
tablespaces passed
telemetry-transfer passed
upgrade-consistency passed
upgrade-minor passed
users passed
We run 17 out of 17

commit: b9a3ccd
image: perconalab/percona-postgresql-operator:PR-826-b9a3ccd5e

@hors hors merged commit 8d230bb into main Jun 27, 2024
15 checks passed
@hors hors deleted the K8SPG-254 branch June 27, 2024 12:43
hors added a commit that referenced this pull request Jun 28, 2024
* K8SPG-597 Update images and versions for 2.4.0 release (#819)

* K8SPG-597 Update images and versions for 2.4.0 release

* supply minor tag versions

* update the image in upgrade.yaml

* K8SPG-600: Fix failed backup status (#820)

* Fix failed backup status

* fix lint

* fix fmt

* fix regression and status update

* K8SPG-518: Fix WAL archiving on Openshift (#823)

* K8SPG-597 Fixing test case upgrade-minor to work with postures images which have minor numbers in the image name (#821)

* We now have env var PG_VER so no need to calculate the version from the image name, also, the calculation was buggy when the version contains a dot and a minor number, e.g. 16.3

* Refactor upgrade-cluster.yaml to use PG_VER environment variable instead of calculating version from image name

* K8SPG-597 - Update monitoring test (#824)

* K8SPG-254: Fix major upgrade on Openshift (#826)

---------

Co-authored-by: Andrii Dema <a.dema@jazzserve.com>
Co-authored-by: Ege Güneş <ege.gunes@percona.com>
Co-authored-by: Tomislav Plavcic <tomislav.plavcic@percona.com>
Co-authored-by: Viacheslav Sarzhan <slava.sarzhan@percona.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants