Bug 1109549 - enhance oo-admin-ctl-app with ability to add/remove alias
Summary: enhance oo-admin-ctl-app with ability to add/remove alias
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.1.0
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1105843
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-15 08:48 UTC by Brenton Leanhardt
Modified: 2014-08-26 13:52 UTC (History)
10 users (show)

Fixed In Version: openshift-origin-broker-util-1.23.8.9-1.el6op
Doc Type: Enhancement
Doc Text:
The oo-admin-ctl-app command now has the --alias option which allows administrators to add or remove an alias from an application.
Clone Of: 1105843
Environment:
Last Closed: 2014-08-26 13:52:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1095 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.1.5 bug fix and enhancement update 2014-08-26 17:51:34 UTC

Comment 1 Brenton Leanhardt 2014-08-01 13:08:30 UTC
Upstream commit:

commit c197c5a07f2e36c8c9cd359e71e2d0d2e885732c
Author: Lili Nader <lnader>
Date:   Thu Jun 12 22:03:44 2014 -0700

    Bug 1105843 - added add/remove alias functionality to oo-admin-ctl-app

Comment 4 Ma xiaoqiang 2014-08-04 06:10:23 UTC
Check on puddle[2.1.5/2014-08-01.1]

1. Create 2 apps named app1, app2.
# rhc app-create app1 $CART 
# rhc create-app app2 $CART
2. Create alias for app1 via rhc.
# rhc alias-add app1  app.alias
Alias added successfully.
3. Add above alias to app2 via oo-admin-ctl-app
# oo-broker oo-admin-ctl-app  -l LOGIN -a app2 -c add-alias --alias app.alias
Show alias already registered.
4. Remove alias from app1 via oo-admin-ctl-app
# oo-broker oo-admin-ctl-app -l LOGIN -a app1 -c remove-alias --alias app.alias
Alias removed successfully.
5. Add above alias to app2 via oo-admin-ctl-app
# oo-broker oo-admin-ctl-app  -l LOGIN -a app2 -c add-alias --alias app.alias
 Alias added successfully.
6. Add above alias to app1 via rhc
# rhc alias-add app1 app.alias
 Show alias already registered.

Comment 6 errata-xmlrpc 2014-08-26 13:52:31 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-1095.html


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