[jboss-jira] [JBoss JIRA] (WFLY-8923) Modifying security in installer fails for domain configuration

Brian Stansberry (JIRA) issues at jboss.org
Mon Jun 12 10:58:02 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-8923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13419671#comment-13419671 ] 

Brian Stansberry edited comment on WFLY-8923 at 6/12/17 10:57 AM:
------------------------------------------------------------------

[~simkam] [~jbliznak] The suspicion this is related to WFCORE-2849 is correct. The real problem is WFCORE-2945, but WFCORE-2849 has revealed it. Which I suppose is good and bad. :)

I believe (but haven't confirmed) that in previous releases executing those ops would have resulted in the HC being put in reload-required state, which was also incorrect.


was (Author: brian.stansberry):
[~simkam] [~jbliznak] The suspicion this is related to WFCORE-2849 is correct. The real problem is WFCORE-2945, but WFCORE-2849 has revealed it. Which I suppose is good and bad. :)

I believe (but haven't confirmed) that in previous releases executing those ops or something similar like the two profile ops in a batch against a non-embedded server, would have resulted in the HC being put in reload-required state, which was also incorrect.

> Modifying security in installer fails for domain configuration
> --------------------------------------------------------------
>
>                 Key: WFLY-8923
>                 URL: https://issues.jboss.org/browse/WFLY-8923
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management, Security
>            Reporter: Jan Blizňák
>            Assignee: Ken Wills
>            Priority: Critical
>
> With ER1 user is unable to configure security modules or JSSE via installer. Doing so result in failed installation.
> The probable cause is change made by WFCORE-2849.
> Eg.these CLI commands (genenerated by installer) have different outcomes in DR19 and ER1:
> {code:java}
> $ bin/jboss-cli.sh 
> You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
> [disconnected /] embed-host-controller
> [domain at embedded /] /profile=default/subsystem=security/security-domain=mySecurityDomain:add()
> [domain at embedded /] /profile=default/subsystem=security/security-domain=mySecurityDomain/authentication=classic:add(login-modules=[{"code"=>"Client","flag"=>"Required","module-options"=>[("testName"=>"testValue"),]}])
> {code}
> with failure in ER1:
> {code:java}
> {
>     "outcome" => "failed",
>     "failure-description" => {"domain-failure-description" => "WFLYCTL0158: Operation handler failed: java.lang.IllegalStateException: WFLYCTL0123: Stage RUNTIME is not valid for context process type EMBEDDED_HOST_CONTROLLER"},
>     "rolled-back" => true
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the jboss-jira mailing list