Skip to content

Conversation

@lmiccini
Copy link
Contributor

@lmiccini lmiccini commented Jan 26, 2026

Add top-level MessagingBus and NotificationsBus configuration to
OpenstackControlPlane API to replace service-specific RabbitMQ settings.
This provides a centralized way to configure messaging infrastructure
while maintaining backward compatibility.

API changes:

  • Add MessagingBus field for RPC communication configuration (username,
    vhost, cluster)
  • Add NotificationsBus field for notifications configuration
  • Deprecate NotificationsBusInstance in favor of NotificationsBus.Cluster
  • Remove default values for deprecated rabbitMqClusterName fields across
    all service CRDs to enable proper migration

Webhook changes:

  • Update ValidateCreate and ValidateUpdate to return warnings in addition
    to errors
  • Add centralized validation for deprecated fields with warning messages
  • Add ValidateMessagingBusConfig validation
  • Update service validation calls to capture warnings from downstream
    operators

Controller changes:

  • Add migration logic to automatically populate NotificationsBus.Cluster
    from deprecated NotificationsBusInstance field during reconciliation
  • Migration occurs before service reconciliation to ensure services
    inherit migrated values

Service integration:

  • Update all service templates (barbican, cinder, designate, glance,
    heat, ironic, keystone, manila, neutron, nova, octavia, swift,
    telemetry, watcher) to support new messaging bus fields
  • Services inherit top-level configuration but can override with
    service-specific settings

Testing:

  • Add comprehensive migration tests for deprecated field handling
  • Add RabbitMQ cascading configuration tests
  • Update functional tests for new configuration structure

Additional fixes:

  • Fix pin-bundle-images.sh to handle operators with replace directives
    by forcing quay.io for replaced operators and adding fallback logic
    when bundles are not available in custom registries

Co-Authored-By: Claude Sonnet 4.5 [email protected]

Depends-on: openstack-k8s-operators/data-plane-adoption#1222

@openshift-ci openshift-ci bot requested review from rebtoor and stuggi January 26, 2026 12:18
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 26, 2026

