fix: update nova-compute notification config for telemetry meters - #210
Merged
hemanthnakkina merged 2 commits intoSep 2, 2026
Merged
Conversation
wilkmar
force-pushed
the
bug/2162762-2025.1
branch
from
August 28, 2026 09:13
c634077 to
c4a6c60
Compare
wilkmar
marked this pull request as draft
August 31, 2026 09:39
wilkmar
force-pushed
the
bug/2162762-2025.1
branch
from
September 2, 2026 07:45
c4a6c60 to
f6009fe
Compare
wilkmar
marked this pull request as ready for review
September 2, 2026 08:19
wilkmar
force-pushed
the
bug/2162762-2025.1
branch
from
September 2, 2026 13:52
f6009fe to
799fddd
Compare
hemanthnakkina
approved these changes
Sep 2, 2026
Add notify_on_state_change = vm_and_task_state to enable instance lifecycle notifications like compute.instance.booting.time. Partial-bug: #2162762 Signed-off-by: Marcin Wilk <marcin.wilk@canonical.com>
gboutry
approved these changes
Sep 2, 2026
This is a follow up to the previous commit [1], which did not properly configured nova.conf to support Ceilometer notifications. On 2026.1, according to [2], all instance-related metric are collected by pollster, so theoretically, no nova.conf changes are needed at all. However, when enabled, Nova sends the legacy, unversioned notifications to Ceilometer, with the following meters, which are not available via pollster [4]: - memory - vcpus - disk.root.size - disk.ephemeral.size Without the Nova notifications enabled the above, flavor-based, meters will not be available. This is important because some external or third party billing systems may rely on that. This commit fixes missing nova.conf Ceilometer notification settings. [1] canonical#208 [2] https://docs.openstack.org/ceilometer/2026.1/admin/telemetry-measurements.html#openstack-compute [3] https://opendev.org/openstack/nova/src/branch/stable/2026.1/nova/compute/utils.py#L342 [4] https://opendev.org/openstack/nova/src/branch/stable/2026.1/nova/notifications/base.py#L337 Partial-bug: #2162762 Signed-off-by: Marcin Wilk <marcin.wilk@canonical.com>
wilkmar
force-pushed
the
bug/2162762-2025.1
branch
from
September 2, 2026 13:58
799fddd to
81dcfe0
Compare
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change notification_format from versioned to both so that Ceilometer receives unversioned notifications on the notifications topic and Watcher receives versioned ones on the versioned_notifications topic [0][1]. Ceilometer already subscribes to both topics [2]. Add notify_on_state_change = vm_and_task_state to enable instance lifecycle notifications like compute.instance.booting.time.
[0] - https://docs.openstack.org/watcher/2025.1/configuration/configuring.html#configure-nova-notifications
[1] - https://docs.openstack.org/nova/2025.1/configuration/config.html#notifications.notification_format
[2] - https://opendev.org/openstack/sunbeam-charms/commit/15739a4dbf4245234c2a6348c14654f9c2980156
Partial-bug: #2162762
QA steps
Verify nova-compute config
compute.instance.booting.timemetricLinks
Jira card: OPEN-4670