Bug 1386305

Summary: Review subscriptions does not reflect actual manifest contents
Product: Red Hat Quickstart Cloud Installer Reporter: Jesus M. Rodriguez <jesusr>
Component: WebUIAssignee: cchase
Status: CLOSED ERRATA QA Contact: Thom Carlin <tcarlin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: cchase, jmatthew, qci-bugzillas, tcarlin
Target Milestone: ---Keywords: Triaged
Target Release: 1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1425918 (view as bug list) Environment:
Last Closed: 2017-02-28 01:40:16 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:
Bug Depends On:    
Bug Blocks: 1425918    
Attachments:
Description Flags
bug is already in erratum none

Description Jesus M. Rodriguez 2016-10-18 15:33:15 UTC
Pre-conditions:
* manifest with RHCI & OpenShift entitlements
* account containing said manifest has to have NO RHCI entitlements LEFT to add to any manifest.
* rhci-test is such an account TODAY (10/18/2016).

Recreate bug:
* on a fresh db create a new deployment (first one)
* add subscriptions page will only show the OpenShift entitlements because there are no RHCI entitlements to add. This is OK.
* Click Next to go to Review Subscriptions screen. This screen only shows the OpenShift entitlements, it should ALSO show the RHCI entitlements FROM THE MANIFEST.

Items of note:
* At this point in the process we do NOT have access to the actual manifest since we are doing a connected install and have not yet downloaded it.

* It is possible that the customer_portal API is not returning the information we expected which would mean we need to either change the API we call OR there is a bug on the portal that does not expose such information.

Comment 3 cchase 2016-11-04 18:20:59 UTC
https://github.com/fusor/fusor/pull/1285

Comment 4 cchase 2016-11-04 18:22:44 UTC
Attached entitlements that don't have additional subscriptions available should now be visible on the review screen.

Comment 5 John Matthews 2016-11-22 13:38:42 UTC
Expected in 11/21 ISO

Comment 6 Thom Carlin 2016-12-12 18:57:39 UTC
Clarifications (after talking with Jesus):

Pre-condition
* Manifest containing
  * RHCI SKU
     * All entitlements need to be consumed
     * Don't use a RHCLS SKU
  * OpenShift SKU

Success criteria:
* Review Subscriptions page should display both RHCI and OpenShift entitlements contained in the manifest

Comment 7 Thom Carlin 2016-12-12 19:18:45 UTC
Note: It was reported that it may also occur in 1.0

Comment 9 Jesus M. Rodriguez 2017-02-20 19:27:05 UTC
Created attachment 1255851 [details]
bug is already in erratum

bug is already in erratum

Comment 11 Thom Carlin 2017-02-22 15:48:21 UTC
Created manifest with:
* 1 RHCI SKU
* 1 OpenShift SKU

Uploaded this manifest to Satellite 6:
* Verified each SKU showed up as 0 out of 1

Deployed a single self-hosted RHV system using this manifest

Comment 12 Thom Carlin 2017-02-22 17:59:17 UTC
After successful deployment of self-hosted RHV system (100%), manifest now shows:
* RHCI has 1 out of 1 [1 physical entitlement consumed, zero available]
* OpenShift has 0 out of 1 [no entitlements consumed, one available]

Tried new deployment against second host

Comment 13 Thom Carlin 2017-02-22 18:21:57 UTC
VERIFIED in current version on second deployment.

We should something in the Release Notes/KCS article to mention that additional RHCI/RHCS lines may appear, depending on the SKU attributes and this is normal.  Enhancements to Entitlements display are currently being evaluated for a future QCI verison.

Comment 15 errata-xmlrpc 2017-02-28 01:40:16 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-2017:0335