-
Notifications
You must be signed in to change notification settings - Fork 593
HDDS-7254. Document that moving SCM from non-HA to HA is currently unsupported. #3846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @szetszwo , currently SCM ratis is by default enabled in master. So we still cannot support moving SCM from one instance to three instances with ratis enabled? |
|
@ChenSammi , you are right. The problem is the CA and certificates, but not the Ratis server. |
kaijchen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. SCM-HA.zh.md needs to be updated also (perhaps in another PR).
|
I see some previous discussion here but I just want to clarify before I +1. This is saying we cannot go from Ratis 1 to Ratis 3 SCM due to current limitations with certificates? Is this something that is planning to be resolved in the future cert rotation/management changes that @fapifta is working on? |
|
@errose28 , when configuring with HA, the CA structure has two levels -- root CA and sub CA. Without HA, there is only one level of CA. Therefore, the old certificates will not work when changing from non-HA to HA. I am not sure if there is a plan for fixing it. Note that the problem has nothing to do with Ratis. |
@kaijchen , yes, are you interested in updating it? |
|
@ChenSammi , @nandakumar131, @kaijchen, @kerneltime , @errose28 , thanks everyone for reviewing this! |
I have created #3861 to update it. |
What changes were proposed in this pull request?
Currently SCM HA is supported only for fresh installations. SCM HA must be enabled when starting the Ozone service in the beginning. After a SCM is started in non-HA mode, it cannot be easily changed to HA mode. We should document this clearly.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-7254
How was this patch tested?
NA