fix: update nova-compute notification config for telemetry meters - #212
Merged
Merged
Conversation
munirsidd
force-pushed
the
bug/2162762-2024.1
branch
2 times, most recently
from
September 2, 2026 14:11
050f105 to
e390153
Compare
hemanthnakkina
approved these changes
Sep 2, 2026
munirsidd
force-pushed
the
bug/2162762-2024.1
branch
from
September 3, 2026 05:39
e390153 to
6bdc8dc
Compare
gboutry
approved these changes
Sep 3, 2026
Collaborator
|
Commits are unsigned |
Change notification_format from versioned to both so that Ceilometer receives unversioned notifications and Watcher receives versioned ones. 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> (cherry picked from commit 63bb2db) Signed-off-by: Munir Siddiqui <munir.siddiqui@canonical.com>
Enable instance_usage_audit with an hourly period so nova-compute emits the periodic compute.instance.exists audit events that Ceilometer consumes. [0] This commit fixes missing nova.conf Ceilometer notification settings. [0] - https://docs.openstack.org/ceilometer/2024.1/install/install-compute-ubuntu.html#configure-compute-to-use-telemetry Partial-bug: #2162762 Signed-off-by: Marcin Wilk <marcin.wilk@canonical.com> (cherry picked from commit 1a9a41c) Signed-off-by: Munir Siddiqui <munir.siddiqui@canonical.com>
munirsidd
force-pushed
the
bug/2162762-2024.1
branch
from
September 3, 2026 07:44
6bdc8dc to
19d2725
Compare
Author
Fixed |
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_formatfromversionedtobothso that Ceilometer receivesunversionednotifications on thenotificationstopic and Watcher receivesversionednotifications on theversioned_notifications topic[0][1]. Ceilometer already subscribes to both topics [2]. Addnotify_on_state_change = vm_and_task_stateto enable instance lifecycle notifications likecompute.instance.booting.time. Enableinstance_usage_auditwith an hourly period so nova-compute emits the periodiccompute.instance.existsaudit events that Ceilometer consumes [3].[0] - https://docs.openstack.org/watcher/2024.1/configuration/configuring.html#configure-nova-notifications
[1] - https://docs.openstack.org/nova/2024.1/configuration/config.html#notifications.notification_format
[2] - https://opendev.org/openstack/sunbeam-charms/commit/15739a4dbf4245234c2a6348c14654f9c2980156
[3] - https://docs.openstack.org/ceilometer/2024.1/install/install-compute-ubuntu.html#configure-compute-to-use-telemetry
Partial-bug: #2162762
QA steps
Verify nova-compute config
compute.instance.booting.timemetricLinks
Jira card: OPEN-4670