Bug 1002685

Summary: /app/console/applications fails for mixed case domains
Product: OpenShift Online Reporter: Andy Grimm <agrimm>
Component: MasterAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: jgoulding, jhou, kborcher, yujzhang
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:34 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 Andy Grimm 2013-08-29 17:35:33 UTC
For users with mixed case domain namespaces,  https://openshift.redhat.com/app/console/applications returns a "Domain <XXX> does not exist" error message.

Comment 1 Clayton Coleman 2013-08-29 17:48:35 UTC
Looking up applications by domain isn't downcasing domain ids.  Fixed in https://github.com/openshift/origin-server/pull/3519 and to stage for possible hotfix in https://github.com/openshift/origin-server/pull/3520

Comment 2 openshift-github-bot 2013-08-29 19:03:05 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/fcd3dc22413591000f35820be7a9e42cd5c9c1c5
Bug 1002685 - Downcase domain names when fetching applications by domain

The domain_id lookup for applications scoped to a domain was not properly lowercasing the namespace

Comment 3 Jianwei Hou 2013-08-30 02:05:25 UTC
Verified on devenv_3726

Create a domain with mixed cases:
rhc create-domain jHoU

Go to webconsole $broker/app/console/applications, no error is seen.