[
https://issues.jboss.org/browse/WFLY-6616?page=com.atlassian.jira.plugin....
]
Kabir Khan commented on WFLY-6616:
----------------------------------
The setup() method sets ignore-unused-configuration to false for an EAP 7 slave, it is
defined and false in the model before shutting down the slave. At the time it calls
startSlave() at the end of the setup() method the xml looks fine, i.e
ignore-unused-configuration=false:
{code}
$more
/Users/kabir/sourcecontrol/wildfly/git/wildfly/testsuite/mixed-domain/target/domains/LegacyConfig700TestSuite/slave/configuration/testing-host-slave.xml
<?xml version='1.0' encoding='UTF-8'?>
<host name="slave" xmlns="urn:jboss:domain:4.1">
--- SNIP ----
<domain-controller>
<remote host="${jboss.test.host.master.address}"
port="${jboss.domain.master.port:9999}"
security-realm="ManagementRealm"
ignore-unused-configuration="false"/>
</domain-controller>
{code}
However, following the boot of the slave this value is unset in the slave's model:
{code}
[domain@localhost:19999 /] /host=slave:read-attribute(name=domain-controller,
include-defaults=true)
{
"outcome" => "success",
"result" => {"remote" => {
"protocol" => undefined,
"port" => expression "${jboss.domain.master.port:9999}",
"host" => expression "${jboss.test.host.master.address}",
"username" => undefined,
"ignore-unused-configuration" => undefined,
"admin-only-policy" => undefined,
"security-realm" => "ManagementRealm"
}}
}
{code}
Trying this with a copy of master and an EAP7 slave on the command line the same value in
the xml results in
{code}
[domain@localhost:9999 /] /host=localhost:read-attribute(name=domain-controller)
{
"outcome" => "success",
"result" => {"remote" => {
"protocol" => undefined,
"port" => undefined,
"host" => undefined,
"username" => undefined,
"ignore-unused-configuration" => false,
{code}
in the slave's model following a boot.
Problems in DomainHostExcludes700TestCase
-----------------------------------------
Key: WFLY-6616
URL:
https://issues.jboss.org/browse/WFLY-6616
Project: WildFly
Issue Type: Feature Request
Components: Domain Management
Reporter: Kabir Khan
Assignee: Brian Stansberry
Fix For: 11.0.0.Alpha1
The profile clone operation in the new
DomainHostExcludes700TestCase.test003PostBootUpdates() in testsuite/mixed-domain fails
with the following message:
{code}
{
"outcome" => "failed",
"failure-description" => {"domain-failure-description" =>
"WFLYCTL0158: Operation handler failed: java.lang.IllegalStateException: WFLYCTL0363:
Capability 'org.wildfly.messaging.activemq.server.default' is already registered
in context 'profile=clone'."},
"rolled-back" => true
}
{code}
And we also see an error in
{code}
DomainHostExcludes700TestCase.test001SlaveBoot:45->DomainHostExcludesTest.test001SlaveBoot:217->DomainHostExcludesTest.checkSocketBindingGroups:300
["full-ha-sockets"] expected:<2> but was:<1>
{code}
Some WIP to create this test is in my
https://github.com/kabir/wildfly/tree/WFLY-6616
branch
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)