df7442ee5a
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
14 lines
352 B
JSON
14 lines
352 B
JSON
{
|
|
"event_type": "instance.unrescue.start",
|
|
"payload":{
|
|
"$ref": "common_payloads/InstanceActionPayload.json#",
|
|
"nova_object.data": {
|
|
"power_state": "shutdown",
|
|
"task_state": "unrescuing",
|
|
"state": "rescued"
|
|
}
|
|
},
|
|
"priority": "INFO",
|
|
"publisher_id": "nova-compute:compute"
|
|
}
|