2bca6431e6
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
46 lines
1.5 KiB
JSON
46 lines
1.5 KiB
JSON
{
|
|
"nova_object.data":{
|
|
"architecture":"x86_64",
|
|
"availability_zone": "nova",
|
|
"block_devices": [
|
|
{"$ref": "BlockDevicePayload.json#"}
|
|
],
|
|
"created_at":"2012-10-29T13:42:11Z",
|
|
"deleted_at":null,
|
|
"display_name":"some-server",
|
|
"display_description":"some-server",
|
|
"host":"compute",
|
|
"host_name":"some-server",
|
|
"ip_addresses": [
|
|
{"$ref": "IpPayload.json#"}
|
|
],
|
|
"kernel_id":"",
|
|
"key_name": "my-key",
|
|
"launched_at":"2012-10-29T13:42:11Z",
|
|
"image_uuid": "155d900f-4e14-4e4c-a73d-069cbf4541e6",
|
|
"metadata":{},
|
|
"locked":false,
|
|
"node":"fake-mini",
|
|
"os_type":null,
|
|
"progress":0,
|
|
"ramdisk_id":"",
|
|
"reservation_id":"r-npxv0e40",
|
|
"state":"active",
|
|
"task_state":null,
|
|
"power_state":"running",
|
|
"tenant_id":"6f70656e737461636b20342065766572",
|
|
"terminated_at":null,
|
|
"auto_disk_config":"MANUAL",
|
|
"flavor": {"$ref": "FlavorPayload.json#"},
|
|
"updated_at": "2012-10-29T13:42:11Z",
|
|
"user_id":"fake",
|
|
"uuid":"178b0921-8f85-4257-88b6-2e743b5a975c",
|
|
"request_id": "req-5b6c791d-5709-4f36-8fbe-c3e02869e35d",
|
|
"action_initiator_user": "fake",
|
|
"action_initiator_project": "6f70656e737461636b20342065766572"
|
|
},
|
|
"nova_object.name":"InstancePayload",
|
|
"nova_object.namespace":"nova",
|
|
"nova_object.version":"1.7"
|
|
}
|