
This patch adds a new microversion to ``GET /servers/{server_id}/os-instance-actions/{req_id}`` API to include the ``host`` field for admin and an ``hostId`` for all users by default. And the display of newly added ``host`` field will be controlled by the same policy as the ``traceback`` field. The newly added fields can be used to determine on which host a given action event occurred. Part of blueprint: add-host-to-instance-action-events Change-Id: I2f8b4a12a088b9ed96b428eafde2e0c478fb1db5
20 lines
735 B
JSON
20 lines
735 B
JSON
{
|
|
"instanceActions": [
|
|
{
|
|
"action": "stop",
|
|
"instance_uuid": "7a580cc0-3469-441a-9736-d5fce91003f9",
|
|
"message": null,
|
|
"project_id": "6f70656e737461636b20342065766572",
|
|
"request_id": "req-b8ffb713-61a2-4e7c-a705-37052cba9d6e",
|
|
"start_time": "2018-04-25T01:26:28.955571",
|
|
"updated_at": "2018-04-25T01:26:29.414973",
|
|
"user_id": "fake"
|
|
}
|
|
],
|
|
"links": [
|
|
{
|
|
"href": "http://openstack.example.com/v2.1/6f70656e737461636b20342065766572/servers/7a580cc0-3469-441a-9736-d5fce91003f9/os-instance-actions?limit=1&marker=req-b8ffb713-61a2-4e7c-a705-37052cba9d6e",
|
|
"rel": "next"
|
|
}
|
|
]
|
|
} |