[
https://issues.apache.org/jira/browse/HDDS-10984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sadanand Shenoy resolved HDDS-10984.
------------------------------------
Fix Version/s: 1.5.0
Resolution: Fixed
> Tool to restore SCM certificates from RocksDB.
> ----------------------------------------------
>
> Key: HDDS-10984
> URL: https://issues.apache.org/jira/browse/HDDS-10984
> Project: Apache Ozone
> Issue Type: Improvement
> Components: SCM HA, Tools
> Reporter: Sadanand Shenoy
> Assignee: Sadanand Shenoy
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
>
> Although not a common scenario, I recently encountered an issue where the
> user accidentally deleted the SCM certs from the local certs directory for
> all SCMs.
> On restart, the primordial node self signs a new cert and starts up fine.
> However the non-primordial members in the HA ring, request a CSR to the
> primordial node. This request doesn't go through as it requires a quorum i.e
> ratis needs to be initialised . In order for RATIS to be initialised, it
> needs to verify certs. This leads to a dead-lock like situation.
> Ratis is needed for CSR (getCert) request as it persists the signed Cub ca
> cert in its rocksdb.
> Like I mentioned in the beginning, this is not a common case but since we
> already persist certs in the SCM rocksdb, a tool to restore certs should be
> helpful in this case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]