[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 abays 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

@softwarefactory-project-zuul
Copy link

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/b2a3d439c8814f05b0c2f08b6a6b9c6f

openstack-k8s-operators-content-provider FAILURE in 9m 59s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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/fd5125ae7eae429eb2db4f62c0e41a23

openstack-k8s-operators-content-provider FAILURE in 11m 05s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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/d13d58737b3f4498b4dc077f36386426

openstack-k8s-operators-content-provider FAILURE in 11m 31s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@lmiccini
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

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/90c60faaaf2e4fa595f8933e7d902af6

openstack-k8s-operators-content-provider FAILURE in 11m 58s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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/2a422293faf3401fac04ac4bd2890857

openstack-k8s-operators-content-provider FAILURE in 12m 02s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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/c5f4ffdd2be54836ab44b9be351f31bd

openstack-k8s-operators-content-provider FAILURE in 12m 01s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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/29b6f20f660d422b9634779c551f90fc

openstack-k8s-operators-content-provider FAILURE in 12m 41s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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/9f5e717422684715af6bc5ce7aa28a29

openstack-k8s-operators-content-provider FAILURE in 11m 17s
⚠️ podified-multinode-edpm-deployment-crc SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ cifmw-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ adoption-standalone-to-crc-ceph-provider SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider
⚠️ openstack-operator-tempest-multinode SKIPPED Skipped due to failed job openstack-k8s-operators-content-provider

@softwarefactory-project-zuul
Copy link

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/a2d1b61a202e43ae8cf4d5aa21c8ab88

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 02m 41s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 20m 06s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 34m 54s
adoption-standalone-to-crc-ceph-provider NODE_FAILURE Node request 099-0008150244 failed in 0s
openstack-operator-tempest-multinode FAILURE in 1h 49m 25s

@softwarefactory-project-zuul
Copy link

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/a446018498ca49a28aa3bd563a195361

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 56m 50s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 27m 14s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 31m 31s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 42m 32s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 41m 25s

@lmiccini
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

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/7ff33f99c93a49d497ba272bc24c0c28

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 04m 25s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 22m 33s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 33m 24s
adoption-standalone-to-crc-ceph-provider FAILURE in 1h 49m 23s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 40m 00s

@lmiccini
Copy link
Contributor Author

recheck

@softwarefactory-project-zuul
Copy link

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/5126af01b24749c986440666e01ba238

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 20m 40s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 05m 53s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 19m 09s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 04m 37s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 53m 23s

@lmiccini
Copy link
Contributor Author

recheck

@lmiccini
Copy link
Contributor Author

/test openstack-operator-build-deploy-kuttl

@softwarefactory-project-zuul
Copy link

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/92eabbd78f094f04b8833087acdc5fc3

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 23m 30s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 20m 00s
✔️ cifmw-crc-podified-edpm-baremetal SUCCESS in 1h 29m 29s
adoption-standalone-to-crc-ceph-provider FAILURE in 2h 07m 23s
✔️ openstack-operator-tempest-multinode SUCCESS in 1h 43m 59s

@lmiccini
Copy link
Contributor Author

recheck

@lmiccini lmiccini force-pushed the webhooks_warnings branch 2 times, most recently from 1ee039b to 16ba3f9 Compare January 31, 2026 14:38
@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 2, 2026

/test openstack-operator-build-deploy-kuttl

@lmiccini lmiccini force-pushed the webhooks_warnings branch 3 times, most recently from 4ed90c4 to 3989d1e Compare February 3, 2026 06:47
@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 3, 2026

/test openstack-operator-build-deploy-kuttl

@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 3, 2026

/test functional

@lmiccini lmiccini force-pushed the webhooks_warnings branch 2 times, most recently from 27b903f to 66dc5cf Compare February 4, 2026 07:09
@lmiccini lmiccini changed the title Update webhooks to handle warnings Implement messaging bus configuration with migration from deprecated fields Feb 4, 2026
…fields

Add top-level MessagingBus and NotificationsBus configuration to
OpenstackControlPlane API to replace service-specific RabbitMQ settings.
This provides a centralized way to configure messaging infrastructure
while maintaining backward compatibility.

API changes:
- Add MessagingBus field for RPC communication configuration (username,
  vhost, cluster)
- Add NotificationsBus field for notifications configuration
- Deprecate NotificationsBusInstance in favor of NotificationsBus.Cluster
- Remove default values for deprecated rabbitMqClusterName fields across
  all service CRDs to enable proper migration

Webhook changes:
- Update ValidateCreate and ValidateUpdate to return warnings in addition
  to errors
- Add centralized validation for deprecated fields with warning messages
- Add ValidateMessagingBusConfig validation
- Update service validation calls to capture warnings from downstream
  operators

Controller changes:
- Add migration logic to automatically populate NotificationsBus.Cluster
  from deprecated NotificationsBusInstance field during reconciliation
- Migration occurs before service reconciliation to ensure services
  inherit migrated values

Service integration:
- Update all service templates (barbican, cinder, designate, glance,
  heat, ironic, keystone, manila, neutron, nova, octavia, swift,
  telemetry, watcher) to support new messaging bus fields
- Services inherit top-level configuration but can override with
  service-specific settings

Testing:
- Add comprehensive migration tests for deprecated field handling
- Add RabbitMQ cascading configuration tests
- Update functional tests for new configuration structure

Additional fixes:
- Fix pin-bundle-images.sh to handle operators with replace directives
  by forcing quay.io for replaced operators and adding fallback logic
  when bundles are not available in custom registries

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@lmiccini
Copy link
Contributor Author

lmiccini commented Feb 4, 2026

/test functional

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 4, 2026

@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 d0bba95 link true /test precommit-check
ci/prow/openstack-operator-build-deploy-kuttl d0bba95 link true /test openstack-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.

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.

2 participants