Skip to content

Add transport secret consumer finalizer for credential rotation#712

Closed
lmiccini wants to merge 3 commits into
openstack-k8s-operators:mainfrom
lmiccini:transport-secret-consumer-finalizer
Closed

Add transport secret consumer finalizer for credential rotation#712
lmiccini wants to merge 3 commits into
openstack-k8s-operators:mainfrom
lmiccini:transport-secret-consumer-finalizer

Conversation

@lmiccini

@lmiccini lmiccini commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Add consumer finalizer management for transport URL secrets, modeled
after the existing ApplicationCredential consumer finalizer pattern.
This ensures the TransportURL controller waits for all consumers to
roll out with new credentials before releasing old RabbitMQ users
during rotation.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Depends-on: openstack-k8s-operators/infra-operator#606

@openshift-ci openshift-ci Bot requested review from jagee and mauricioharley June 16, 2026 14:09
@openshift-ci

openshift-ci Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: lmiccini
Once this PR has been reviewed and has the lgtm label, please assign xek for approval. For more information see the Code Review Process.

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

Details 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

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/3218c36e556f4e75b0fc3db4f0a21435

openstack-k8s-operators-content-provider FAILURE in 10m 20s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/fcd9512f94a4412f8e8c3ed21d8e16f8

openstack-k8s-operators-content-provider FAILURE in 14m 49s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@lmiccini

Copy link
Copy Markdown
Contributor Author

recheck

@centosinfra-prod-github-app

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/infra-operator#606 is needed.

@lmiccini lmiccini force-pushed the transport-secret-consumer-finalizer branch from 329b72e to 8c5e1ce Compare June 16, 2026 16:08
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/9b5d079ac7e642698fdd6b3bc948ce26

openstack-k8s-operators-content-provider FAILURE in 9m 55s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@lmiccini lmiccini force-pushed the transport-secret-consumer-finalizer branch 2 times, most recently from 3a128ea to 724221b Compare June 16, 2026 16:34
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/bdaf5f00157b47909b9e9d2ffea4d591

openstack-k8s-operators-content-provider FAILURE in 11m 07s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@centosinfra-prod-github-app

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/infra-operator#606 is needed.

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/d8f21dabfbea4f8db3c67b3807f3fd29

openstack-k8s-operators-content-provider FAILURE in 13m 38s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/ef639dc5243148ef90600a3d1d80dde9

openstack-k8s-operators-content-provider FAILURE in 13m 22s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/49ff53932fc641a0b468d863f5e8596d

openstack-k8s-operators-content-provider FAILURE in 13m 31s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@lmiccini lmiccini force-pushed the transport-secret-consumer-finalizer branch 4 times, most recently from 11752b8 to eb1d9b5 Compare June 17, 2026 18:47
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/e0ef107ceb1142cd86d01092d2469982

openstack-k8s-operators-content-provider FAILURE in 10m 02s
⚠️ keystone-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)
⚠️ keystone-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider (non-voting)

@lmiccini lmiccini force-pushed the transport-secret-consumer-finalizer branch from eb1d9b5 to ed60da3 Compare June 18, 2026 07:12
Add consumer finalizer management for transport URL secrets, modeled
after the existing ApplicationCredential consumer finalizer pattern.
This ensures the TransportURL controller waits for all consumers to
roll out with new credentials before releasing old RabbitMQ users
during rotation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lmiccini lmiccini force-pushed the transport-secret-consumer-finalizer branch from ed60da3 to 8802603 Compare June 18, 2026 07:25
@openshift-ci

openshift-ci Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Replace inline isTransportRotation guard with shared
FinalizeTransportSecretRotation helper.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@centosinfra-prod-github-app

Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/keystone-operator for 712,97e44e18787734460806c93468f696c094272fe3

Point lib-common at fix-createorpatch-readiness branch which fixes
false-positive readiness after CreateOrPatch due to informer cache
lag. Without this fix, statefulset/deployment IsReady can return true
on stale cached data where Generation == ObservedGeneration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@centosinfra-prod-github-app

Copy link
Copy Markdown

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/keystone-operator for 712,90ee48e445e004a7096adfc80aaef94901c718ad

@openshift-ci

openshift-ci Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

@lmiccini: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/images 90ee48e link true /test images
ci/prow/precommit-check 90ee48e link true /test precommit-check
ci/prow/functional 90ee48e link true /test functional
ci/prow/keystone-operator-build-deploy-kuttl 90ee48e link true /test keystone-operator-build-deploy-kuttl

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@lmiccini lmiccini closed this Jun 22, 2026
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.

1 participant