[JBoss JIRA] (WFCORE-2183) ParallelBootOperationStepHandler context isn't rolling back overall operation if a subsystem fails in runtime
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2183?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2183:
-------------------------------------
Description:
If a subsystem handler calls OperationContext.setRollbackOnly() during boot, only the ParallelBootOperationContext handling that subsystem is effected. The result is that subsystem rolls back but the boot itself is not aborted.
was:
If an subsystem handler calls OperationContext.setRollbackOnly() during boot, only the ParallelBootOperationContext handling that subsystem is effected. The result is that subsystem rolls back but the boot itself is not aborted.
> ParallelBootOperationStepHandler context isn't rolling back overall operation if a subsystem fails in runtime
> -------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-2183
> URL: https://issues.jboss.org/browse/WFCORE-2183
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> If a subsystem handler calls OperationContext.setRollbackOnly() during boot, only the ParallelBootOperationContext handling that subsystem is effected. The result is that subsystem rolls back but the boot itself is not aborted.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 3 months
[JBoss JIRA] (WFCORE-2224) Management issues on host after enabling RBAC
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2224?page=com.atlassian.jira.plugi... ]
Darran Lofthouse updated WFCORE-2224:
-------------------------------------
Comment: was deleted
(was: Is there a step between these two commands that leads to the error?)
> Management issues on host after enabling RBAC
> ---------------------------------------------
>
> Key: WFCORE-2224
> URL: https://issues.jboss.org/browse/WFCORE-2224
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Affects Versions: 3.0.0.Alpha16
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Priority: Blocker
> Labels: eap71_alpha
> Fix For: 3.0.0.Alpha20
>
>
> When enabling RBAC ({{/core-service=management/access=authorization:write-attribute(name=provider, value=rbac)}}), it is not possible to add role mappings:
> {code}
> [domain@localhost:9990 /] /core-service=management/access=authorization/role-mapping=Maintainer:add()
> {
> "outcome" => "failed",
> "result" => undefined,
> "failure-description" => {"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => {"main-server-group" => {"host" => {"master" => {
> "server-one" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found",
> "server-two" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found"
> }}}}}},
> "rolled-back" => true,
> "server-groups" => {"main-server-group" => {"host" => {"master" => {
> "server-one" => {"response" => {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found",
> "rolled-back" => true
> }},
> "server-two" => {"response" => {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found",
> "rolled-back" => true
> }}
> }}}}
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 3 months
[JBoss JIRA] (WFCORE-2224) Management issues on host after enabling RBAC
by Darran Lofthouse (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2224?page=com.atlassian.jira.plugi... ]
Darran Lofthouse commented on WFCORE-2224:
------------------------------------------
Is there a step between these two commands that leads to the error?
> Management issues on host after enabling RBAC
> ---------------------------------------------
>
> Key: WFCORE-2224
> URL: https://issues.jboss.org/browse/WFCORE-2224
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Affects Versions: 3.0.0.Alpha16
> Reporter: Darran Lofthouse
> Assignee: Darran Lofthouse
> Priority: Blocker
> Labels: eap71_alpha
> Fix For: 3.0.0.Alpha20
>
>
> When enabling RBAC ({{/core-service=management/access=authorization:write-attribute(name=provider, value=rbac)}}), it is not possible to add role mappings:
> {code}
> [domain@localhost:9990 /] /core-service=management/access=authorization/role-mapping=Maintainer:add()
> {
> "outcome" => "failed",
> "result" => undefined,
> "failure-description" => {"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => {"main-server-group" => {"host" => {"master" => {
> "server-one" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found",
> "server-two" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found"
> }}}}}},
> "rolled-back" => true,
> "server-groups" => {"main-server-group" => {"host" => {"master" => {
> "server-one" => {"response" => {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found",
> "rolled-back" => true
> }},
> "server-two" => {"response" => {
> "outcome" => "failed",
> "failure-description" => "WFLYCTL0216: Management resource '[
> (\"core-service\" => \"management\"),
> (\"access\" => \"authorization\"),
> (\"role-mapping\" => \"Maintainer\")
> ]' not found",
> "rolled-back" => true
> }}
> }}}}
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 3 months