nova/doc/notification_samples/instance-resize-error.json
Kevin_Zheng fda3cdeb5f Deduplicate notification samples Rocky - 2
This patch refactors the sample files of:

* instance-resize-start
* instance-resize-end
* instance-resize-error
* instance-resize_finish-start
* instance-resize_finish-end

notifications to use a common InstanceActionPayload sample data.

Change-Id: I4b3728a18d604f07ebffe45eec457e47bba98b7e
2018-04-16 09:21:19 +08:00

24 lines
849 B
JSON

{
"event_type":"instance.resize.error",
"payload":{
"$ref": "common_payloads/InstanceActionPayload.json#",
"nova_object.data":{
"fault":{
"nova_object.data":{
"exception":"FlavorDiskTooSmall",
"exception_message":"The created instance's disk would be too small.",
"function_name":"_build_resources",
"module_name":"nova.tests.functional.notification_sample_tests.test_instance"
},
"nova_object.name":"ExceptionPayload",
"nova_object.namespace":"nova",
"nova_object.version":"1.0"
},
"block_devices": [],
"task_state": "resize_prep"
}
},
"priority":"ERROR",
"publisher_id":"nova-compute:compute"
}