Bug 1007454 - [RFE] Show the gears UUID when calling oo-admin-ctl-app
Summary: [RFE] Show the gears UUID when calling oo-admin-ctl-app
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 1.2.1
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Miheer Salunke
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 14:09 UTC by Nick Harvey
Modified: 2018-12-03 19:55 UTC (History)
9 users (show)

Fixed In Version: openshift-origin-broker-util-1.23.8.4-1.el6op
Doc Type: Bug Fix
Doc Text:
Previously, using the oo-admin-ctl-app command with the `-c status` option only returned the state of the application and any of its add-on cartridges, for example whether they were running or stopped. This bug fix updates the oo-admin-ctl-app command and now the `-c status` option also returns the application UUID and each of its gear UUIDs.
Clone Of:
Environment:
Last Closed: 2014-06-23 07:37:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0781 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.1.2 bug fix update 2014-06-23 11:36:38 UTC

Description Nick Harvey 2013-09-12 14:09:22 UTC
Description of problem: The Customer would like to see the gears UUID when they ran the following command in the broker:

oo-admin-ctl-app  -l ansilva -a test -c status
Application is running
%


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


How reproducible:


Steps to Reproduce:
1. login to the broker
2. Execute the command 

Actual results:


Expected results: the gears UUID


Additional info:

Comment 2 Miciah Dashiel Butler Masters 2014-06-13 15:02:11 UTC
Miheer is taking this bug.

Nick, please clarify how you want this to work in applications with multiple gears.  Do you want oo-admin-ctl-app to print all of the application's gears' UUIDs, or do you only want it to print the application's UUID (which coïncidentally is the first gear's UUID)?

Comment 3 Miciah Dashiel Butler Masters 2014-06-13 20:51:37 UTC
Miheer has fixed this bug upstream and backported his fix to enterprise-server/enterprise-2.1.

PR: https://github.com/openshift/enterprise-server/pull/300

commit bc9ae480f08da83ff8fa63cd5db9390d452a98c3
Author: Miheer Salunke <misalunk>
Date:   2014-06-13 21:46:20 +0530

    oo-admin-ctl-app: show app/gear UUID with status

    Make oo-admin-ctl-app  -l <username> -a test -c status display the application's and its gear's UUIDs.

    enterprise-server bug 1007454
    origin-server #cherrypick
    origin-server commit 5fc2d17c1a978c6838d01bffe97430eceffd0173

Comment 6 Jason DeTiberus 2014-06-18 19:12:10 UTC
http://etherpad.corp.redhat.com/puddle-2-1-2014-06-18

Comment 7 Yanping Zhang 2014-06-19 07:36:55 UTC
Verified on 2.1.z/2014-06-18.2
Steps to verify:
1.Create an app;
# rhc app create php1 php-5.4
2.On the broker ,view the app with oo-admin-ctl-app command.
[root@broker ~]# oo-admin-ctl-app -l ypzh -a php1 -c status

Actual results:
2.[root@broker ~]# oo-admin-ctl-app -l ypzh -a php1 -c status
Application UUID is 53a27112db26c899db000009
GEAR UUID is 53a27112db26c899db000009
Application is running
%

In the output, app and gear's UUID displayed correctly.

Comment 9 errata-xmlrpc 2014-06-23 07:37:25 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/RHBA-2014-0781.html


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