nova/doc/notification_samples/instance-evacuate.json
Lorenzo Affetti 14342d629b FakeDriver: adding and removing instances on live migration.
There was no code in FakeDriver that updated the internal
dict `self.instances` when a FakeInstance was live migrated.
This commit fills this gap. As a result, a couple of versioned
notification samples get updated since we are now properly
tracking a live migrated instance on the destination host as
running vs pending power state.

Closes-Bug: 1426433

Change-Id: I9562e1bcbb18c7d543d5a6b36011fa28c13dfa79
2019-12-20 10:59:06 +00:00

15 lines
374 B
JSON

{
"event_type": "instance.evacuate",
"payload": {
"$ref": "common_payloads/InstanceActionPayload.json#",
"nova_object.data": {
"host": "host2",
"node": "host2",
"task_state": "rebuilding",
"action_initiator_user": "admin"
}
},
"priority": "INFO",
"publisher_id": "nova-api:host2"
}