Bug 885598 - [client]Should add split charater between each alias-name when execute "rhc domain show" in ruby-1. 8 environment
Summary: [client]Should add split charater between each alias-name when execute "rhc d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 876126
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-10 07:55 UTC by xjia
Modified: 2017-03-08 17:34 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 876126
Environment:
Last Closed: 2013-01-31 20:33:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0220 0 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 1.1 update 2013-02-01 01:23:24 UTC

Description xjia 2012-12-10 07:55:41 UTC
This bug is fixed in upstream, but not merged in enterprise, clone this bug to track.

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):
rhc-1.0.6
http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.1.x/2012-12-09.1

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







+++ This bug was initially created as a clone of Bug #876126 +++

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

--- Additional comment from Fabiano Franz on 2012-11-14 12:36:00 EST ---

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

--- Additional comment from zhangjing on 2012-11-15 00:07:30 EST ---

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

Comment 2 Brenton Leanhardt 2012-12-12 13:18:15 UTC
We're planning to rebase rhc for 1.1.

Comment 3 Brenton Leanhardt 2012-12-12 16:26:13 UTC
The rebase rhc will ship with the next puddle.

Comment 4 xjia 2012-12-13 05:49:07 UTC
[root@xjia-client 1213]# rhc domain show -pjia 
Applications in jia
===================

  ruby19 @ http://ruby19-jia.example.com/
  =======================================
    Application Info
    ================
      Aliases   = jiaxuan jiaxuan1
      Git URL   = ssh://2cca5577fd134cf5bb0f3a6bc35f1ff0.com/~/git/ruby19.git/
      SSH URL   = ssh://2cca5577fd134cf5bb0f3a6bc35f1ff0.com
      Created   = 12:46 AM
      UUID      = 2cca5577fd134cf5bb0f3a6bc35f1ff0
      Gear Size = small
    Cartridges
    ==========
      ruby-1.9

Version:
rhc 1.1.11
OpenShiftEnterprise/1.1.x/2012-12-12.2

Comment 6 errata-xmlrpc 2013-01-31 20:33:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0220.html


Note You need to log in before you can comment on or make changes to this bug.