Bug 1028055 - rhc deployment-show displays wrong info
rhc deployment-show displays wrong info
Status: CLOSED NOTABUG
Product: OpenShift Online
Classification: Red Hat
Component: Pod (Show other bugs)
1.x
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lili Nader
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-07 09:54 EST by Oleg Fayans
Modified: 2016-11-30 19:27 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-07 10:39:26 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Oleg Fayans 2013-11-07 09:54:14 EST
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.