Skip to content

Add transport secret consumer finalizer for credential rotation#660

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#660
lmiccini wants to merge 3 commits into
openstack-k8s-operators:mainfrom
lmiccini:transport-secret-consumer-finalizer

Conversation

@lmiccini

@lmiccini lmiccini commented Jun 17, 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 ASBishop and fmount June 17, 2026 09:35
@openshift-ci

openshift-ci Bot commented Jun 17, 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 eharney 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/cac81e63250e43e2a1486b50bda3fffb

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 14m 11s
cinder-operator-kuttl POST_FAILURE in 50m 43s
✔️ cinder-operator-tempest SUCCESS in 1h 53m 30s

@lmiccini lmiccini force-pushed the transport-secret-consumer-finalizer branch from 6e38f18 to 4f18186 Compare June 17, 2026 12:06
@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/cinder-operator for 660,4f18186f1584d052df1e1969e46367707299d378

@lmiccini lmiccini force-pushed the transport-secret-consumer-finalizer branch from 4f18186 to 8bd2367 Compare June 17, 2026 12:14
@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/b7959af9011e47c0bb23415d73ed1d7c

openstack-k8s-operators-content-provider FAILURE in 6m 18s
⚠️ cinder-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cinder-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

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 8bd2367 to c122102 Compare June 17, 2026 16:08
@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

Copy link
Copy Markdown
Contributor Author

recheck

@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/isNotificationRotation guards with
shared FinalizeTransportSecretRotation helper and add allSubCRsStable
guard for same-reconcile race prevention.

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/cinder-operator for 660,c545210100aef052836598be96be471d1ec8e287

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>
@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/precommit-check 1f67901 link true /test precommit-check
ci/prow/images 1f67901 link true /test images
ci/prow/functional 1f67901 link true /test functional

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.

@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/cinder-operator for 660,1f6790124969cc2c05efc863a877e57771a1f638

@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