Bug 980804

Summary: Alias can be created with capitalized chars but cannot be deleted with the same name
Product: OpenShift Online Reporter: Meng Bo <bmeng>
Component: ocAssignee: Ravi Sankar <rpenta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: rpenta, wsun, 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-07-22 15:20:23 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 Meng Bo 2013-07-03 09:35:30 UTC
Description of problem:
Add alias to app with capitalized chars in name, (like TEST.com) it will get success. But when deleting the alias with the same name, it will say cannot find the alias with the name.

Version-Release number of selected component (if applicable):
rhc-1.11.2
devenv_3441

How reproducible:
always

Steps to Reproduce:
1.Create app
2.Add alias with capitalized char to the app
$rhc alias add app1 TEST.com
3.Delete the alias with the same name
$rhc alias remove app1 TEST.com

Actual results:
$rhc alias remove diy1 TTEST.com
Alias TTEST.com can't be found in application .

Expected results:
Alias should be deleted with capitalized char as well.

Additional info:

Comment 1 Ravi Sankar 2013-07-09 00:11:04 UTC
Fixed in https://github.com/openshift/rhc/pull/420

Comment 2 openshift-github-bot 2013-07-09 20:28:03 UTC
Commits pushed to master at https://github.com/openshift/rhc

https://github.com/openshift/rhc/commit/d4467171850cf4246aacdaf242cfc0e40c7d9321
Bug 980804 - Alias name need to be in lower case while comparing with existing app aliases

https://github.com/openshift/rhc/commit/ac0efc2a98a31c81232161d053d1301e25ad265c
Merge pull request #420 from pravisankar/dev/ravi/bug980804

Merged by openshift-bot

Comment 3 Meng Bo 2013-07-10 08:02:54 UTC
Test on devenv_3471 with rhc client on instance. Issue fixed.

[root@ip-10-152-170-195 ~]# rhc alias add ruby19 FFF.com-com
Alias 'FFF.com-com' has been added.
[root@ip-10-152-170-195 ~]# rhc alias remove ruby19 FFF.com-com
Alias 'FFF.com-com' has been removed.


Move bug to verified.