Bug 1554909 - [RFE][tripleo]: UI support for config-download.
Summary: [RFE][tripleo]: UI support for config-download.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-ui
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Upstream M2
: 14.0 (Rocky)
Assignee: Jiri Tomasek
QA Contact: Amit Ugol
URL: https://blueprints.launchpad.net/trip...
Whiteboard:
Depends On:
Blocks: 1635745
TreeView+ depends on / blocked
 
Reported: 2018-03-13 14:41 UTC by Beth White
Modified: 2019-01-11 11:49 UTC (History)
14 users (show)

Fixed In Version: openstack-tripleo-ui-9.3.1-0.20180909174557.1a18ba7.el7ost
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:49:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 559021 0 None None None 2018-07-04 13:24:19 UTC
OpenStack gerrit 559022 0 None None None 2018-07-04 13:27:22 UTC
OpenStack gerrit 564733 0 None None None 2018-07-04 13:27:37 UTC
OpenStack gerrit 566366 0 None None None 2018-07-04 13:28:05 UTC
OpenStack gerrit 569092 0 None None None 2018-07-04 13:28:23 UTC
OpenStack gerrit 578712 0 None None None 2018-07-04 13:28:39 UTC
OpenStack gerrit 578717 0 None None None 2018-07-17 12:28:04 UTC
OpenStack gerrit 582484 0 None None None 2018-07-17 12:29:59 UTC
OpenStack gerrit 583219 0 None None None 2018-07-17 12:30:28 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:49:30 UTC

Description Beth White 2018-03-13 14:41:56 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/tripleo/+spec/config-download-ui.

Description:

UI support for config-download. The UI should switch to using the config_download_deploy workflow by default.

The logic of what needs to be done is contained in the config_download function from tripleoclient/workflows/deployment.py

Specification URL (additional information):

None

Comment 1 Udi Kalifon 2018-04-30 08:43:59 UTC
Please elaborate what is config-download, thanks.

Comment 2 Beth White 2018-06-11 11:19:24 UTC
It is work that is being done as part of OSP14 to change and improve deployment. Deployment status is now stored in Swift object and is updated by Mistral workflows. This allows clients to easily retrieve the current deployment status at any point of time.

Comment 3 Jason E. Rist 2018-06-14 15:38:25 UTC
The reality is that we don't have a choice since deployments will default to config-download for Rocky/14

Comment 9 Udi Kalifon 2018-06-17 06:53:21 UTC
Do I understand correctly that this is just a different Mistral workflow that the UI needs to trigger, replacing the current workflow that was in use up to OSP13, or is there any more impact to the UI in addition to that? Please give some details on what in the UI needs to change, and how we can test it.

Comment 12 Jiri Tomasek 2018-06-29 09:45:48 UTC
(In reply to Udi from comment #9)
> Do I understand correctly that this is just a different Mistral workflow
> that the UI needs to trigger, replacing the current workflow that was in use
> up to OSP13, or is there any more impact to the UI in addition to that?
> Please give some details on what in the UI needs to change, and how we can
> test it.

Config download changes the way the deployment is done and it also has impact on GUI. The deployment does not consist of only the Heat stack creation but there is a second - configuration part driven by Ansible. Doe to this, to track deployment status and progress it is not possible to use just Heat stack status. For this, deploy_plan workflow as been updated to trigger config-download part as a subworkflow and tracking deployment status has moved into Swift/Mistral rather than being equal to Heat stack status. During the progress of the deployment relevant deployment tasks update deployment_status which is then stored in <planName>-messages Swift container in deployment_status.yaml object. GUI then looks at this to get current deployment status.

The deployment progress tracking has also changed in GUI. In first part of deployment (Heat stack creation) GUI displays progress percentage calculated based on count of total heat resources and CREATE_COMPLETE resources. In detail section, a table of resources is shown. This has not changed. For the second (applying deployment configuration) part though, the percentage changes into a generic 'in progress' progress bar and detailed view displays real time Ansible output which arrives via Zaqar queue.

Undeploy process has changed too, due to addition of a workflow which updates deployment_status as described above.

In case of deployment failure a deployment_status error message is shown and deployment failures are displayed (implementation of this is currently in progress), The failures are based on errors coming from Ansible part of the deployment.

For backwards compatibility, for upgrades, for case when deployment_status.yaml is deleted, a functionality to recover deployment status is provided.

Comment 17 Jiri Tomasek 2018-07-31 17:39:43 UTC
All related patches now landed upstream

Comment 32 Udi Kalifon 2018-11-05 11:31:45 UTC
Verified: openstack-tripleo-ui-9.3.1-0.20180921180341.df30b55.el7ost.noarch

There are still issues, mainly when deployments are aborted or fail, where you see a false success of false failure. Separate bugs will be opened on those issues.

Comment 34 errata-xmlrpc 2019-01-11 11:49:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


Note You need to log in before you can comment on or make changes to this bug.