Description of problem: Add two or more alias for one app, then rhc domain show, the alias name is mixed. Should use space or other character to split alias name. Version-Release number of selected component (if applicable): dev 2458 rhc 1.1.4 How reproducible: Always Steps to Reproduce: 1.Create an app named ruby19 2.Add alias named jiaxuan 3.Add another alias named jiaxuan1 4.rhc domain show Actual results: [jason@jasontest ~]$ rhc domain show -pjia Applications in jia =================== ruby19 @ http://ruby19-jia.example.com/ ======================================= Application Info ================ Created = 5:12 AM Gear Size = small SSH URL = ssh://363e8bc9676f4221a7af0aed7a5f9149.com UUID = 363e8bc9676f4221a7af0aed7a5f9149 Git URL = ssh://363e8bc9676f4221a7af0aed7a5f9149.com/~/git/ruby19.git/ Aliases = jiaxuanjiaxuan1 Cartridges ========== ruby-1.9 Expected results: [jason@jasontest ~]$ rhc domain show -pjia Applications in jia =================== ruby19 @ http://ruby19-jia.example.com/ ======================================= Application Info ================ Created = 5:12 AM Gear Size = small SSH URL = ssh://363e8bc9676f4221a7af0aed7a5f9149.com UUID = 363e8bc9676f4221a7af0aed7a5f9149 Git URL = ssh://363e8bc9676f4221a7af0aed7a5f9149.com/~/git/ruby19.git/ Aliases = jiaxuan jiaxuan1 Cartridges ========== ruby-1.9 Additional info: online(devenv_2458),fedora 17 [root@F17x64-openshift ~]# rhc domain show -l yujzhang+int999 Password: Applications in asdkfle32 ========================= lll @ http://lll-asdkfle32.dev.rhcloud.com/ =========================================== Application Info ================ Created = 5:55 AM UUID = 6f7fbeda6cd042e39408ce2709c262bc Gear Size = small Git URL = ssh://6f7fbeda6cd042e39408ce2709c262bc.rhcloud.com/~/git/lll.git/ SSH URL = ssh://6f7fbeda6cd042e39408ce2709c262bc.rhcloud.com Aliases = ["tttt1", "tttt2"] Cartridges ========== php-5.3 online(INT),rhc-1.1.4 app2 @ http://app2-wsunint1113.int.rhcloud.com/ =============================================== Application Info ================ Created = 5:57 AM UUID = fbe6d3c1840c45c8933fccc6e78bef2a Gear Size = small Git URL = ssh://fbe6d3c1840c45c8933fccc6e78bef2a.rhcloud.com/~/git/app2.git/ SSH URL = ssh://fbe6d3c1840c45c8933fccc6e78bef2a.rhcloud.com Aliases = ["test2", "test3"] Cartridges ========== zend-5.6
Fixed by pull request: https://github.com/openshift/rhc/pull/215. ffranz@ffranz rhc$ rhc domain show Applications in ffranz04 ======================== ruby19 @ http://ruby19-ffranz04.dev.rhcloud.com/ ================================================ Application Info ================ Created = 12:08 PM UUID = bb544222166f494287c048388a3b91e7 Gear Size = small Git URL = ssh://bb544222166f494287c048388a3b91e7.rhcloud.com/~/git/ruby19.git/ SSH URL = ssh://bb544222166f494287c048388a3b91e7.rhcloud.com Aliases = myawesome.com mywonderful.com Cartridges ========== ruby-1.9 ruby19b @ http://ruby19b-ffranz04.dev.rhcloud.com/ ================================================== Application Info ================ Created = 12:18 PM UUID = 1db1f28c1ec7436a86fb1404007f2017 Gear Size = small Git URL = ssh://1db1f28c1ec7436a86fb1404007f2017.rhcloud.com/~/git/ruby19b.git/ SSH URL = ssh://1db1f28c1ec7436a86fb1404007f2017.rhcloud.com Aliases = mywonderful2.com Cartridges ========== ruby-1.9
This bug has been verified and fixed, please refer to the details as below: Build: rhc-1.1.7.gem devenv_2474 Verified results: The alias are separated by space as below: # rhc domain show -p a Applications in tstdm11 ======================= ruby19 @ http://ruby19-tstdm11.dev.rhcloud.com/ =============================================== Application Info ================ Created = 12:00 AM Aliases = jiaxuan jiaxuan1 Gear Size = small Git URL = ssh://2bbd20927e0f406eaf81383adc331fcf.rhcloud.com/~/git/ruby19.git/ SSH URL = ssh://2bbd20927e0f406eaf81383adc331fcf.rhcloud.com UUID = 2bbd20927e0f406eaf81383adc331fcf Cartridges ========== ruby-1.9