Bug 1004216 - Met undefined method when trying to disconnect front-end connection with oo-devel-node
Summary: Met undefined method when trying to disconnect front-end connection with oo-d...
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: Michal Fojtik
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-04 08:35 UTC by Meng Bo
Modified: 2015-05-14 23:27 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-19 16:49:04 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Meng Bo 2013-09-04 08:35:52 UTC
Description of problem:
When using oo-devel-node frontend-disconnect to disconnect the connection for a gear. It will show "undefined method `[]' for nil:NilClass", and cannot disconnect the connection successfully.

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

How reproducible:
always

Steps to Reproduce:
1. Create a gear via oo-devel-node
#oo-devel-node app-create --with-container-uuid '123456' --with-app-uuid '123456' --with-namespace 'dom1' --with-app-name 'app1'
2. Connect to the existing frontend connection
#oo-devel-node frontend-connect --with-container-uuid '123456' --path "" --target "127.2.251.1:8080"
3. Try to disconnect the connection via oo-devel-node
#oo-devel-node frontend-disconnect --with-container-uuid '123456' --path ""

Actual results:
# oo-devel-node frontend-disconnect --with-container-uuid '123456' --path ""
undefined method `[]' for nil:NilClass

Expected results:
Should not meet such error and the connection can be disconnected.

Additional info:
It was working well on devenv_3739 with old command oo-frontend-disconnect

And the description of the option is incorrect.
# oo-devel-node --help frontend-disconnect
  NAME:
    frontend-disconnect
  DESCRIPTION:
    Add a frontend connection       <-----------------------

Comment 1 openshift-github-bot 2013-09-04 16:47:53 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/8bdc93f070c1f7034532738d4a42798a575a15e6
Bug 1004216 - Fixed typo in frontend-disconnect (oo-devel-node)

Comment 2 Meng Bo 2013-09-05 08:43:14 UTC
The issue has been fixed on devenv_3745.

Frontend connection can be disconnected via oo-devel-node.

Move bug to verified.


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