c935377531
This adds AggregateCacheNotification, related payload, and code in conductor to emit this per-compute with progress information. This also adds a "progress" phase to NotificationPhase, which allows for start..progress..progress..end information for a single operation (cache_images in this case). Related to blueprint image-precache-support Change-Id: I69ae26d4caf4b56ab2c4864455bfe9b5b736dbf3
21 lines
623 B
JSON
21 lines
623 B
JSON
{
|
|
"priority": "INFO",
|
|
"payload": {
|
|
"nova_object.version": "1.0",
|
|
"nova_object.namespace": "nova",
|
|
"nova_object.name": "AggregateCachePayload",
|
|
"nova_object.data": {
|
|
"name": "my-aggregate",
|
|
"uuid": "788608ec-ebdc-45c5-bc7f-e5f24ab92c80",
|
|
"host": "compute",
|
|
"total": 1,
|
|
"index": 1,
|
|
"images_cached": ["155d900f-4e14-4e4c-a73d-069cbf4541e6"],
|
|
"images_failed": [],
|
|
"id": 1
|
|
}
|
|
},
|
|
"event_type": "aggregate.cache_images.progress",
|
|
"publisher_id": "nova-conductor:fake-mini"
|
|
}
|