Uploaded image for project: 'RH-SSO'
  1. RH-SSO
  2. RHSSO-268

Strange behavior of welcome page in cluster setup with balancer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • RH-SSO-7.0.0.ER10
    • RH-SSO-7.0.0.ER9
    • Server
    • None

      I have setup of two RH-SSO nodes with wildfly balancer. Each node is on separate physical machine with binded IP.

      balancer:
      standalone -c standalone.xml -b 10.16.88.190 -bmanagement 0.0.0.0 -bprivate 10.16.88.190 -u 224.0.1.205 -Djboss.socket.binding.port-offset=0

      node1:
      standalone -c standalone-ha.xml -b 10.16.88.191 -bmanagement 0.0.0.0 -bprivate 10.16.88.191 -u 224.0.1.205 -Djboss.socket.binding.port-offset=0 -Djboss.node.name=perf13

      node2:
      standalone -c standalone-ha.xml -b 10.16.88.192 -bmanagement 0.0.0.0 -bprivate 10.16.88.192 -u 224.0.1.205 -Djboss.socket.binding.port-offset=0 -Djboss.node.name=perf14

      1. Navigate to http://10.16.88.190:8080/auth, welcome page with form for creating admin user is displayed (it shouldn't be, because I not accessing the localhost). NOT OK

      2. I try to create the admin user and it fails with attached exception. NOT OK

      3. I try to navigate to admin console if the user was created. Login fails - the user was not created - OK

      4. Go to http://10.16.88.190:8080/auth again, welcome page displayed, try to create user - user created without exception. Login to admin console passed - NOT OK

      The logs, standalone-ha.xml attached. In the server logs there are many "ISPN000197" exceptions - this is EAP's bug already filed, which is harmless (discussed with EAP QE)

      If I create the setup with keycloak-add-user.json included in the server configuration dir, everything works as expected.

        1. balancer.zip
          8 kB
        2. exception.txt
          5 kB
        3. perf13.zip
          11 kB
        4. perf14.zip
          10 kB

              mposolda@redhat.com Marek Posolda
              pdrozd1@redhat.com Pavel Drozd
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: