Add machine deploy timestamp to websocket api
Bug #1899891 reported by
Caleb Ellis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Undecided
|
Unassigned |
Bug Description
We would like to surface the machine deployment time in the UI, likely in the machine list as well as the machine details pages.
Changed in maas: | |
milestone: | next → none |
Changed in maas: | |
status: | Incomplete → New |
status: | New → Incomplete |
To post a comment you must log in.
When a machine starts a deployment a ScriptResult is created. There are four fields related to timing:
script_ result. created - When the user told MAAS to deploy an operating system result. started - When the deployment actually began result. runtime - The time the deployment took to run, not including reboot time.
script_
script_result.ended - When Curtin finished installing
script_
The UI already gets the ScriptResult for the installation log, you should be able to use the same path.