-
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
panic: newURLs [redacted] should never fail: URL scheme must be http, https, unix, or unixs: redacted #9173
Comments
Did you get to recover your cluster (e.g. from previous snapshot)? We don't have any docs around this case (e.g. how to recover) and early warnings to prevent this. |
I tried various things, taking it back to one node and --force-new-cluster but ended up blowing it away. It was only out test env. |
Recommended way is restore a new cluster from snapshot ( |
Nice, didn't know about that. Thanks!
…On Fri, Jan 19, 2018 at 7:34 PM Gyuho Lee ***@***.***> wrote:
@tomwilkie <https://github.com/tomwilkie>
--force-new-cluster
Recommended way is restore a new cluster from snapshot (snapshot restore
<https://github.com/coreos/etcd/blob/master/Documentation/op-guide/recovery.md#restoring-a-cluster>,
#9177 (comment)
<#9177 (comment)>). That
said, I think this kind of misconfiguration should have been prevented in
client-side, rather than waiting for panic in server (which is proposed in
#9174 <#9174>).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9173 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAbGhclG2ltChBgpHcYRqEDs6UwWiFLCks5tMO5ggaJpZM4RkhCp>
.
|
@tomwilkie We've added client-side safeguard to handle this (backported to 3.2/3.3 branches). Thanks for reporting! |
Nice, thanks!
…On Mon, 22 Jan 2018 at 21:17, Gyuho Lee ***@***.***> wrote:
Closed #9173 <#9173>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#9173 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAbGhXS9XZNsjDfUP5hWrSA3usZzmBfJks5tNPr0gaJpZM4RkhCp>
.
|
In the process of updating etcd cluster to use certificates, https etc:
# etcdctl member update b8b607c8533bf21f --peer-urls=https://redacted
and then restarted corresponding node with https in ETCD_LISTEN_PEER_URLS, ETCD_LISTEN_CLIENT_URLS and ETCD_ADVERTISE_CLIENT_URLS.Process was going fine, until I accidentally forgot to include the
https://
in theetcdctl member update
command. All nodes are now in a panic restart loop with:Its an old etcd version, 3.0.17.
The text was updated successfully, but these errors were encountered: