[jboss-jira] [JBoss JIRA] (AS7-4491) Structure of the "server-groups" node in a multi-server operation response breaks if multiple hosts use the same server names
Heiko Braun (JIRA)
jira-events at lists.jboss.org
Wed Apr 25 02:28:18 EDT 2012
[ https://issues.jboss.org/browse/AS7-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687421#comment-12687421 ]
Heiko Braun commented on AS7-4491:
----------------------------------
yes, it the slave ("staging") on my machine that doesn't have the reposne headers as well. here is the full request/response:
{noformat}
[INFO] {
[INFO] "operation" => "composite",
[INFO] "address" => [],
[INFO] "steps" => [{
[INFO] "address" => [
[INFO] ("profile" => "full"),
[INFO] ("subsystem" => "transactions")
[INFO] ],
[INFO] "operation" => "write-attribute",
[INFO] "name" => "enable-statistics",
[INFO] "value" => true
[INFO] }]
[INFO] }
[INFO] {
[INFO] "outcome" => "success",
[INFO] "result" => {"step-1" => {"outcome" => "success"}},
[INFO] "server-groups" => {"main-server-group" => {"host" => {
[INFO] "master" => {"server-two" => {"response" => {
[INFO] "outcome" => "success",
[INFO] "result" => {"step-1" => {
[INFO] "outcome" => "success",
[INFO] "response-headers" => {"operation-requires-restart" => true}
[INFO] }},
[INFO] "response-headers" => {"process-state" => "restart-required"}
[INFO] }}},
[INFO] "staging" => {"staging-three" => {"response" => {
[INFO] "outcome" => "success",
[INFO] "result" => {"step-1" => {
[INFO] "outcome" => "success",
[INFO] "response-headers" => {"operation-requires-restart" => true}
[INFO] }}
[INFO] }}}
[INFO] }}}
[INFO] }
{noformat}
> Structure of the "server-groups" node in a multi-server operation response breaks if multiple hosts use the same server names
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: AS7-4491
> URL: https://issues.jboss.org/browse/AS7-4491
> Project: Application Server 7
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 7.1.1.Final
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Critical
> Fix For: 7.1.2.Final-redhat1
>
>
> See "Multi-Server Responses" on https://docs.jboss.org/author/display/AS71/Management+API+reference#ManagementAPIreference-responseformat:
> "server-groups" => {
> "groupA" => {
> "serverA-1" => {
> "host" => "host1",
> "response" => {
> "outcome" => "success",
> "result" => undefined
> }
> },
> "serverA-2" => {
> "host" => "host2",
> "response" => {
> "outcome" => "success",
> "result" => undefined
> }
> }
> },
> ....
> What if on both hosts the server was named "serverA" ? The result for one would replace the result for the other.
> It's important to allow hosts to re-use server names, as this makes it practical to re-use a host.xml across multiple installations; e.g. in single AMI used on many EC2 instances.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list