Bug 1017023

Summary: [fork][origin_ui_82]Should not show " State:<error>" when running ` rhc deployment-show`
Product: OpenShift Online Reporter: Wei Sun <wsun>
Component: ocAssignee: Fabiano Franz <ffranz>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: ffranz, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: fork_ami_origin_ui_82_897 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-17 13:34:19 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 Wei Sun 2013-10-09 07:29:59 UTC
Description of problem:
Create an application,and try to show details of the given deployment(state is active) for this application via `rhc deployment-show`,but it returns something like "State:      <error>".

Version-Release number of selected component (if applicable):
rhc-1.16.0 build from fork_ami_origin_ui_82_889
fork_ami_origin_ui_82_889
devenv_3874

How reproducible:
Always

Steps to Reproduce:
1.Create an application
2.List deployment via `rhc deployment-list`
3.Show details of the given deployment via `rhc deployment-show`

Actual results:
2.[wsun@dhcp-8-229 ~]$ rhc deployment-list perlt
perlt @ http://perlt-wsun82d3874.dev.rhcloud.com/ (uuid: 52550050bdf988c215000294)
----------------------------------------------------------------------------------
  Deployment:        auto
  Keep Deployments:  1
  Deployment Type:   git
  Deployment Branch: master

Deployment ID a8369a7e (active)
-------------------------------
  Ref:               master
  Sha1:              4cc80b9
  Hot Deploy:        false
  Created At:        3:05 PM
  Force Clean Build: false
  Activations:       3:06 PM

3.[wsun@dhcp-8-229 ~]$ rhc deployment-show -a perlt --id a8369a7e
a8369a7e
--------
  ID:         a8369a7e
  Ref:        master
  Hot Deploy: false
  State:      <error>


Expected results:
State should be active.

Additional info:

Comment 1 Fabiano Franz 2013-10-11 14:16:39 UTC
Fixed in the pull request and fork_ami_origin_ui_82_897.

Comment 2 Xiaoli Tian 2013-10-12 10:48:05 UTC
(In reply to Fabiano Franz from comment #1)
> Fixed in the pull request and fork_ami_origin_ui_82_897.

Verified it with rhc on fork_ami_origin_ui_82_899, state is removed, not sure if it's intended

[root@ip-10-154-178-162 ~]# rhc deployment-list -a phps
Deployment ID f136e781 (active)
-------------------------------
  Git Reference:     master
  SHA1:              6eea044
  Created At:        5:58 AM
  Hot Deploy:        false
  Force Clean Build: false
  Activations:       6:00 AM

Use 'rhc show-app phps --configuration' to check your deployment configurations.
[root@ip-10-154-178-162 ~]# rhc deployment-show --id f136e781 -a phps
Deployment ID f136e781
----------------------
  Git Reference:     master
  SHA1:              6eea044
  Created At:        5:58 AM
  Hot Deploy:        false
  Force Clean Build: false
  Activations:       6:00 AM