Skip to content

chore(e2e): drop obsolete plugin Service finalizer workaround from upgrade test - #11237

Merged
mnencia merged 2 commits into
mainfrom
dev/drop-plugin-finalizer-workaround
Jul 24, 2026
Merged

mnencia merged 2 commits into
mainfrom
dev/drop-plugin-finalizer-workaround

Conversation

@mnencia

@mnencia mnencia commented Jul 21, 2026 •

Copy link
Copy Markdown
Member

PR #10850 worked around the operator setting a cnpg.io/cleanupPlugin finalizer on the plugin barman-cloud Service, which would otherwise wedge cnpg-system in Terminating state on namespace deletion. The plugin upgrade e2e spec deleted the plugin Service ahead of time to let the operator clear it first.

PR #10940 removed that finalizer from new Services entirely, but the spec always upgrades between operator builds generated from the current source tree, so it already carries the fix and the workaround is stale there.

reset_operator_namespace in hack/testing-tools keeps the same pre-deletion step, since deploy_operator_from_manifest can target an arbitrary released operator version, and every version released so far still sets the old finalizer.

@mnencia
mnencia requested a review from a team July 21, 2026 10:16
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. chore Intangible work to reduce technical debt E2E tests E2E tests tickets for easy triage on release process labels Jul 21, 2026
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.28 release-1.29 release-1.30 labels Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@mnencia
mnencia force-pushed the dev/drop-plugin-finalizer-workaround branch from 92375f2 to c3ca32d Compare July 21, 2026 11:56
@mnencia mnencia changed the title chore(e2e): drop obsolete plugin Service finalizer workaround chore(e2e): drop obsolete plugin Service finalizer workaround from upgrade test Jul 21, 2026
@mnencia
mnencia force-pushed the dev/drop-plugin-finalizer-workaround branch from c3ca32d to 9e57bf8 Compare July 21, 2026 12:11
@GabriFedi97
GabriFedi97 force-pushed the dev/drop-plugin-finalizer-workaround branch from 9e57bf8 to 3d35138 Compare July 22, 2026 13:44
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 22, 2026
@mnencia
mnencia force-pushed the dev/drop-plugin-finalizer-workaround branch 2 times, most recently from 61e7f4d to 59c966b Compare July 23, 2026 08:42
mnencia added 2 commits July 24, 2026 14:06
…grade test

PR #10850 worked around the operator setting a cnpg.io/cleanupPlugin
finalizer on the plugin barman-cloud Service, which would otherwise
wedge cnpg-system in Terminating state on namespace deletion. The
plugin upgrade e2e spec deleted the plugin Service ahead of time to
let the operator clear it first.

PR #10940 removed that finalizer from new Services entirely, but the
spec always upgrades between operator builds generated from the
current source tree, so it already carries the fix and the workaround
is stale there.

reset_operator_namespace in hack/testing-tools keeps the same
pre-deletion step, since deploy_operator_from_manifest can target an
arbitrary released operator version, and every version released so
far still sets the old finalizer.

Signed-off-by: Marco Nenciarini <[email protected]>
@NiccoloFei
NiccoloFei force-pushed the dev/drop-plugin-finalizer-workaround branch from 59c966b to 2b90ef2 Compare July 24, 2026 12:06
@NiccoloFei

Copy link
Copy Markdown
Collaborator

/test ft=upgrade

@github-actions

Copy link
Copy Markdown
Contributor

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Jul 24, 2026
@mnencia
mnencia merged commit aae5635 into main Jul 24, 2026
40 of 41 checks passed
@mnencia
mnencia deleted the dev/drop-plugin-finalizer-workaround branch July 24, 2026 15:17
cnpg-bot pushed a commit that referenced this pull request Jul 24, 2026
…grade test (#11237)

PR #10850 worked around the operator setting a cnpg.io/cleanupPlugin
finalizer on the plugin barman-cloud Service, which would otherwise
wedge cnpg-system in Terminating state on namespace deletion. The plugin
upgrade e2e spec deleted the plugin Service ahead of time to let the
operator clear it first.

PR #10940 removed that finalizer from new Services entirely, but the
spec always upgrades between operator builds generated from the current
source tree, so it already carries the fix and the workaround is stale
there.

reset_operator_namespace in hack/testing-tools keeps the same
pre-deletion step, since deploy_operator_from_manifest can target an
arbitrary released operator version, and every version released so far
still sets the old finalizer.

Signed-off-by: Marco Nenciarini <[email protected]>
(cherry picked from commit aae5635)
cnpg-bot pushed a commit that referenced this pull request Jul 24, 2026
…grade test (#11237)

PR #10850 worked around the operator setting a cnpg.io/cleanupPlugin
finalizer on the plugin barman-cloud Service, which would otherwise
wedge cnpg-system in Terminating state on namespace deletion. The plugin
upgrade e2e spec deleted the plugin Service ahead of time to let the
operator clear it first.

PR #10940 removed that finalizer from new Services entirely, but the
spec always upgrades between operator builds generated from the current
source tree, so it already carries the fix and the workaround is stale
there.

reset_operator_namespace in hack/testing-tools keeps the same
pre-deletion step, since deploy_operator_from_manifest can target an
arbitrary released operator version, and every version released so far
still sets the old finalizer.

Signed-off-by: Marco Nenciarini <[email protected]>
(cherry picked from commit aae5635)
cnpg-bot pushed a commit that referenced this pull request Jul 24, 2026
…grade test (#11237)

PR #10850 worked around the operator setting a cnpg.io/cleanupPlugin
finalizer on the plugin barman-cloud Service, which would otherwise
wedge cnpg-system in Terminating state on namespace deletion. The plugin
upgrade e2e spec deleted the plugin Service ahead of time to let the
operator clear it first.

PR #10940 removed that finalizer from new Services entirely, but the
spec always upgrades between operator builds generated from the current
source tree, so it already carries the fix and the workaround is stale
there.

reset_operator_namespace in hack/testing-tools keeps the same
pre-deletion step, since deploy_operator_from_manifest can target an
arbitrary released operator version, and every version released so far
still sets the old finalizer.

Signed-off-by: Marco Nenciarini <[email protected]>
(cherry picked from commit aae5635)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases chore Intangible work to reduce technical debt E2E tests E2E tests tickets for easy triage on release process lgtm This PR has been approved by a maintainer no-issue ok to merge 👌 This PR can be merged release-1.28 release-1.30 size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants