Dominik Pospisil created AS7-4010:
-------------------------------------
Summary: Slave HC unable to connect ro remote domain controller
Key: AS7-4010
URL: https://issues.jboss.org/browse/AS7-4010
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.1.1.Final
Reporter: Dominik Pospisil
Assignee: Brian Stansberry
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/Se...
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
[ https://issues.jboss.org/browse/AS7-4010?page... ] Dominik Pospisil updated AS7-4010: ---------------------------------- Attachment: mgmt-users.properties domain.xml host-master.xml host-slave.xml> Slave HC unable to connect ro remote domain controller > ------------------------------------------------------ > > Key: AS7-4010 > URL: https://issues.jboss.org/browse/AS7-4010 > Project: Application Server 7 > Issue Type: Bug > Components: Domain Management > Affects Versions: 7.1.1.Final > Reporter: Dominik Pospisil > Assignee: Brian Stansberry > Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties > > > 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/Se... > 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
[ https://issues.jboss.org/browse/AS7-4010?page... ]Dominik Pospisil updated AS7-4010: ---------------------------------- Attachment: host-slave.xml > Slave HC unable to connect ro remote domain controller > ------------------------------------------------------ > > Key: AS7-4010 > URL: https://issues.jboss.org/browse/AS7-4010 > Project: Application Server 7 > Issue Type: Bug > Components: Domain Management > Affects Versions: 7.1.1.Final > Reporter: Dominik Pospisil > Assignee: Brian Stansberry > Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties > > > 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/Se... > 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
[ https://issues.jboss.org/browse/AS7-4010?page... ]Dominik Pospisil updated AS7-4010: ---------------------------------- Attachment: (was: host-slave.xml) > Slave HC unable to connect ro remote domain controller > ------------------------------------------------------ > > Key: AS7-4010 > URL: https://issues.jboss.org/browse/AS7-4010 > Project: Application Server 7 > Issue Type: Bug > Components: Domain Management > Affects Versions: 7.1.1.Final > Reporter: Dominik Pospisil > Assignee: Brian Stansberry > Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties > > > 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/Se... > 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
[ https://issues.jboss.org/browse/AS7-4010?page... ]Darran Lofthouse reassigned AS7-4010: ------------------------------------- Assignee: Darran Lofthouse (was: Brian Stansberry) > Slave HC unable to connect ro remote domain controller > ------------------------------------------------------ > > Key: AS7-4010 > URL: https://issues.jboss.org/browse/AS7-4010 > Project: Application Server 7 > Issue Type: Bug > Components: Domain Management > Affects Versions: 7.1.1.Final > Reporter: Dominik Pospisil > Assignee: Darran Lofthouse > Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties > > > 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/Se... > 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
[ https://issues.jboss.org/browse/AS7-4010?page... ] Darran Lofthouse resolved AS7-4010. ----------------------------------- Resolution: Rejected You have a new line character at the end of your Base64 encoded form of the password, the secret needs to be: - <secret value="c2xhdmVwYXNzd29yZA=="/> not <secret value="c2xhdmVwYXNzd29yZAo="/>> Slave HC unable to connect ro remote domain controller > ------------------------------------------------------ > > Key: AS7-4010 > URL: https://issues.jboss.org/browse/AS7-4010 > Project: Application Server 7 > Issue Type: Bug > Components: Domain Management > Affects Versions: 7.1.1.Final > Reporter: Dominik Pospisil > Assignee: Darran Lofthouse > Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties > > > 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/Se... > 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
[ https://issues.jboss.org/browse/AS7-4010?page... ] Dominik Pospisil commented on AS7-4010:--------------------------------------- Thanks for clarification and for creating associated JIRAs. Just to note, the new-line character has been appended by "base64" command found in default Fedora 16 installation. > Slave HC unable to connect ro remote domain controller > ------------------------------------------------------ > > Key: AS7-4010 > URL: https://issues.jboss.org/browse/AS7-4010 > Project: Application Server 7 > Issue Type: Bug > Components: Domain Management > Affects Versions: 7.1.1.Final > Reporter: Dominik Pospisil > Assignee: Darran Lofthouse > Attachments: domain.xml, host-master.xml, host-slave.xml, mgmt-users.properties > > > 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/Se... > 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