Bug 1149099

Summary: CLI freezes and it's not possible to terminate it (using Ctrl-C) in some cases
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Josef Cacek <jcacek>
Component: CLIAssignee: Tomas Hofman <thofman>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kremensky <pkremens>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.3.1CC: brian.stansberry, cdewolf, kkhan, thofman
Target Milestone: DR11   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: dev_no_blocker
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On:    
Bug Blocks: 1149104    

Description Josef Cacek 2014-10-03 08:37:37 UTC
The CLI freezes in phase of requesting username/password in some cases.

Reproducer
==========
Run following command:

./jboss-cli.sh -c << EOF
/core-service=management/security-realm=ManagementRealm/authentication=local:remove
reload
EOF

Comment 1 Tomas Hofman 2014-11-20 12:07:41 UTC
PR: https://github.com/jbossas/jboss-eap/pull/1999

Comment 2 JBoss JIRA Server 2014-11-20 12:09:09 UTC
Tomas Hofman <thofman> updated the status of jira WFCORE-269 to Coding In Progress

Comment 3 Petr Kremensky 2014-11-26 09:19:29 UTC
I believe we should make CLI not to hang in this case. We already dealt with similar issues in BZ961425.

From my point of view we can either close this one (as CLI can be at least interrupted now [6.4.0.DR11]) and create a new BZ (in this case please move back to ON_QA and I'll handle the rest) or decrease severity/remove blocker? and continue with this one.

Comment 6 Petr Kremensky 2014-12-01 09:47:01 UTC
Verified on EAP 6.4.0.DR11