Bug 1346087

Summary: Can't deploy when adding additional subscriptions to subscription management application with zero subs
Product: Red Hat Quickstart Cloud Installer Reporter: Landon LaSmith <llasmith>
Component: WebUIAssignee: Erik Nelson <ernelson>
Status: CLOSED ERRATA QA Contact: Thom Carlin <tcarlin>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 1.0CC: ernelson, jmatthew, tcarlin
Target Milestone: gaKeywords: Triaged
Target Release: 1.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-13 16:29:49 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: 1348320    
Bug Blocks: 1342594    
Attachments:
Description Flags
Installation review screenshot
none
SMA selection screenshot
none
Subscription review screenshot
none
Installation Review none

Description Landon LaSmith 2016-06-13 23:13:40 UTC
Created attachment 1167719 [details]
Installation review screenshot

Description of problem: If I use an subscription management application (SMA) that has zero subscriptions attached and specify to add attach any number of necessary subscriptions, QCI won't let me start the deployment.


Satellite ISO Media ID: 1465405187.008286


How reproducible: 100%


Steps to Reproduce:
1. Create SMA with 0 subscriptions 
2. Create RHEV + OSE deployment
2. During SMA selection, chose SMA with 0 subs
3. Select needed subscriptions and choose to attach additional subs
4. Continue to deployment

Actual results: Installation review will display "Quantity Added: Need to re-enter" next to all available subscriptions and deploy button is disabled.


Expected results: Installation review will show correct values for "Quantity Added" and deploy button is enabled


Additional info:

Comment 1 Landon LaSmith 2016-06-13 23:14:10 UTC
Created attachment 1167720 [details]
SMA selection screenshot

Comment 2 Landon LaSmith 2016-06-13 23:14:43 UTC
Created attachment 1167721 [details]
Subscription review screenshot

Comment 3 Erik Nelson 2016-06-20 20:43:32 UTC
PR: https://github.com/fusor/fusor/pull/962

Comment 4 John Matthews 2016-06-23 20:03:02 UTC
Addressed in ISO Set:
QCI-1.2-RHEL-7-20160623.t.0-QCI-x86_64-dvd1.iso
QCIOOO-8.0-RHEL-7-20160623.t.0-QCIOOO-x86_64-dvd1.iso

Comment 5 Thom Carlin 2016-06-24 16:57:58 UTC
Failed in QCI 1.2:

Although the subscriptions seem to be attached in Subscription Review, they do not flow to Installation Review as specified in "Steps to Reproduce".

See private screenshots for results.

Comment 6 Thom Carlin 2016-06-24 17:00:07 UTC
Created attachment 1171995 [details]
Installation Review

Comment 9 Erik Nelson 2016-07-12 20:51:31 UTC
Addressed edge cases: https://github.com/fusor/fusor/pull/1029

Comment 10 John Matthews 2016-07-18 21:14:36 UTC
QCI-1.2-RHEL-7-20160718.t.0

Comment 15 Thom Carlin 2016-08-31 14:15:28 UTC
VERIFIED in QCI-1.0-RHEL-7-20160830.t.0

"We've detected the subscription manifest supplied for this deployment may not have sufficient entitlements to cover the requested products."

Next button is enabled because we give the customer the freedom to decide whether or not to proceed

Comment 17 errata-xmlrpc 2016-09-13 16:29:49 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-2016:1862