nova-compute charm should use unversioned notification format

Bug #1731828 reported by Nusrath Mohammed
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Triaged
Medium
Unassigned

Bug Description

nova-compute charm needs a variable to set notification_format (both, versioned, unversioned)

Nova currently generates versioned_notifications that have no consumer, ideally going forward Ceilometer should be able to consume this queue but there seems to be a wishlist bug: https://bugs.launchpad.net/ceilometer/+bug/1665449

By default, notification_format is set to both and hence the charm needs a feature to set this variable to unversioned until the versioned_notifications can be consumed by ceilometer.

Revision history for this message
James Page (james-page) wrote :

I think we know what format should be used, so providing a configuration option makes little sense; lets just set the right values in the nova.conf templates for each supported release; when ceilometer does support the versioned format, we can just switch back to 'both'.

summary: - nova-compute charm needs a variable to set notification_format (both,
- versioned, unversioned)
+ nova-compute charm should use unversioned notification format
Changed in charm-nova-compute:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 18.02
Revision history for this message
James Page (james-page) wrote :

Which release does this impact from?

Ryan Beisner (1chb1n)
Changed in charm-nova-compute:
milestone: 18.02 → 18.05
Revision history for this message
Craige McWhirter (craige) wrote :

The need for this feature, for myself at least is related to this bug:

https://bugs.launchpad.net/ceilometer/+bug/1665449

Which we are now hitting on production clouds using charm versions >= 17.11

There are three options that can be set for "notification_format" in [oslo_messaging_notifications]:

['unversioned', 'versioned', 'both']

Of which 'both' is the default

https://github.com/openstack/nova/blob/stable/pike/nova/conf/notifications.py#L88-L105

As there is no consumer, I'd be inclined to set "unversioned" as the default until LP#1665449 is resolved.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-nova-compute (master)

Change abandoned by Craige McWhirter (<email address hidden>) on branch: master
Review: https://review.openstack.org/559272
Reason: Deferring to an opinionated stance on the setting.

David Ames (thedac)
Changed in charm-nova-compute:
milestone: 18.05 → 18.08
James Page (james-page)
Changed in charm-nova-compute:
milestone: 18.08 → 18.11
David Ames (thedac)
Changed in charm-nova-compute:
milestone: 18.11 → 19.04
David Ames (thedac)
Changed in charm-nova-compute:
milestone: 19.04 → 19.07
David Ames (thedac)
Changed in charm-nova-compute:
milestone: 19.07 → 19.10
David Ames (thedac)
Changed in charm-nova-compute:
milestone: 19.10 → 20.01
James Page (james-page)
Changed in charm-nova-compute:
milestone: 20.01 → 20.05
David Ames (thedac)
Changed in charm-nova-compute:
milestone: 20.05 → 20.08
James Page (james-page)
Changed in charm-nova-compute:
milestone: 20.08 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.