Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1109549 - enhance oo-admin-ctl-app with ability to add/remove alias
enhance oo-admin-ctl-app with ability to add/remove alias
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.1.0
Unspecified Linux
high Severity medium
: ---
: ---
Assigned To: Brenton Leanhardt
libra bugs
: Upstream
Depends On: 1105843
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-15 04:48 EDT by Brenton Leanhardt
Modified: 2014-08-26 09:52 EDT (History)
10 users (show)

See Also:
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.
Story Points: ---
Clone Of: 1105843
Environment:
Last Closed: 2014-08-26 09:52:31 EDT
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)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1095 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.1.5 bug fix and enhancement update 2014-08-26 13:51:34 EDT

  None (edit)
Comment 1 Brenton Leanhardt 2014-08-01 09:08:30 EDT
Upstream commit:

commit c197c5a07f2e36c8c9cd359e71e2d0d2e885732c
Author: Lili Nader <lnader@redhat.com>
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 02:10:23 EDT
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 09:52:31 EDT
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.