c2f7d65858
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
11 lines
506 B
YAML
11 lines
506 B
YAML
---
|
|
features:
|
|
- |
|
|
The microversion 2.62 adds ``host`` (hostname) and ``hostId`` (an
|
|
obfuscated hashed host id string) fields to the instance action
|
|
``GET /servers/{server_id}/os-instance-actions/{req_id}`` API. The display
|
|
of the newly added ``host`` field will be controlled via policy rule
|
|
``os_compute_api:os-instance-actions:events``, which is the same policy
|
|
used for the ``events.traceback`` field. If the user is prevented by
|
|
policy, only ``hostId`` will be displayed.
|