Bug 1002368

Summary: Report "Domain 'mongoCon' does not exist" when visiting my application page or rhc domain show on PROD but it exists actually
Product: OpenShift Online Reporter: Yujie Zhang <yujzhang>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 16:48:31 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:

Description Yujie Zhang 2013-08-29 03:26:19 UTC
Description of problem:

Login using my old account "yujzhang+3", go to my appliation page, met error "Domain 'mongoCon' does not exist", but the domain exists and can create application using that domain.Checked using rhc domain list, result as following:

[root@dhcp-8-252 features]# rhc domain list -l yujzhang+3 --server openshift.redhat.com
Domain mongoCon (owned by yujzhang+3)
------------------------------------------------
  Created:            Feb 13  1:25 AM
  Allowed Gear Sizes: small, medium, c9

You have access to 1 domain.

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

How reproducible:
always

Steps to Reproduce:
1.Login using "yujzhang+3"
2.Go to my application page
3.

Actual results:

Always met "Domain 'mongoCon' does not exist" error when accessing my application, but the domain can be used to create applciation and can be listed using rhc domain list.

Expected results:

The my application page should be accessed successfully without error.

Additional info:

Comment 1 Abhishek Gupta 2013-09-11 18:08:51 UTC
Clayton: Can someone from the UI team take a look or at least provide some pointers?

Comment 2 Clayton Coleman 2013-09-11 18:29:05 UTC
This was fixed this sprint - capitalized domain names were incorrectly handled as a result of the domain name refactor.  We hotfixed this into PROD.

Comment 3 Yujie Zhang 2013-09-12 07:21:16 UTC
Tested on PROD using account "yujzhang+3", the my applicatons page can be accessed successfully now, so verify this bug, thanks!