[jboss-jira] [JBoss JIRA] (WFLY-3703) :read-resource(recursive=true) ignoring non-DC hosts
Arcadiy Ivanov (JIRA)
issues at jboss.org
Fri Aug 1 17:18:29 EDT 2014
Arcadiy Ivanov created WFLY-3703:
------------------------------------
Summary: :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
This issues 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 at aimobile-sm bin]$ ./jboss-cli.sh -c > non-recursive.txt <<EOF
:read-resource()
EOF
contains output among others:
"host" => {
"master" => undefined,
"host3" => undefined,
"host2" => undefined,
"host1" => undefined
},
[arcivanov at 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.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jboss-jira
mailing list