Bug 1017023 - [fork][origin_ui_82]Should not show " State:<error>" when running ` rhc deployment-show`
Summary: [fork][origin_ui_82]Should not show " State:<error>" when running ` rhc deplo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: oc
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-09 07:29 UTC by Wei Sun
Modified: 2015-05-15 02:25 UTC (History)
2 users (show)

Fixed In Version: fork_ami_origin_ui_82_897
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-17 13:34:19 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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