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
PR https://github.com/jbossas/jboss-eap/pull/2107
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
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.
Verified on EAP 6.4.0.ER1