Jump to: navigation, search

Nova/VersionedNotificationTransformation

Goal

Transform every legacy notification to the new versioned notification framework.

How to do it

Tasks

The easy ones that uses the same payload as instance.delete:

event type status taken by review comments
instance.delete subteam review gibi https://review.openstack.org/#/c/313654 This shall be the base of for the other instance.<action> transformation
instance.shutdown open siva_krishnan
instance.scheduled open
instance.create_ip open
instance.delete_ip open
instance.evacuate open
instance.migration open
instance.pause open sneti
instance.unpause open
instance.power_on open
instance.power_off open
instance.reboot open macsz
instance.shelve open
instance.shelve_offload open
instance.unshelve open
instance.snapshot open
instance.soft_delete open
instance.suspend open pumaranikar
instance.resume open
instance.restore open
instance.trigger_crash_dump open
instance.unrescue open
instance.create open Some of the instance.create.<phase> notifications has extra payload
instance.rebuild open
instance.rebuild.scheduled open we might need to change the event_type
instance.resize open
instance.resize.prep open we might need to change the event_type
instance.finish_resize open we might want to change the even_type
instance.resize.confirm open
instance.resize.revert open
instance.live.migration.abort open we might need to change the even_type to make it consistent
instance.live_migration.pre open we might want to change the event_type
instance.live_migration.rollback.dest open we might want to change the event_type
instance.live_migration._rollback open we might want to change the event_type
instance.live_migration._post open we might want to change the even_type
instance.live_migration.post.dest open we might want to change the event_type

The complex instance.<action> notifications that needs payload extension.

event type status taken by review comments
instance.update needs patch gibi https://review.openstack.org/#/c/325923/ This shall be the example for creating instance.<action> notification with extended InstancePayload
instance.exists open
instance.rescue open
instance.volume.attach open

The rest:

event type status taken by review comments
compute.exception subtream review laszloh https://review.openstack.org/#/c/310700
aggregate.addhost open
aggregate.create open
aggregate.delete open
aggregate.removehost open
aggregate.updatemetadata open
aggregate.updateprop open
api.fault open
libvirt.error open
compute_task.build_instances open
compute_task.migrate_server open
compute_task.rebuild_server open
HostAPI.power_action open
HostAPI.set_enabled open
HostAPI.set_maintenance open
keypair.create spec exists h-eguchi spec: https://review.openstack.org/#/c/300942
keypair.delete spec exists h-eguchi spec: https://review.openstack.org/#/c/300942
keypair.import spec exists h-eguchi spec: https://review.openstack.org/#/c/300942
network.floating_ip.allocate open
network.floating_ip.associate open
network.floating_ip.deallocate open
network.floating_ip.disassociate open
scheduler.select_destinations open
servergroup.addmember open
servergroup.create open
servergroup.delete open
volume.usage open
metrics.update open sudipto