Bug 1578970

Summary: [Registration][INT] Unable to sign up for Fuse Online Pro with an existing Fuse Tech Preview plan
Product: OpenShift Online Reporter: Will Gordon <wgordon>
Component: Accounts and BillingAssignee: Lance Johnson <lanjohns>
Status: CLOSED CURRENTRELEASE QA Contact: yasun
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.xCC: aos-bugs, jokerman, lanjohns, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-29 14:12:43 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:

Description Will Gordon 2018-05-16 17:34:53 UTC
Description of problem:
If I have an existing Fuse Tech Preview plan, I'm unable to sign up for a Fuse Pro plan

Version-Release number of selected component (if applicable):
manage.int.openshift.com

How reproducible:
always

Steps to Reproduce:
1. View selectable plans, https://manage.int.openshift.com/register/plan
2. Confirm Fuse Online is available
3. Sign up for Fuse Tech Preview, https://manage.int.openshift.com/fuseonline
4. Review selectable plans, https://manage.int.openshift.com/register/plan

Actual results:
Fuse Online is no longer available to select

Expected results:
Fuse Online should be available to select

Additional info:

Comment 1 Will Gordon 2018-05-16 17:36:22 UTC
Oddly enough, even though Fuse Online is no longer available for selection, I have no problem reaching https://manage.int.openshift.com/register/fuse/plans to force myself to have a plan.

Comment 2 Lance Johnson 2018-05-16 22:09:14 UTC
Will so it turns out that this is weirder than originally thought. The reason the Fuse plan is not appearing on /register/plan after going to /fuseonline is because the visit to /fuseonline is actually creating a Fuse Small plan and not the tech preview. I don't actually know how that flow works for the /fuseonline tech preview. It seems like we hand off control to external service. How that external service is looking up the plan I don't know. I'll keep investigating but it may need to wait till tomorrow when I can get some more information.

Comment 3 Lance Johnson 2018-05-16 22:15:07 UTC
Figured out what's going on. The technical preview code within Online Registration had assumed there was only one FuseIgnite plan available so its just querying for the first  FuseIgnite plan. Now that there are more FuseIgnite type plans available, that doesn't work.

Comment 4 Lance Johnson 2018-05-17 00:24:51 UTC
Pull Request to fix this issue: https://github.com/openshift/online-registration/pull/1213