ozone icon indicating copy to clipboard operation
ozone copied to clipboard

HDDS-7254. Document that moving SCM from non-HA to HA is currently unsupported.

Open szetszwo opened this issue 2 years ago • 2 comments

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

szetszwo avatar Oct 17 '22 10:10 szetszwo

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 avatar Oct 18 '22 02:10 ChenSammi

@ChenSammi , you are right. The problem is the CA and certificates, but not the Ratis server.

szetszwo avatar Oct 18 '22 04:10 szetszwo

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 avatar Oct 18 '22 17:10 errose28

@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.

szetszwo avatar Oct 19 '22 03:10 szetszwo

... SCM-HA.zh.md needs to be updated also (perhaps in another PR).

@kaijchen , yes, are you interested in updating it?

szetszwo avatar Oct 19 '22 04:10 szetszwo

@ChenSammi , @nandakumar131, @kaijchen, @kerneltime , @errose28 , thanks everyone for reviewing this!

szetszwo avatar Oct 19 '22 04:10 szetszwo

yes, are you interested in updating it?

I have created #3861 to update it.

kaijchen avatar Oct 19 '22 07:10 kaijchen