summaryrefslogtreecommitdiff
path: root/doc/notification_samples/instance-volume_attach-error.json
Commit message (Collapse)AuthorAgeFilesLines
* Add full traceback to ExceptionPayload in versioned notificationsKevin_Zheng2018-06-191-2/+3
| | | | | | | | | | | | | | | | | | | | This patch adds full traceback to ExceptionPayload in versioned notifications. The instance fault field and instance-action REST API has already provide the traceback to the admin users (controlable through policy) and the notifications are also admin only things as they are emitted to the message bus by default. So it is assumed that security is not a bigger concern for the notification than for the REST API. On the ML [1] post there was no objection to add new string field to the ExceptionPayload that will hold the serialized traceback object. [1] http://lists.openstack.org/pipermail/openstack-dev/2018-March/128105.html Implements: blueprint add-full-traceback-to-error-notifications Change-Id: Id587967ea4f9980c292492e2f659bf55fb037b28
* Deduplicate notification samples Rocky - 4Kevin_Zheng2018-04-171-83/+3
| | | | | | | | | | | | | | | | | | | | | | 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
* Add FlavorPayload.description for versioned notificationsMatt Riedemann2017-11-141-2/+3
| | | | | | | | | | This adds the description field to the FlavorPayload for versioned notifications on flavor create/update/delete notifications. Part of blueprint flavor-description Change-Id: I9a5dc8b603b5e4e0d37c59cf2749e3ffc217580c
* Add 'updated_at' field to InstancePayload in notificationsTakashi NATSUME2017-07-251-2/+3
| | | | | | Change-Id: Iddc5ec3b5053ddf5dce73c86edca26c4552d451b Implements: bp versioned-notification-transformation-pike Closes-Bug: #1684860
* Add BDM to InstancePayloadBalazs Gibizer2017-07-121-1/+13
| | | | | | | | | | | | This patch adds bdm related data to InstancePayload. As loading BDM can be expensive a new configuration flag 'bdms_in_notifications' is introduced. If this is set to false (as by default) then the instance notifications will contain 'null' value in block_devices field. If this configuration flag is set to true then the block devices will be loaded from the db and will be included in the notification payload. Implements: bp additional-notification-fields-for-searchlight Change-Id: I18e7483ec9a484a660e1d306fdc0986e1d5f952b
* Add key_name field to InstancePayloadBalazs Gibizer2017-06-281-1/+2
| | | | | | | | Add key_name field to InstancePayload which means every instance.<action> notification now have key_name field based on the instance.key_name. Change-Id: I39059c5077c790aa85dff6b4563f581c54536b86 Implements: bp additional-notification-fields-for-searchlight
* Move rebuild notification tests into separate methodGábor Antal2017-06-071-2/+2
| | | | | | | | | | | | | | The current rebuild testing in test_instance_action changes the image used by the instance, therefore the actions tested in test_instance_action had to be in specific order as testing rebuild also changes the output json. The rebuild test was moved from test_instance_action to its own method, and now all the actions in test_instance_actions keeps the instance in the same state. Change-Id: Id0a7aaf8575d69deb89d3842b54fc23ee05b2153 Implements: bp versioned-notification-transformation-pike
* Transform instance.volume_attach.error notificationGábor Antal2017-05-021-0/+86
Change-Id: Id3a9e51e6256945e9b859ce62938e140580732e0