Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-463

Adding user with add-user.sh newly requires reload

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • Security
    • Hide
      1. Run server: podman run registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-tech-preview-eap74-openjdk17-openshift-rhel8:7.4.5-1
      2. Attach with shell podman exec -it <ContainerId> bash
      3. Add management user: /opt/eap/bin/add-user.sh jbond pass007
      4. Try to connect: /opt/eap/bin/jboss-cli.sh -c --user=jbond --password=pass007
        Output:
        Failed to connect to the controller: Unable to authenticate against controller at localhost:9990: Authentication failed: all available authentication mechanisms failed:
           DIGEST-MD5: javax.security.sasl.SaslException: DIGEST-MD5: Server rejected authentication
        
      5. Reload: /opt/eap/bin/jboss-cli.sh -c --commands=reload
      6. Try to connect again: /opt/eap/bin/jboss-cli.sh -c --user=jbond --password=pass007
        Success: [standalone@localhost:9990]
      Show
      Run server: podman run registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-tech-preview-eap74-openjdk17-openshift-rhel8:7.4.5-1 Attach with shell podman exec -it <ContainerId> bash Add management user: /opt/eap/bin/add-user.sh jbond pass007 Try to connect: /opt/eap/bin/jboss-cli.sh -c --user=jbond --password=pass007 Output: Failed to connect to the controller: Unable to authenticate against controller at localhost:9990: Authentication failed: all available authentication mechanisms failed: DIGEST-MD5: javax.security.sasl.SaslException: DIGEST-MD5: Server rejected authentication Reload: /opt/eap/bin/jboss-cli.sh -c --commands=reload Try to connect again: /opt/eap/bin/jboss-cli.sh -c --user=jbond --password=pass007 Success: [standalone@localhost:9990]
    • The fix will be in EAP 7.4.6.

    Description

      After adding management user customer needs to reload server to be able to log in with the created user. This is regression compared to EAP 7.
      This affects obviously web console users as well.

      Attachments

        Issue Links

          Activity

            People

              rhn-support-ivassile Ilia Vassilev
              mchoma@redhat.com Martin Choma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: