Return "deleted" and "estimated_reclaim" time of instance for admin

Registered by huanhongda on 2018-07-10

In some case, admins want to know soft-deleted instance's delete and estimated reclaim time by API.
But currently, when admins get soft-deleted instances by API. He will only get
``OS-SRV-USG:terminated_at`` time and it's null. As ``OS-SRV-USG:terminated_at`` records the really deleted time, not soft-deleted.
So we should return deleted_at and estimated reclaim time in ``GET /servers/detail`` and ``GET /servers/{server_id}`` when admins is getting soft-deleted instances.

Blueprint information

Status:
Not started
Approver:
huanhongda
Priority:
Undefined
Drafter:
huanhongda
Direction:
Needs approval
Assignee:
huanhongda
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/add-deleted-time-attribute,n,z

Addressed by: https://review.openstack.org/574159
    Microversion 2.64 - Add "deleted" time in GET server response

Addressed by: https://review.openstack.org/581638
    Return "deleted" time of instance when vm_state is SOFT-DELETED

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.