Bug 1245697 - Performance issues in provisioning after initial template selection
Summary: Performance issues in provisioning after initial template selection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Provisioning
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.4.2
Assignee: eclarizi
QA Contact: Pete Savage
URL:
Whiteboard:
Depends On: 1240742
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-22 14:29 UTC by Chris Pelland
Modified: 2019-08-15 04:56 UTC (History)
11 users (show)

Fixed In Version: 5.4.2.0
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, provisioning dialog pages could take more than 20 seconds to load. This was because provisioning dialog pages examined data from all tab fields even if they didn't need to. This bug was fixed by refactoring the code to prevent duplicate initialization loops and adding a new method to go through the tab list by name. Provisioning dialog pages load quickly in the new version of CloudForms Management Engine.
Clone Of: 1240742
Environment:
Last Closed: 2015-09-09 12:25:54 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1744 0 normal SHIPPED_LIVE CFME 5.4.2 bug fixes, and enhancement update 2015-09-09 16:25:05 UTC

Comment 1 CFME Bot 2015-07-30 13:21:21 UTC
New commit detected on cfme/5.4.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=cf78c8c017c418980ffc29b2907aeadf5b850a28

commit cf78c8c017c418980ffc29b2907aeadf5b850a28
Merge: 5037114 e2c0029
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Jul 30 09:14:14 2015 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Thu Jul 30 09:14:14 2015 -0400

    Merge branch 'bz1245697' into '5.4.z'
    
    BZ1245697 - Address performance issues while selecting provisioning template
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1245697
    
    This is a backport of 1240742: https://bugzilla.redhat.com/show_bug.cgi?id=1240742.
    
    Pulled the commits for this MR from this PR: https://github.com/ManageIQ/manageiq/pull/3418
    
    Was not a clean cherry-pick, most of the problems were in the \_prov_wf.html.haml view, because the helper functions like `miq_tab_header` do not exist on 5.4.z. The only other "conflict" I had was the spec for `#init_from_dialogs` didn't get moved over, so I added it manually.
    
    See merge request !204

 vmdb/app/models/miq_provision_virt_workflow.rb |  49 +++++++-----
 vmdb/app/models/miq_request_workflow.rb        |  82 +++++++++++--------
 vmdb/app/views/miq_request/_prov_wf.html.haml  |  12 +--
 vmdb/spec/models/miq_request_workflow_spec.rb  | 105 +++++++++++++++++++++++++
 4 files changed, 193 insertions(+), 55 deletions(-)

Comment 13 errata-xmlrpc 2015-09-09 12:25:54 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://rhn.redhat.com/errata/RHBA-2015-1744.html


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