6.7. Enabling Image service change notifications


You can enable notifications in the Image service (glance) for various events that occur during the image lifecycle.

These notifications provide telemetry data that you can use for the following:

  • Auditing, troubleshooting, and monitoring operations
  • Integrating with other services such as Ceilometer for metrics collection and processing

The Image service uses the RabbitMQ message broker software for notification delivery to a configured message queue. Services inherit global notificationsBus settings configured at the control plane level. Use this procedure only when you need to configure a dedicated RabbitMQ cluster for this service that differs from the global configuration.

Procedure

  1. Open your OpenStackControlPlane CR file, openstack_control_plane.yaml, and add the notificationsBus parameter to the glance template to specify the RabbitMQ cluster name to use for requesting a transport URL.

    注意

    The notificationsBusInstance parameter is deprecated. Existing deployments that use notificationsBusInstance are automatically migrated to use the notificationsBus interface.

    kind: OpenStackControlPlane
    spec:
    ...
      glance:
        template:
          ...
          notificationsBus:
            cluster: rabbitmq
          customServiceConfig: |
    ...

    To turn off notifications, remove the notificationsBus parameter from the glance template and update the control plane.

  2. Update the control plane:

    $ oc apply -f openstack_control_plane.yaml -n openstack
  3. Wait until Red Hat OpenShift Container Platform (RHOCP) creates the resources related to the OpenStackControlPlane CR. Run the following command to check the status:

    $ oc get openstackcontrolplane -n openstack

    The OpenStackControlPlane resources are created when the status is "Setup complete".

    提示

    Append the -w option to the end of the get command to track deployment progress.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部