Skip to content

Rabbitmq vhost and user support - #511

Merged
openshift-merge-bot[bot] merged 4 commits into
openstack-k8s-operators:mainfrom
lmiccini:rabbitmq_vhosts
Feb 6, 2026
Merged

openshift-merge-bot[bot] merged 4 commits into
openstack-k8s-operators:mainfrom
lmiccini:rabbitmq_vhosts

Conversation

@lmiccini

@lmiccini lmiccini commented Dec 16, 2025 •

Copy link
Copy Markdown
Contributor

Add new messagingBus and notificationsBus interfaces to hold cluster,
user and vhost names for optional usage.
The controller adds these values to the TransportURL create request when present.

Additionally, we migrate RabbitMQ cluster name to RabbitMq config struct
using DefaultRabbitMqConfig from infra-operator to automatically
populate the new Cluster field from legacy RabbitMqClusterName.

Example usage:

  spec:
    messagingBus:
      cluster: rpc-rabbitmq
      user: rpc-user
      vhost: rpc-vhost
    notificationsBus:
      cluster: notifications-rabbitmq
      user: notifications-user
      vhost: notifications-vhost

Jira: https://issues.redhat.com/browse/OSPRH-23748

Depends-on: openstack-k8s-operators/openstack-operator#1797

@openshift-ci
openshift-ci Bot requested review from fmount and viroel December 16, 2025 15:41
Comment thread api/v1beta1/manila_types.go Resolved
@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/21b6a7a5e380419f85e577168460b770

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 06m 47s
❌ manila-operator-kuttl FAILURE in 12m 47s
✔️ manila-operator-tempest SUCCESS in 1h 42m 01s

Comment thread api/v1beta1/manila_types.go Resolved
@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/d77952d29e284157b2890da54a2e198c

❌ openstack-k8s-operators-content-provider FAILURE in 10m 29s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@lmiccini
lmiccini force-pushed the rabbitmq_vhosts branch 2 times, most recently from 66beb02 to 047d403 Compare December 19, 2025 12:07
@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/2b8edd07ef724e70a90816abf2295224

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 05m 56s
❌ manila-operator-kuttl RETRY_LIMIT in 5m 55s
✔️ manila-operator-tempest SUCCESS in 1h 36m 29s

@softwarefactory-delete-me

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/manila-operator for 511,80f184f8b22b110a7420b41cb88ac4e122cbe826

@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ce1d14bcadca4b6191c95122afb52fd9

❌ openstack-k8s-operators-content-provider FAILURE in 10m 14s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@lmiccini
lmiccini force-pushed the rabbitmq_vhosts branch 2 times, most recently from 1672265 to 5725eba Compare January 20, 2026 12:42
@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/3fff44f288374e50a029a74527798c31

❌ openstack-k8s-operators-content-provider FAILURE in 10m 42s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/956c4bf1d71c445a93c70d9660cf58e3

❌ openstack-k8s-operators-content-provider FAILURE in 10m 03s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@lmiccini
lmiccini force-pushed the rabbitmq_vhosts branch 4 times, most recently from 7dcedb5 to e697440 Compare January 21, 2026 12:38
@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/36374d2264a7414798678b524f50b1c5

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 04m 31s
✔️ manila-operator-kuttl SUCCESS in 43m 10s
❌ manila-operator-tempest FAILURE in 1h 38m 25s

Add new messagingBus and notificationsBus interfaces to hold cluster,
user and vhost names for optional usage.
The controller adds these values to the TransportURL create request when present.

Additionally, we migrate RabbitMQ cluster name to RabbitMq config struct
using DefaultRabbitMqConfig from infra-operator to automatically
populate the new Cluster field from legacy RabbitMqClusterName.

Finally, we use the cinder-operator pattern to fetch the latest
statefulset copy and not rely on the cached copy (should help with flaky ci).

Example usage:

  spec:
    messagingBus:
      cluster: rpc-rabbitmq
      user: rpc-user
      vhost: rpc-vhost
    notificationsBus:
      cluster: notifications-rabbitmq
      user: notifications-user
      vhost: notifications-vhost

Jira: https://issues.redhat.com/browse/OSPRH-23748
@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/119ff103de854e7ca2d4d3e3c23ec9ea

❌ openstack-k8s-operators-content-provider FAILURE in 9m 52s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@lmiccini

lmiccini commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

recheck

@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8e1d0ef8d1784096b586a7213b3ef4c1

❌ openstack-k8s-operators-content-provider FAILURE in 9m 33s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/c1629c28bbb44f6095241af558b73f4e

❌ openstack-k8s-operators-content-provider FAILURE in 10m 01s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-delete-me

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/openstack-operator for 1779,66dc5cf2eea092b8f7b3917e876cb42cc379e435

@fmount

fmount commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

recheck

@softwarefactory-delete-me

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/openstack-operator for 1779,66dc5cf2eea092b8f7b3917e876cb42cc379e435

@lmiccini

lmiccini commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

recheck

@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/f7ecd78bc72643a6a2decd7f221a632e

❌ openstack-k8s-operators-content-provider FAILURE in 12m 07s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@fmount

fmount commented Feb 4, 2026

Copy link
Copy Markdown
Collaborator

recheck

@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/5a5141cb6e0c4f87b4d137adf92762bb

❌ openstack-k8s-operators-content-provider FAILURE in 9m 55s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-delete-me

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://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/af11c2f387ba4e4da7b587c0b5cf7ef3

❌ openstack-k8s-operators-content-provider FAILURE in 13m 11s
⚠️ manila-operator-kuttl SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ manila-operator-tempest SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-delete-me

Copy link
Copy Markdown

This change depends on a change that failed to merge.

Change openstack-k8s-operators/openstack-operator#1779 is needed.

@lmiccini

lmiccini commented Feb 4, 2026

Copy link
Copy Markdown
Contributor Author

recheck

@fmount fmount left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci

openshift-ci Bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fmount, lmiccini

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

The pull request process is described 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

@openshift-ci openshift-ci Bot added the approved label Feb 6, 2026
@fmount

fmount commented Feb 6, 2026

Copy link
Copy Markdown
Collaborator

/override ci/prow/precommit-check

@openshift-ci

openshift-ci Bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

@fmount: Overrode contexts on behalf of fmount: ci/prow/precommit-check

Details

In response to this:

/override ci/prow/precommit-check

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.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 72969ec into openstack-k8s-operators:main Feb 6, 2026
1 check passed
@openshift-ci

openshift-ci Bot commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

@lmiccini: The following test 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 b0fc51f link unknown /test precommit-check

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.

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.

3 participants