3 Commits

Author SHA1 Message Date
Kevin_Zheng
2a0f2a0d27 Add full traceback to ExceptionPayload in versioned notifications
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
2018-06-19 16:46:46 +08:00
Balazs Gibizer
da0e385c4b Deduplicate instance.interface_attach samples
This patch refactors the sample files of instance.interface_attach and
interface_detach notifications to use the previously introduced common
sample data.

Change-Id: I74396b680f35290e32f667d2ddba227e1cbbab2f
2017-11-06 16:10:19 +01:00
Előd Illés
06231be9ed Add error notification for instance.interface_attach
Change-Id: Idde2e36658d2fd98444fb0780899bfca32dd2d6e
Implements: bp versioned-notification-transformation-queens
2017-10-06 13:45:11 +00:00