f9bb4dcb3a
This patch refactors the sample files of: * instance-volume_attach-start * instance-volume_attach-end * instance-volume_attach-error * instance-volume_detach-start * instance-volume_detach-end notifications to use a common InstanceActionVolumePayload sample data. and refactor: * instance-volume_swap-start * instance-volume_swap-end * instance-volume_swap-error notifications to use a common InstanceActionVolumeSwapPayload sample data Change-Id: I51fd194ac3b95be96db2676b4abf3df5a14d0faa
22 lines
810 B
JSON
22 lines
810 B
JSON
{
|
|
"event_type": "instance.volume_attach.error",
|
|
"payload": {
|
|
"$ref": "common_payloads/InstanceActionVolumePayload.json#",
|
|
"nova_object.data": {
|
|
"fault": {
|
|
"nova_object.data": {
|
|
"exception": "CinderConnectionFailed",
|
|
"exception_message": "Connection to cinder host failed: Connection timed out",
|
|
"function_name": "attach_volume",
|
|
"module_name": "nova.tests.functional.notification_sample_tests.test_instance"
|
|
},
|
|
"nova_object.name": "ExceptionPayload",
|
|
"nova_object.namespace": "nova",
|
|
"nova_object.version": "1.0"
|
|
}
|
|
}
|
|
},
|
|
"priority": "ERROR",
|
|
"publisher_id": "nova-compute:compute"
|
|
}
|