Bug 1207895

Summary: Catalog Bundles: provisioning order limited to 2
Product: Red Hat CloudForms Management Engine Reporter: Kevin Morey <kmorey>
Component: UI - OPSAssignee: Shveta <sshveta>
Status: CLOSED ERRATA QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.3.0CC: david.costakos, dclarizi, hkataria, jhardy, kmorey, ldomb, mberube, mpovolny, obarenbo, sshveta
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1208683 (view as bug list) Environment:
Last Closed: 2015-06-16 12:56:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1208683    
Attachments:
Description Flags
screenshot of adding resources to a bundle
none
provisioning order none

Description Kevin Morey 2015-04-01 00:48:34 UTC
Created attachment 1009350 [details]
screenshot of adding resources to a bundle

Description of problem:
When creating a Catalog Bundle you cannot assign an item to a provision_index of 3 or greater. Here is the use case, I want to provision a database server first, a mid-tier server and a web server with a bundle but want the provisioning order to be 1, 2 and 3 respectively. The UI does not allow for more than 2 catalog items in this case. This is severely impacting our ability to showcase bundles during POCs. 

Version-Release number of selected component (if applicable):
5.3.3

How reproducible:
100%

Steps to Reproduce:
1. Create 2 catalog items
2. Create a Bundle that sets the provisioning order to 1, 2, 3 respectively


Actual results:
see screenshot

Expected results:
Expected to be able to set the provisioning order of an item to 3 or greater but the UI only allows for 2!

Additional info:
see screenshot

Comment 4 CFME Bot 2015-04-02 19:50:46 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/1c57a2c92bd0e51879fb7f59397f2937de14af3e

commit 1c57a2c92bd0e51879fb7f59397f2937de14af3e
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Oct 27 14:54:55 2014 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Apr 2 12:45:35 2015 -0400

    Changed Provision Order pull down to be independent pull down.
    
    Previously Provision Order pull down was tied to Action Order pull down and only showed entries same as in Action Order pull down, changed it to be a separate pull down and have one extra entry than already assigned Provision Order.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207895

 vmdb/app/controllers/catalog_controller.rb         | 38 ++++++++++++++++------
 .../views/catalog/_form_resources_info.html.haml   |  2 +-
 2 files changed, 29 insertions(+), 11 deletions(-)

Comment 5 CFME Bot 2015-04-06 16:01:39 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=1c5a69ba11daef9f42882fbba999cc44d5f2cfcf

commit 1c5a69ba11daef9f42882fbba999cc44d5f2cfcf
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon Oct 27 14:54:55 2014 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Apr 2 17:24:48 2015 -0400

    Changed Provision Order pull down to be independent pull down.
    
    Previously Provision Order pull down was tied to Action Order pull down and only showed entries same as in Action Order pull down, changed it to be a separate pull down and have one extra entry than already assigned Provision Order.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207895
    (cherry picked from commit 1c57a2c)

 vmdb/app/controllers/catalog_controller.rb         | 38 ++++++++++++++++------
 .../views/catalog/_form_resources_info.html.erb    |  2 +-
 2 files changed, 29 insertions(+), 11 deletions(-)

Comment 6 CFME Bot 2015-04-06 16:01:43 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=e4134d121b55694125458c004335c04f4304e662

commit e4134d121b55694125458c004335c04f4304e662
Merge: 951c513 1c5a69b
Author:     Dan Clarizio <dclarizi>
AuthorDate: Mon Apr 6 12:01:15 2015 -0400
Commit:     Dan Clarizio <dclarizi>
CommitDate: Mon Apr 6 12:01:15 2015 -0400

    Merge branch 'bz_1208683' into '5.3.z'
    
    Changed Provision Order pull down to be independent pull down.
    
    Changed Provision Order pull down to be independent pull down.  Previously Provision Order pull down was tied to Action Order pull down and only showed entries same as in Action Order pull down, changed it to be a separate pull down and have one extra entry than already assigned Provision Order.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1207895
    (cherry picked from commit 1c57a2c)
    
    Had to make minor change manually to erb file since that file has been converted to HAML on upstream.
    
    @dclarizio please review
    
    See merge request !19

 vmdb/app/controllers/catalog_controller.rb         | 38 ++++++++++++++++------
 .../views/catalog/_form_resources_info.html.erb    |  2 +-
 2 files changed, 29 insertions(+), 11 deletions(-)

Comment 8 Shveta 2015-04-20 22:43:21 UTC
Created attachment 1016616 [details]
provisioning order

Fixed
Verified in 5.4.0.0.19.20150410165622_ad23806

Comment 10 errata-xmlrpc 2015-06-16 12:56:34 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-1100.html