[
https://issues.jboss.org/browse/TEIID-2659?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-2659:
-------------------------------------
Upon some searching and talking BrianS from AS team, it looks like
1) You can only execute "read-only" methods on slave host controllers, any
non-read-only must be executed on the master domain controller.
2) I tried making operations like "list-translators" as read-only, but it is
executed on the host-controller it will not be forwarded to actual servers so you will not
get the desired results.
3) One option is to re-write Admin Domain layer, such that the request is manually
submitted to each server node in the domain and then collate the results, however, what I
have observed while testing is, only when user is connected to the master domain
controller you can query about all hosts in the domain. When user is connected to slave
host controller, they can see only server nodes under that controller, thus invalidates
that option.
4) Also in domain mode you have to connect to master domain controller to do any
deployments.
Given all the restrictions, there is no good way to fix this issue, unless AS7 code is
fixed to allow some of the features. Thus my recommendation is to reject this issue and
have tools like Designer and AdminShell only connect to the master domain controller for
issuing any Teiid Admin operations.
A domain member server cannot list translators
----------------------------------------------
Key: TEIID-2659
URL:
https://issues.jboss.org/browse/TEIID-2659
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 8.4
Reporter: Paul Richardson
Assignee: Steven Hawkins
Fix For: 8.4.1
Using the teiid client and calling 'admin.getTranslators()' fails to return any
translators on a domain-member server. (this partially succeeds on the domain master)
The request does not throw an exception but its outcome fails with the following result:
{code}
"outcome" => "failed",
"failure-description" => "JBAS010849: Operation list-translators
for address [
(\"profile\" => \"ha\"),
(\"subsystem\" => \"teiid\")
] can only be handled by the master Domain Controller; this host is not the master Domain
Controller",
"rolled-back" => true
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira