14342d629b
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
15 lines
374 B
JSON
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"
|
|
}
|