Red Hat Bugzilla – Bug 967683
Domain can't be deleted normally if trying to delete domain with upper case
Last modified: 2015-05-14 22:23:06 EDT
Description of problem:
Domain can't be deleted normally if trying to delete domain with upper case, e.g. create a domain named test, then delete the domain with 'rhc domain delete -n TEST', it will show that Domian TEST not found.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a domain by 'rhc domain create -n test'
2.Delete domain with the same name but change the chars capitailization 'rhc domain delete -n TEST'
Domain TEST not found.
Domain test should be deleted successfully
the issue only can reproduce when deleting a domian. Test OK with create or update domain
The REST API is able to successfully delete the domain. The CLI is probably doing some validations at its end and failing to ignore the case during comparisons.
Marked as merge in https://github.com/openshift/rhc/pull/392
Commit pushed to master at https://github.com/openshift/rhc
Fix bug 967683 - make domain id matching case-insensitive
Test OK using rhc client from devenv_3282.