nova/doc/notification_samples/instance-rescue-end.json
Béla Vancsics df7442ee5a Transform rescue/unrescue instance notifications
The rescue (instance.rescue.start and instance.rescue.end) and unrescue
(instance.unrescue.start and instance.unrescue.end) notifications are
transformed to the versioned framework.

This patch also fixes the power state of the server
when unrescuing it with the fake compute driver.

Co-Authored-By: Takashi Natsume <natsume.takashi@lab.ntt.co.jp>
Change-Id: Ib1d03c6d693e3b04886c638c956e35809fed8fc2
Implements: bp versioned-notification-transformation-queens
Closes-Bug: #1742133
2018-01-14 02:15:18 +00:00

13 lines
313 B
JSON

{
"event_type": "instance.rescue.end",
"payload": {
"$ref": "common_payloads/InstanceActionRescuePayload.json#",
"nova_object.data": {
"state": "rescued",
"power_state": "shutdown"
}
},
"priority":"INFO",
"publisher_id":"nova-compute:compute"
}