Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4010

Slave HC unable to connect ro remote domain controller

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.1.1.Final
    • Domain Management
    • None

      It seems to me that it is impossible to configure slave HC to connect to master DC using configured secret key.
      When slave HC is trying to reach remote DC it fails with:

      [Host Controller] 13:11:55,573 ERROR [org.jboss.remoting.remote.connection] (Remoting "f16:MANAGEMENT" read-1) JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed
      [Host Controller] 13:11:55,606 ERROR [org.jboss.as.host.controller] (Controller Boot Thread) JBAS010901: Could not connect to master. Aborting. Error was: java.lang.IllegalStateException: JBAS010942: Unable to connect due to authentication failure.
      [Host Controller] 13:11:55,690 INFO [org.jboss.as] (MSC service thread 1-2) JBAS015950: JBoss AS 7.1.1.Final-SNAPSHOT "Thunder" stopped in 38ms

      I am using stock domain.xml, host-master.xml and host-slave.xml updated according this documentation:
      https://docs.jboss.org/author/display/AS71/Securing+the+Management+Interfaces

      1) I have added slave/slavepassword user to ManagementRealm
      2) U have updated host-slave.xml to identify as "slave"
      3) I have generated base64 encoded "slavepassword" passphrase and added as a secret key to host-slave.xml

        1. domain.xml
          75 kB
          Dominik Pospisil
        2. host-master.xml
          2 kB
          Dominik Pospisil
        3. host-slave.xml
          3 kB
          Dominik Pospisil
        4. mgmt-users.properties
          1.0 kB
          Dominik Pospisil

              darran.lofthouse@redhat.com Darran Lofthouse
              dpospisil Dominik Pospisil (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: