-
|
Hello, We have a cluster of two, both on linux (A+B). For some reason, one of the two (B) did not renew the certificate that eventually expired. Nobody noticed until recently. The issue is that we can't get out of it. B refuse to accept the new certificate and give this error: Exception of type 'Raven.Client.Exceptions.Cluster.NoLeaderException' was thrown. Even worse, A is refusing to do manual backup. So we can't migrate to a new instance. No error is provided. The files are just not where we specified they should go. We have been looking for 2 days now and we are desperate to find a solution. Can anyone point us to the good solution? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
Maybe the problem is that you are in a cluster of 2 where there is no way to achieve a majority decision. You should have a odd number of nodes in the cluster because of the majority vote. Someone from RavenDb will know better. |
Beta Was this translation helpful? Give feedback.
-
|
You can just replace the certificate on the disk and restart the service,
no?
…On Sat, 2 Dec 2023 at 17:43, pmengal ***@***.***> wrote:
Yes I forgot to mention that I have no way to add a third node...
—
Reply to this email directly, view it on GitHub
<#17802 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMYG5R2PG5CKXFEU7MXLMTYHNLC5AVCNFSM6AAAAABAEDR342VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TOMZYHEZTG>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I assume that in this case, both nodes are using different certificates? At any rate, there are explicit manual ways to resolve this. Beyond that, there in the |
Beta Was this translation helpful? Give feedback.
I assume that in this case, both nodes are using different certificates?
At any rate, there are explicit manual ways to resolve this.
You can update the certificate on the disk, and either restart the B node or wait up to 30 minutes for it to pick up and use the new certificate.
Beyond that, there in the
admin channelas well, which can be used. See the discussion here:https://ravendb.net/learn/inside-ravendb-book/reader/4.0/18-operational-recipes