[Murano]Page with env components is in infinite reload state after deployment of a few apps

Bug #1454209 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
Kirill Zaitsev

Bug Description

Step to reproduce:
1. Log in Web UI
2. Import a few application packages to the catalog (e.g. Docker apps)
3. Navigate to "Murano" > "Application Catalog" > "Environments"
4. Create environment and add _a few_ applications to it
5. Send environment to deploy and _stay_ on page with environment components

Observed result:
After finish of deployment (successful or not) page is in reload page (in Chrome user doesn't see favicon of the page, just load sign) and after clicking on any button happens nothing, all is hanging, user has to sign out and sign in again to continue work.

Tags: murano
Changed in mos:
importance: Undecided → Critical
status: New → Confirmed
milestone: none → 6.1
Changed in mos:
importance: Critical → High
importance: High → Critical
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano-dashboard (openstack-ci/fuel-6.1/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Change author: Kirill Zaitsev <email address hidden>
Review: https://review.fuel-infra.org/6588

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano-dashboard (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/6588
Submitter: Serg Melikyan <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 5d199845efb8741abfb3812288d61a97ff65135e
Author: Kirill Zaitsev <email address hidden>
Date: Wed May 13 16:32:35 2015

Environments: reload page after all the environments have been updated

Before murano had an overriden datatable script in
horizon.tables+reload.js. This script was copy-pasted for a single
single line edit. This is actually not required, because horion
datatables fire a "update" trigger after row updates,
which is enough for the purpose of updating the page.

Before any row in the ready/deploy_failure would trigger a reload.
With this patch only an update trigger is set for the services table
instead of overriding whole datatable js routine. The page is
reloaded only after there are no rows with 'status_unknown', i.e.
when every app either deployed or failed to deploy.

Change-Id: I1c5d4c407a2ab656d26f600b997f88511e1f51b6
Closes-Bug: #1454209

Changed in mos:
status: Confirmed → Fix Committed
assignee: MOS Murano (mos-murano) → Kirill Zaitsev (kzaitsev)
Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Bug was reproduced again on ISO 446
ENV: ubuntu desctop + chrome broser

Steps to reproduce:
1. Log in Web UI
2. Create Murano environment
3. Add 3 applications to the environment
4. Send env to deploy
5. Stay on component page

Note: problem is not actual if user adds 2 apps to the env

Changed in mos:
status: Fix Released → Confirmed
Changed in mos:
assignee: Kirill Zaitsev (kzaitsev) → nobody
assignee: nobody → Kirill Zaitsev (kzaitsev)
Changed in mos:
importance: Critical → High
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano-dashboard (openstack-ci/fuel-6.1/2014.2)

Fix proposed to branch: openstack-ci/fuel-6.1/2014.2
Change author: Kirill Zaitsev <email address hidden>
Review: https://review.fuel-infra.org/6914

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano-dashboard (openstack-ci/fuel-6.1/2014.2)

Reviewed: https://review.fuel-infra.org/6914
Submitter: Ekaterina Chernova <email address hidden>
Branch: openstack-ci/fuel-6.1/2014.2

Commit: 312606dd621ca08aa20b441765ee2b727d7ce294
Author: Kirill Zaitsev <email address hidden>
Date: Fri May 22 16:05:47 2015

Call location.reload only once at successfull env deployment

Before it was possible, that in some configurations table update events
would stack and reload would be called multiple times.
This change introduces a global js variable, that would prevent
location.reload from being called more than once.

Change-Id: I63d8d0716751c5c20fbc57186aa0b9faedc9f47d
Closes-Bug: #1454209

Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Verified on ISO 464:
Steps to verify:
1. Upload Murano apps to the catalog
2. Create Murano env
3. Add one apps to the created env
4. Deploy env and wait for finish
5. After deploy add one more app to the env
6. Deploy env again and wait on this page for finish
7. Add one more app
8. Deploy env again and wait on this page for finish

Steps 4, 6, 8 were successful, page wasn't in infinite reload state

The same checks were tested when Murano env was in Deploy Failure status

Changed in mos:
status: Fix Committed → Fix Released
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Kirill Zaitsev <email address hidden>
Review: https://review.fuel-infra.org/8230

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote :

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Kirill Zaitsev <email address hidden>
Review: https://review.fuel-infra.org/8231

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Kirill Zaitsev <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8231

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote :

Change abandoned by Kirill Zaitsev <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8230

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.