Task data should contain parent_id attribute
Bug #1605508 reported by
Julia Aranovich
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Bulat Gaifullin | ||
Mitaka |
Fix Released
|
High
|
Bulat Gaifullin |
Bug Description
When starting a regular deployment, Fuel UI gets a collection of 3 tasks: 'deploy', 'deployment' and 'provision'. UI need to track a progress of main (parent) task only ('deploy'). But there is no information about tasks relations in the appropriate response:
GET /api/tasks/ API call returns collection of tasks that have the following format:
{"name": "deploy", "message": null, "cluster": 1, "result": {}, "uuid": "3ebf1935-
Again, there is no information about tasks nesting. Suggested to extend task output with "parent_id" attribute.
tags: | added: area-ui |
Changed in fuel: | |
status: | Confirmed → In Progress |
Changed in fuel: | |
assignee: | Bulat Gaifullin (bgaifullin) → Julia Aranovich (jkirnosova) |
tags: | added: ui-deployment-history |
tags: | removed: area-ui |
Changed in fuel: | |
assignee: | Julia Aranovich (jkirnosova) → Bulat Gaifullin (bgaifullin) |
status: | In Progress → Fix Committed |
tags: | added: 9.1-proposed |
tags: | added: on-verification |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/345555 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=7f161c19846 62c1bb799b34c4d d4108f514c2ea6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7f161c1984662c1 bb799b34c4dd410 8f514c2ea6
Author: Bulat Gaifullin <email address hidden>
Date: Thu Jul 21 20:02:08 2016 +0300
Added field parent_id to serialized task data
This field can be used by UI to reconstruct hierachy of task.
Change-Id: Ifa5477e9eedfa3 fa2a1f22e7bec8b 5df262034aa
Partial-Bug: 1605508