-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
client: support Root CA rotation on server side #13307
Conversation
6702671
to
270b578
Compare
Not sure about if we still need e2e tests. In the integration test, server start and client conn with new certs is already tested. |
Can you please cleanup commits? There are over 22 commits (most of them called "fix ..."), could you squash them and maybe rename them so they could be used for review? |
df8f6b6
to
34b794d
Compare
@serathius ping on this. Happy NY |
ping again. I think we need this feature anyway as root ca rotation is one of the fundamental operations. cc @serathius bcz you helped review this PR before. Please review it or help me find the person to review. Thanks |
Sorry for delayed response, It's in my review queue. Can you fix the conflicts and rebase the change? |
change to Draft until I fix the broken tests |
1d39e1a
to
8aeb985
Compare
Codecov Report
@@ Coverage Diff @@
## main #13307 +/- ##
==========================================
+ Coverage 72.58% 73.06% +0.48%
==========================================
Files 469 469
Lines 38389 39178 +789
==========================================
+ Hits 27864 28627 +763
- Misses 8754 8757 +3
- Partials 1771 1794 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Finally make tests passed. I think the one failed is unrelated to my change |
8aeb985
to
5d26d8f
Compare
@@ -0,0 +1,233 @@ | |||
package integration |
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.
This is major feature, we should have both integration and e2e tests. Please take a look into https://github.com/etcd-io/etcd/issues/13637.on how to write one code that with run both.
Hey @yishuT, Sorry that I'm unable to this is PR attention it deserves. |
Hey, that's totally fine. Thanks for the review. |
5d26d8f
to
6b1d87b
Compare
@serathius qq, to test root CA rotation, I need to create clients with tls config signed by different root CAs. The current |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Not stale |
Thanks @yishuT for the PR and sorry for the late response. I will take a look after you resolve the conflict. |
thanks. Will try to get to this PR by end of next week |
6b1d87b
to
1754e54
Compare
Signed-off-by: Yi-Shu Tai <[email protected]>
1754e54
to
c30f02f
Compare
@ahrtr please review |
Sorry for the late response, I am working on #14370 right now. This PR will be a priority when I finish that one. I do not get time to review this PR so far, but 1K+ lines of code change seems too big to me. Please consider to break the PR if possible. Will have a closer look later. |
this PR touches the TlsInfo, so I need to make change everywhere... |
@ahrtr I have a proposal to break this PR into
sg? |
@ahrtr hey, I would like to finish this PR. As discussed before, this PR is too big to review. I am going to split this pr into couple parts.
wdyt? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Hi, I saw this PR has been opened for two years without significant progress. I wonder if anything I can help to move forward this PR. From my side, I am from Azure Kubernetes Service team. We do have requirement to rotate etcd CA in zero-downtime. This PR seems to be able to solve the problem. If the community needs additional help to merge this PR, please don't hesitate to ping me. |
I can resume the work if the community can review the PR. I didn't receive any response earlier if they like my proposal. maybe @ahrtr ? |
Thanks. After an analysis on this PR, I think we can split this PR in this way:
I am working on the first part: #16500 |
Why did this issue get closed? The problem still exists and all of the PRs that were created are still outstanding waiting for maintainer review. |
This pr is pending review for yrs. also I don't have time to work on it recently while there is another pr trying to solve the same problem so I closed this pr |
My bad, I thought this was the primary issue tracking the problem not a PR. I should have paid more attention. Thanks for trying to make this better for all of us. I wish that it had been accepted back when you had opened it. |
It is unfortunate that this feature didn't make any progress for years. It is quite frustrating to see the slowness on the code reviewing process. |
GetConfigForClient
instead ofGetCertificate
, so that we can load the latest CA.Fixes #11555