nova/doc/notification_samples/instance-volume_attach-error.json
Kevin_Zheng f9bb4dcb3a Deduplicate notification samples Rocky - 4
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
2018-04-17 18:56:54 +02:00

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"
}