summaryrefslogtreecommitdiff
path: root/doc/notification_samples/instance-evacuate.json
diff options
context:
space:
mode:
authorshuangyang.qian <shuangyang.qian@easystack.cn>2018-01-22 15:55:14 +0800
committerMatt Riedemann <mriedem.os@gmail.com>2018-07-03 18:45:44 +0000
commit2bca6431e69bf2c6e657736b7fe11f5a2fbb9433 (patch)
treeaf3fa2381fe5ed90ff4012418d8c78a01e24f73d /doc/notification_samples/instance-evacuate.json
parent9382b7854286bba21235c4bfe39c585a6b894419 (diff)
downloadnova-2bca6431e69bf2c6e657736b7fe11f5a2fbb9433.tar.gz
Add action initiator attribute to the instance payload
The instance action notifications contain the user id and the project id of the owner of the instance. However an instance action might be initiated by another user. It could be another user from the same project or can be an admin from the admin project. To be able to distinguish between the user who initiated the instance action from the user owning the instance we need to add two new fields to the instance action notifications, action_initiator_user and action_initiator_project Change-Id: I649d8a27baa8840bc1bb567fef027c749c663432 Closes-bug: #1744658 Blueprint: add-action-initiator-to-instance-action-notifications
Diffstat (limited to 'doc/notification_samples/instance-evacuate.json')
-rw-r--r--doc/notification_samples/instance-evacuate.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/notification_samples/instance-evacuate.json b/doc/notification_samples/instance-evacuate.json
index 4aadfb940e..c3251182c4 100644
--- a/doc/notification_samples/instance-evacuate.json
+++ b/doc/notification_samples/instance-evacuate.json
@@ -6,7 +6,8 @@
"host": "host2",
"node": "host2",
"power_state": "pending",
- "task_state": "rebuilding"
+ "task_state": "rebuilding",
+ "action_initiator_user": "admin"
}
},
"priority": "INFO",