Bug 1169300 - (6.4.0) The CLI freezes in phase of requesting username/password
Summary: (6.4.0) The CLI freezes in phase of requesting username/password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ER1
: EAP 6.4.0
Assignee: Tomas Hofman
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On: 1169858
Blocks: 1169864
TreeView+ depends on / blocked
 
Reported: 2014-12-01 09:46 UTC by Petr Kremensky
Modified: 2019-08-19 12:40 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 1169864 (view as bug list)
Environment:
Last Closed: 2019-08-19 12:40:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1149099 0 unspecified CLOSED CLI freezes and it's not possible to terminate it (using Ctrl-C) in some cases 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1238263 0 unspecified CLOSED [QA] (6.4.z) jboss-cli client prints "Accept certificate? [N]o, [T]emporarily, [P]ermenantly" indefinitely 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker WFCORE-438 0 Major Resolved The CLI freezes in phase of requesting username/password 2015-07-20 08:47:25 UTC

Internal Links: 1149099 1238263

Description Petr Kremensky 2014-12-01 09:46:17 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

Version-Release number of selected component (if applicable):
EAP 6.4.0.DR11

Additional info:
Follow up to BZ1149099

Comment 1 Tomas Hofman 2014-12-02 15:10:25 UTC
PR https://github.com/jbossas/jboss-eap/pull/2107

Comment 2 Petr Kremensky 2014-12-10 09:41:56 UTC
CLI still freezes (DR13):

./standalone.sh &
./add-user.sh master asdasd@2

a) use CLI interactively
./jboss-cli.sh -c
[standalone@localhost:9999 /] /core-service=management/security-realm=ManagementRealm/authentication=local:remove
[standalone@localhost:9999 /] reload
// server reload
Authenticating against security realm: ManagementRealm
Username: master
Password: 
[standalone@localhost:9999 /]

b) use command from description
./jboss-cli.sh -c << EOF
/core-service=management/security-realm=ManagementRealm/authentication=local:remove
reload
EOF

// server reload
Authenticating against security realm: ManagementRealm
Username: Failed to establish connection: JBAS012174: Could not connect to remote://localhost:9999. The connection failed: Authentication failed: the server presented no authentication mechanisms
[disconnected /] 
// cli process stuck, Ctrl+C is the only way out

I don't think this should be moved to ON_QA since BZ1169858 has still status NEW

Comment 3 Tomas Hofman 2014-12-10 12:10:13 UTC
Sure, the upgrade BZ was not yet merged.

Sorry for forgetting to mention that - this fix has two parts: 
- one is the PR mentioned here (already merged),
- second is the upgrade BZ 1169858 for AESH library to version 0.33.14, which was only released yesterday.

I'm switching to POST state so that the upgrade BZ can be completed.

Comment 6 Petr Kremensky 2015-01-13 06:22:55 UTC
Verified on EAP 6.4.0.ER1


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