nova/doc/notification_samples/instance-create-error.json
Balazs Gibizer 470d165d04 Deduplicate instance.create notification samples
This patch refactors the sample files of instance.create notifications.
As these notifications use a different payload class as the most of the
instance notifications a new common payload sample fragment was also
needed.

Change-Id: I7a8e9507ee30d404e075a46e48070a0f94276e33
2017-11-28 17:17:15 +01:00

26 lines
920 B
JSON

{
"event_type":"instance.create.error",
"payload":{
"$ref":"common_payloads/InstanceCreatePayload.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"
},
"ip_addresses": [],
"launched_at": null,
"power_state": "pending",
"state": "building"
}
},
"priority":"ERROR",
"publisher_id":"nova-compute:compute"
}