[
https://issues.jboss.org/browse/WFLY-3703?page=com.atlassian.jira.plugin....
]
Arcadiy Ivanov updated WFLY-3703:
---------------------------------
Description:
This issue comes from trying to use Arquillian against the cluster.
The cluster is setup such that DC is on 127.0.0.1 and hosts no servers, Host1 is on
127.0.0.2 and hosts one server node1, Host2 is on 127.0.0.3 and hosts one server node2,
etc.
Arquillian uses :read-resource(recursive=true) to enumerate all the servers on all the
hosts available.
It fails because the CLI and API underlying it do not return ANY hosts other than master
when polled recursively.
This is always reproducible and easily reproduced via CLI by hand as well.
{noformat}
[arcivanov@aimobile-sm bin]$ ./jboss-cli.sh -c > non-recursive.txt <<EOF
:read-resource()
EOF
{noformat}
contains, among other, output:
{noformat}
"host" => {
"master" => undefined,
"host3" => undefined,
"host2" => undefined,
"host1" => undefined
},
[arcivanov@aimobile-sm bin]$ ./jboss-cli.sh -c > recursive.txt <<EOF
:read-resource(recursive=true)
EOF
{noformat}
contains only
{noformat}
"host" => {"master" => {
"directory-grouping" => "by-server",
"domain-controller" => {"local" => {}},
"management-major-version" => 2,
"management-micro-version" => 0,
"management-minor-version" => 1,
<snip>
{noformat}
and no other entries for any other hosts.
As a result domain-deploying Arquillian can only deploy to nodes that are located on the
DC's host and never sees the nodes in any other topology.
was:
This issue comes from trying to use Arquillian against the cluster.
The cluster is setup such that DC is on 127.0.0.1 and hosts no servers, Host1 is on
127.0.0.2 and hosts one server node1, Host2 is on 127.0.0.3 and hosts one server node2,
etc.
Arquillian uses :read-resource(recursive=true) to enumerate all the servers on all the
hosts available.
It fails because the CLI and API underlying it do not return ANY hosts other than master
when polled recursively.
This is always reproducible and easily reproduced via CLI by hand as well.
[arcivanov@aimobile-sm bin]$ ./jboss-cli.sh -c > non-recursive.txt <<EOF
:read-resource()
EOF
contains, among other, output:
"host" => {
"master" => undefined,
"host3" => undefined,
"host2" => undefined,
"host1" => undefined
},
[arcivanov@aimobile-sm bin]$ ./jboss-cli.sh -c > recursive.txt <<EOF
:read-resource(recursive=true)
EOF
contains only
"host" => {"master" => {
"directory-grouping" => "by-server",
"domain-controller" => {"local" => {}},
"management-major-version" => 2,
"management-micro-version" => 0,
"management-minor-version" => 1,
<snip>
and no other entries for any other hosts.
As a result domain-deploying Arquillian can only deploy to nodes that are located on the
DC's host and never sees the nodes in any other topology.
:read-resource(recursive=true) ignoring non-DC hosts
----------------------------------------------------
Key: WFLY-3703
URL:
https://issues.jboss.org/browse/WFLY-3703
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CLI
Affects Versions: 8.1.0.Final
Environment: Linux
aimobile-sm.servicemesh.com 3.15.6-200.fc20.x86_64 #1 SMP Fri
Jul 18 02:36:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Reporter: Arcadiy Ivanov
Assignee: Alexey Loubyansky
Priority: Blocker
Attachments: non-recursive.txt, recursive.txt
This issue comes from trying to use Arquillian against the cluster.
The cluster is setup such that DC is on 127.0.0.1 and hosts no servers, Host1 is on
127.0.0.2 and hosts one server node1, Host2 is on 127.0.0.3 and hosts one server node2,
etc.
Arquillian uses :read-resource(recursive=true) to enumerate all the servers on all the
hosts available.
It fails because the CLI and API underlying it do not return ANY hosts other than master
when polled recursively.
This is always reproducible and easily reproduced via CLI by hand as well.
{noformat}
[arcivanov@aimobile-sm bin]$ ./jboss-cli.sh -c > non-recursive.txt <<EOF
:read-resource()
EOF
{noformat}
contains, among other, output:
{noformat}
"host" => {
"master" => undefined,
"host3" => undefined,
"host2" => undefined,
"host1" => undefined
},
[arcivanov@aimobile-sm bin]$ ./jboss-cli.sh -c > recursive.txt <<EOF
:read-resource(recursive=true)
EOF
{noformat}
contains only
{noformat}
"host" => {"master" => {
"directory-grouping" => "by-server",
"domain-controller" => {"local" => {}},
"management-major-version" => 2,
"management-micro-version" => 0,
"management-minor-version" => 1,
<snip>
{noformat}
and no other entries for any other hosts.
As a result domain-deploying Arquillian can only deploy to nodes that are located on the
DC's host and never sees the nodes in any other topology.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)