Bug 961285

Summary: [Forge]Failed to exit when using rhc tail
Product: OpenShift Online Reporter: joycezhang <jinzhang>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED WONTFIX QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: dmcphers, jhonce
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: 2015-06-11 21:37:10 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 joycezhang 2013-05-09 10:49:59 UTC
Description of problem:
If trying to exit while doing rhc tail logs, it would be failed to exit.

Version-Release number of selected component (if applicable):
devenv-stage_346
JBDS 7.0.0 Alpha2 with JBoss OpenShift Tools 2.5.0.Alpha2

How reproducible:
always

Steps to Reproduce:
1.Run rhc setup to create a new app in forge
2.Run rhc tail 

  
Actual results:
Can't exit from the command line as below:

[forge123final2] forge123final2 $ rhc tail forgeapp1
***INFO*** The command [tail] takes [0] unnamed argument(s), but found [1].
***INFO*** Swallowed unknown token [forgeapp1] for command [tail].
 ? Enter your Red Hat Openshift password: ******
 ? Press 'Q' anytime to stop. Do you understand ? [Y/n] Y
==> jbossews-2.0/logs/host-manager.2013-05-09.log <==

==> jbossews-2.0/logs/manager.2013-05-09.log <==

==> jbossews-2.0/logs/localhost.2013-05-09.log <==

==> jbossews-2.0/logs/catalina.2013-05-09.log <==
May 09, 2013 4:47:19 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
May 09, 2013 4:47:19 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.30
May 09, 2013 4:47:19 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/openshift/675679332632756265943040/app-root/runtime/repo/webapps/ROOT.war
May 09, 2013 4:47:20 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.0.254.129-8080"]
May 09, 2013 4:47:20 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1702 ms
[killed][killed][killed][killed][killed][killed][killed][killed][killed][killed][killed][killed][killed][killed][killed][killed][killed]

Expected results:
It should be easier to exit.

Additional info:

Comment 1 Jhon Honce 2013-06-24 23:44:24 UTC
Plugin source can be found at https://github.com/forge/plugin-openshift