Bug 981594 - "oo-add-alias" command doesn't work
Summary: "oo-add-alias" command doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Rob Millner
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-05 08:42 UTC by Wei Sun
Modified: 2015-05-14 23:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-22 15:21:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Wei Sun 2013-07-05 08:42:23 UTC
Description of problem:
Create an app,and log in instance to run `oo-add-alias` to add alias,but it doesn't work.It returns "uninitialized constant ApplicationContainer"

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

How reproducible:
Always

Steps to Reproduce:
1.Create an app
2.Log in instance and run `oo-add-alias` command
3.

Actual results:
[root@ip-10-118-162-77 ~]# oo-add-alias --with-container-uuid 675143605735532311609344 --with-container-name zendt --with-namespace wsun3dev34501 --with-alias-name zendt.com.cn
uninitialized constant ApplicationContainer


Expected results:
Can add alias successfully

Additional info:

Comment 1 openshift-github-bot 2013-07-09 16:56:38 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/008d90235027e5fa5e18f373193f6d5eca07d822
Bug 981594 - ApplicationContainer used as an argument needed full module paths.

Comment 2 Wei Sun 2013-07-10 02:48:36 UTC
Verified in devenv_3471

Result:
[root@ip-10-141-152-11 ~]# oo-add-alias --with-container-uuid 5629a36ee90a11e2b3e722000a8d980b --with-container-name phpt --with-namespace sun3dev3471 --with-alias-name phpt.com.cn

And can access the app via alias.


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