fix ceilometer notification settings in the nova.conf - #213
Merged
Merged
Conversation
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>
hemanthnakkina
approved these changes
Sep 2, 2026
ahmad-can
approved these changes
Sep 2, 2026
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.
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]:
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] #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
QA steps
vcpusmetricLinks
Jira card: OPEN-4670