Bug 1006207

Summary: Caught undefined local variable or method `alias_name' error when adding alias with "oo-devel-node "
Product: OpenShift Online Reporter: lmeng <lmeng>
Component: ContainersAssignee: Michal Fojtik <mfojtik>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: mfojtik, qiuzhang, szhou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-19 16:50:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description lmeng 2013-09-10 08:46:26 UTC
Description of problem:
Caught undefined local variable or method `alias_name' for main:Object, when adding alias with "oo-devel-node "

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

How reproducible:
always 

Steps to Reproduce:
1.Create an app 
rhc app create php4 php-5.3 
2.login node add alias with oo-devel-node
 oo-devel-node add-alias --with-container-uuid 522ecb6927fb118ead00001a --with-alias-name php4444

Actual results:
[root@ip-10-145-225-182 cartridges]# oo-devel-node add-alias --with-container-uuid 522ecb6927fb118ead00001a --with-alias-name php4444
undefined local variable or method `alias_name' for main:Object


Expected results:
Should be successful.

Additional info:

Comment 1 openshift-github-bot 2013-09-10 13:28:23 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/886fe1c6f7e085f139d59a8ea9df93401f2bb7ec
Bug 1006207 - Fixed typo in add/remove alias (oo-devel-node)

Comment 2 Qiushui Zhang 2013-09-12 08:54:41 UTC
Tested on devenv_3776.

[root@ip-10-147-175-80 cartridges]# oo-devel-node add-alias --with-container-uuid 5231740609065c1c7100008d --with-alias-name zd.bar.com
[root@ip-10-147-175-80 cartridges]#

[root@ip-10-147-175-80 cartridges]# oo-devel-node aliases --with-container-uuid 5231740609065c1c7100008d
zd.bar.com

Mark it as verified.