You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Mikhail Petrov (Jira)" <ji...@apache.org> on 2021/08/27 09:47:00 UTC
[jira] [Created] (IGNITE-15384) Daemon node fails to perform any
operation that requires authorization with security enabled.
Mikhail Petrov created IGNITE-15384:
---------------------------------------
Summary: Daemon node fails to perform any operation that requires authorization with security enabled.
Key: IGNITE-15384
URL: https://issues.apache.org/jira/browse/IGNITE-15384
Project: Ignite
Issue Type: Bug
Reporter: Mikhail Petrov
Exception:
{code:java}
java.lang.AssertionError
at org.apache.ignite.internal.processors.security.IgniteSecurityProcessor.authorize(IgniteSecurityProcessor.java:232)
at org.apache.ignite.internal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:617)
at org.apache.ignite.internal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:508)
at org.apache.ignite.internal.processors.closure.GridClosureProcessor.runAsync(GridClosureProcessor.java:244)
at org.apache.ignite.internal.processors.closure.GridClosureProcessor.runAsync(GridClosureProcessor.java:216)
at org.apache.ignite.internal.IgniteComputeImpl.runAsync0(IgniteComputeImpl.java:690)
at org.apache.ignite.internal.IgniteComputeImpl.runAsync(IgniteComputeImpl.java:675)
at org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.sendComputeChangeGlobalState(GridClusterStateProcessor.java:1381)
at org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.changeGlobalState(GridClusterStateProcessor.java:1125)
at org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.changeGlobalState(GridClusterStateProcessor.java:1026)
at org.apache.ignite.internal.cluster.IgniteClusterImpl.state(IgniteClusterImpl.java:379)
at org.apache.ignite.TestClass.test(TestClass.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
{code}
Reproducer:
{code:java}
/** */
public class TestClass extends AbstractSecurityTest {
/** */
@Override protected IgniteConfiguration getConfiguration(
String instanceName,
AbstractTestSecurityPluginProvider pluginProv
) throws Exception {
return super.getConfiguration(instanceName, pluginProv)
.setDaemon(instanceName.contains("daemon"))
.setClusterStateOnStart(INACTIVE);
}
/** */
@Test
public void test() throws Exception {
startGridAllowAll("crd");
IgniteEx daemonNode = startGridAllowAll("daemon");
daemonNode.cluster().state(ACTIVE);
}
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)