Bug 1028055 - rhc deployment-show displays wrong info
Summary: rhc deployment-show displays wrong info
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Pod
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Lili Nader
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-07 14:54 UTC by Oleg Fayans
Modified: 2016-12-01 00:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-07 15:39:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Oleg Fayans 2013-11-07 14:54:14 UTC
Description of problem:

When I perform deployment with --hot-deploy option and then request the deployment info, it says that Hot Deployment was disabled


Version-Release number of selected component (if applicable):

reproduced on devenv instance with ami_id: ami-036f346a

How reproducible:
Always

Steps to Reproduce:
1. create an app: rhc app create myapp php-5.3
2. configure the app to disable auto-deploy: 
rhc app-configure --no-auto-deploy -a myapp
3. make some changes in the local repo, commit them
4. deploy the app with hot-deploy option:
rhc app-deploy --hot-deploy -a myapp --ref <git_reference>
5. find out deployment id:
rhc deployments -a myapp
6. show this deployment info:
rhc deployment-show <deployment_id> -a myapp 

Actual results:

$ rhc deployment-show 3b3c1f5d -a qbklikrq
Password: ******

Deployment ID 3b3c1f5d (active)
-------------------------------
  Git Reference:     f2c19b2a826baad8b75e1bb36c6ebb5bb46c2fd0
  SHA1:              f2c19b2
  Created At:        2:58 PM
  Hot Deploy:        false
  Force Clean Build: false
  Activations:       2:58 PM

Expected results:

$ rhc deployment-show 3b3c1f5d -a qbklikrq
Password: ******

Deployment ID 3b3c1f5d (active)
-------------------------------
  Git Reference:     f2c19b2a826baad8b75e1bb36c6ebb5bb46c2fd0
  SHA1:              f2c19b2
  Created At:        2:58 PM
  Hot Deploy:        true
  Force Clean Build: false
  Activations:       2:58 PM


Additional info:
tcms testcase: 
https://tcms.engineering.redhat.com/case/318014/


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