[JBoss JIRA] (WFLY-6616) Problems in DomainHostExcludes700TestCase
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFLY-6616?page=com.atlassian.jira.plugin.... ]
Brian Stansberry updated WFLY-6616:
-----------------------------------
Labels: domain-mode (was: )
> 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
> Labels: domain-mode
> 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
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-1502) RBAC: The two kinds of non-addressability
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1502?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-1502:
-------------------------------------
Labels: domain-mode (was: )
> RBAC: The two kinds of non-addressability
> -----------------------------------------
>
> Key: WFCORE-1502
> URL: https://issues.jboss.org/browse/WFCORE-1502
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.1.0.Final
> Reporter: Ladislav Thon
> Assignee: Brian Stansberry
> Labels: domain-mode
>
> Ever since we introduced RBAC in WildFly / EAP, we had this shortcut in place that we were documenting in EAP Release Notes:
> bq. Some resources are non-addressable to server-group and host scoped roles in order to provide a simplified view of the management model to improve usability. This is distinct from resources that are non-addressable to protect sensitive data.
> I think that this shortcut is in place mainly because HAL can't cope with addressable but non-readable resources, but there might be other reasons. In any case, I figured I should finally file an upstream JIRA so that I don't have to bug Brian all the time if this has changed :-)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2329) ServerAutoStartTestCase and ServerStartFailureTestCase are never run
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2329?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2329:
-------------------------------------
Labels: domain-mode (was: )
> ServerAutoStartTestCase and ServerStartFailureTestCase are never run
> --------------------------------------------------------------------
>
> Key: WFCORE-2329
> URL: https://issues.jboss.org/browse/WFCORE-2329
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management, Test Suite
> Reporter: Brian Stansberry
> Labels: domain-mode
>
> Tests in testsuite/domain do not all automatically run just by being called XXXTestCase. They need to be located in one of the packages listed in the surefire config in testsuite/domain/pom.xml or by listed in the @Suite.SuiteClasses annotation of one of the suites that is in one of those packages. ServerAutoStartTestCase and ServerStartFailureTestCase are tests where neither of these are true so they are not running.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2093) A 'start' operation only is available for a domain server resource when it is started
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2093?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2093:
-------------------------------------
Labels: domain-mode (was: )
> A 'start' operation only is available for a domain server resource when it is started
> -------------------------------------------------------------------------------------
>
> Key: WFCORE-2093
> URL: https://issues.jboss.org/browse/WFCORE-2093
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: ehsavoie Hugonnet
> Labels: domain-mode
> Fix For: 4.0.0.Beta1
>
>
> The server lifecycle ops are registered with the domain server resource by a call to ServerConfigResourceDefintion.registerServerLifecycleOperations. DomainModelControllerService registers that when the server registers with the HC.
> This is odd in the case of 'start' as it means that op is only registered when the server is started.
> Perhaps it should be registered with StoppedServerResource, although I haven't dug into what happens with that resource when the server is registered. If it is simply ignored that would be great.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2022) Can not invoke read-resource-description on multi target address with a resource named server.
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2022?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2022:
-------------------------------------
Labels: domain-mode (was: )
> Can not invoke read-resource-description on multi target address with a resource named server.
> ----------------------------------------------------------------------------------------------
>
> Key: WFCORE-2022
> URL: https://issues.jboss.org/browse/WFCORE-2022
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 3.0.0.Alpha12
> Reporter: Jeff Mesnil
> Assignee: Jeff Mesnil
> Labels: domain-mode
>
> To reproduce, invoke:
> {noformat}
> /subsystem=undertow/server=*/http-listener=*:read-resource-description
> {
> "outcome" => "failed",
> "result" => [],
> "failure-description" => "WFLYCTL0030: No resource definition is registered for address [
> (\"subsystem\" => \"undertow\"),
> (\"server\" => \"*\")
> ]",
> "rolled-back" => true
> }
> {noformat}
> The address is valid but the operation fails at org.jboss.as.controller.operations.global.GlobalOperationHandlers.RegistrationAddressResolver#executeMultiTargetChildren when checking the condition:
> {noformat}
> if (path.getKey().equals(RUNNING_SERVER) && path.isWildcard() && newRemaining.size() > 0)
> {noformat}
> The check was added for WFCORE-948 but makes any multi target operation with a server resource fails (such as Undertow server or messaging-activemq server resources).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month
[JBoss JIRA] (WFCORE-2092) ProxyControllerRegistration does not properly implement getOperationDescriptions
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2092?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2092:
-------------------------------------
Labels: domain-mode (was: )
> ProxyControllerRegistration does not properly implement getOperationDescriptions
> --------------------------------------------------------------------------------
>
> Key: WFCORE-2092
> URL: https://issues.jboss.org/browse/WFCORE-2092
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Labels: domain-mode
>
> A ProxyControllerRegistration is kind of a strange beast, as it represents a resource that has a dual nature, both as a leaf resource on the local process and as the root resource on the remote process. One place where this falls apart is with getOperationDescriptions, which does nothing locally, resulting in only ops on the remote side being described.
> But a ProxyControllerRegistration can also have local ops; e.g. stop/kill/destroy ops on a /host=x/server=y resource. But because of this bug those ops can be invoked but they do not appear in things like read-operation-names output.
> UPDATE: this is a poor description as the real goal is to get correct metadata via read-operation-names, read-operation-description, read-resource-description and doing that will require more than changing ProxyControllerRegistration. There would need to be OSHs for those ops at the proxy address that understand how to integrate the data from the two aspects of the resource.
> UPDATE 2: Similar discussion may apply to attributes.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 1 month