You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to connect locally to the jboss-cli when the image is deployed on OpenShift.
sh-5.1$ whoami
1006870000
sh-5.1$ $JBOSS_HOME/bin/jboss-cli.sh -c
Authenticating against security realm: ManagementRealm
Username:
Failed to connect to the controller: Unable to authenticate against controller at localhost:9990: Authentication failed: all available authentication mechanisms failed:
JBOSS-LOCAL-USER: javax.security.sasl.SaslException: JBOSS-LOCAL-USER: Server rejected authentication
DIGEST-MD5: javax.security.sasl.SaslException: ELY05053: Callback handler failed for unknown reason [Caused by javax.security.sasl.SaslException: No username supplied.]
As I am connecting locally from a terminal, I should be identified as the special $local user and I don't need to have created an admin user.
This does not work on OpenShift (tested on 4.16.4).
However, doing the same thing from docker or Kubernetes works as expected.
The issue might related to some specific user permission as OpenShift does not identify the user as jboss but as 1006870000
I'm unable to connect locally to the
jboss-cli
when the image is deployed on OpenShift.As I am connecting locally from a terminal, I should be identified as the special
$local
user and I don't need to have created an admin user.This does not work on OpenShift (tested on 4.16.4).
However, doing the same thing from
docker
or Kubernetes works as expected.The issue might related to some specific user permission as OpenShift does not identify the user as
jboss
but as1006870000
With
docker
With Kubernetes
The text was updated successfully, but these errors were encountered: