Bug 1347216

Summary: [dev-preview-int]Wrong URL in the welcome email of dev-preview-int
Product: OpenShift Online Reporter: Bing Li <bingli>
Component: WebsiteAssignee: Abhishek Gupta <abhgupta>
Status: CLOSED WONTFIX QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.xCC: aos-bugs, jokerman, 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: 2016-08-22 16:34:07 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 Bing Li 2016-06-16 10:12:10 UTC
Description of problem:
Register a new user, an welcome email will be received. But the console/API/registry urls in the email are wrong.

Version-Release number of selected component (if applicable):
dev-preview-int
docker-1.9.1-40.el7.x86_64
atomic-openshift-3.2.1.1-1.git.0.96f9555.el7.x86_64
kernel-3.10.0-327.18.2.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Register a new user by a new github account.

2. Check the console/API/registry URLs in welcome email.

Actual results:
2. The web console/API/registry URLs in welcome email are wrong.The URLs listed are dev-preview-stg urls, not dev-preview-int.

Expected results:
2. The URLs should be dev-preview-int urls.

Comment 3 Abhishek Gupta 2016-08-22 16:34:07 UTC
This will most likely not be addressed as INT and STG in devpreview both share the same Intercom instance. The welcome emails are sent by the reconciler and we have separate reconcilers running  for INT and STG. So we COULD send two different welcome emails - one for INT and one for STG. However, all subsequent emails - 7day, 3day, 24hour, and the expiration email are being sent by Intercom, which cannot distinguish b/w INT and STG. So, even if we have separate welcome emails, the subsequent emails will all include links for a particular environment.