[
https://issues.apache.org/jira/browse/HDDS-8241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sammi Chen updated HDDS-8241:
-----------------------------
Description:
The root cause is that GrpcTlsConfig is missing when creating ratis client to
talk to ratis server.
Here is the failed command output.
bash-4.2$ ozone admin om transfer -id=id1 -n=om3
Failed SetConfigurationRequest:client-A66FC842998A->om2@group-562213E44849,
cid=0, seq=0, RW, null, SET_UNCONDITIONALLY,
servers:[om1|rpc:om1:9872|admin:|client:|dataStream:|priority:1|startupRole:FOLLOWER,
om3|rpc:om3:9872|admin:|client:|dataStream:|priority:2|startupRole:FOLLOWER,
om2|rpc:om2:9872|admin:|client:|dataStream:|priority:1|startupRole:FOLLOWER],
listeners:[] for 24 attempts with
RequestTypeDependentRetryPolicy{WRITE->ExceptionDependentRetry(maxAttempts=2147483647;
defaultPolicy=MultipleLinearRandomRetry[5x5s, 5x10s, 5x15s, 5x20s, 5x25s,
10x60s]; map=
{org.apache.ratis.protocol.exceptions.GroupMismatchException->NoRetry,
org.apache.ratis.protocol.exceptions.NotReplicatedException->NoRetry,
org.apache.ratis.protocol.exceptions.ResourceUnavailableException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d,
org.apache.ratis.protocol.exceptions.StateMachineException->NoRetry,
org.apache.ratis.protocol.exceptions.TimeoutIOException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d}
), WATCH->ExceptionDependentRetry(maxAttempts=2147483647;
defaultPolicy=MultipleLinearRandomRetry[5x5s, 5x10s, 5x15s, 5x20s, 5x25s,
10x60s];
map=\{org.apache.ratis.protocol.exceptions.GroupMismatchException->NoRetry,
org.apache.ratis.protocol.exceptions.NotReplicatedException->NoRetry,
org.apache.ratis.protocol.exceptions.ResourceUnavailableException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d,
org.apache.ratis.protocol.exceptions.StateMachineException->NoRetry,
org.apache.ratis.protocol.exceptions.TimeoutIOException->NoRetry})}
was:
bash-4.2$ ozone admin om transfer -id=id1 -n=om3
Failed SetConfigurationRequest:client-A66FC842998A->om2@group-562213E44849,
cid=0, seq=0, RW, null, SET_UNCONDITIONALLY,
servers:[om1|rpc:om1:9872|admin:|client:|dataStream:|priority:1|startupRole:FOLLOWER,
om3|rpc:om3:9872|admin:|client:|dataStream:|priority:2|startupRole:FOLLOWER,
om2|rpc:om2:9872|admin:|client:|dataStream:|priority:1|startupRole:FOLLOWER],
listeners:[] for 24 attempts with
RequestTypeDependentRetryPolicy\{WRITE->ExceptionDependentRetry(maxAttempts=2147483647;
defaultPolicy=MultipleLinearRandomRetry[5x5s, 5x10s, 5x15s, 5x20s, 5x25s,
10x60s];
map={org.apache.ratis.protocol.exceptions.GroupMismatchException->NoRetry,
org.apache.ratis.protocol.exceptions.NotReplicatedException->NoRetry,
org.apache.ratis.protocol.exceptions.ResourceUnavailableException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d,
org.apache.ratis.protocol.exceptions.StateMachineException->NoRetry,
org.apache.ratis.protocol.exceptions.TimeoutIOException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d}),
WATCH->ExceptionDependentRetry(maxAttempts=2147483647;
defaultPolicy=MultipleLinearRandomRetry[5x5s, 5x10s, 5x15s, 5x20s, 5x25s,
10x60s];
map=\{org.apache.ratis.protocol.exceptions.GroupMismatchException->NoRetry,
org.apache.ratis.protocol.exceptions.NotReplicatedException->NoRetry,
org.apache.ratis.protocol.exceptions.ResourceUnavailableException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d,
org.apache.ratis.protocol.exceptions.StateMachineException->NoRetry,
org.apache.ratis.protocol.exceptions.TimeoutIOException->NoRetry})}
> Transfer leader command doesn't work in secure cluster
> ------------------------------------------------------
>
> Key: HDDS-8241
> URL: https://issues.apache.org/jira/browse/HDDS-8241
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Sammi Chen
> Assignee: Sammi Chen
> Priority: Major
> Labels: pull-request-available
>
> The root cause is that GrpcTlsConfig is missing when creating ratis client to
> talk to ratis server.
>
> Here is the failed command output.
> bash-4.2$ ozone admin om transfer -id=id1 -n=om3
> Failed SetConfigurationRequest:client-A66FC842998A->om2@group-562213E44849,
> cid=0, seq=0, RW, null, SET_UNCONDITIONALLY,
> servers:[om1|rpc:om1:9872|admin:|client:|dataStream:|priority:1|startupRole:FOLLOWER,
> om3|rpc:om3:9872|admin:|client:|dataStream:|priority:2|startupRole:FOLLOWER,
> om2|rpc:om2:9872|admin:|client:|dataStream:|priority:1|startupRole:FOLLOWER],
> listeners:[] for 24 attempts with
> RequestTypeDependentRetryPolicy{WRITE->ExceptionDependentRetry(maxAttempts=2147483647;
> defaultPolicy=MultipleLinearRandomRetry[5x5s, 5x10s, 5x15s, 5x20s, 5x25s,
> 10x60s]; map=
> {org.apache.ratis.protocol.exceptions.GroupMismatchException->NoRetry,
> org.apache.ratis.protocol.exceptions.NotReplicatedException->NoRetry,
> org.apache.ratis.protocol.exceptions.ResourceUnavailableException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d,
> org.apache.ratis.protocol.exceptions.StateMachineException->NoRetry,
> org.apache.ratis.protocol.exceptions.TimeoutIOException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d}
> ), WATCH->ExceptionDependentRetry(maxAttempts=2147483647;
> defaultPolicy=MultipleLinearRandomRetry[5x5s, 5x10s, 5x15s, 5x20s, 5x25s,
> 10x60s];
> map=\{org.apache.ratis.protocol.exceptions.GroupMismatchException->NoRetry,
> org.apache.ratis.protocol.exceptions.NotReplicatedException->NoRetry,
> org.apache.ratis.protocol.exceptions.ResourceUnavailableException->org.apache.ratis.retry.ExponentialBackoffRetry@1b9f9e1d,
> org.apache.ratis.protocol.exceptions.StateMachineException->NoRetry,
> org.apache.ratis.protocol.exceptions.TimeoutIOException->NoRetry})}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]