-
Notifications
You must be signed in to change notification settings - Fork 3.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
cli: unable to initialize a cluster with --cert-principal-map #48116
Comments
@petermattis you must have a workaround as you said you tested multi-node cluster with |
Hrmm. Yeah, that's not good. I used the pre-init version of cluster initialization via |
same story
|
Ack. Thanks for checking. I'm not surprised by the result. |
Add support for the `--cert-principal-map` flag to the certs and client commands. Anywhere we were accepting the `--certs-dir` flag, we now also accept the `--cert-principal-map` flag. Fixes cockroachdb#47300 Fixes cockroachdb#48116 Release note (cli change): Support the `--cert-principal-map` flag in the `cert *` and "client" commands such as `sql`, `init`, and `quit`.
Add support for the `--cert-principal-map` flag to the certs and client commands. Anywhere we were accepting the `--certs-dir` flag, we now also accept the `--cert-principal-map` flag. Fixes cockroachdb#47300 Fixes cockroachdb#48116 Release note (cli change): Support the `--cert-principal-map` flag in the `cert *` and "client" commands such as `sql`, `init`, and `quit`.
Add support for the `--cert-principal-map` flag to the certs and client commands. Anywhere we were accepting the `--certs-dir` flag, we now also accept the `--cert-principal-map` flag. Fixes cockroachdb#47300 Fixes cockroachdb#47754 Fixes cockroachdb#48116 Release note (cli change): Support the `--cert-principal-map` flag in the `cert *` and "client" commands such as `sql`, `init`, and `quit`.
@petermattis I was able to work around this issue by shutting down the nodes before init and restarting with certs generated by |
Add support for the `--cert-principal-map` flag to the certs and client commands. Anywhere we were accepting the `--certs-dir` flag, we now also accept the `--cert-principal-map` flag. Fixes cockroachdb#47300 Fixes cockroachdb#47754 Fixes cockroachdb#48116 Release note (cli change): Support the `--cert-principal-map` flag in the `cert *` and "client" commands such as `sql`, `init`, and `quit`.
That would work, though I think we can agree that it is a pretty gross workaround. #47449 will be merging shortly which will make this situation a bit better. I'd love for you to take it for a spin when it merges. |
I'll give it a spin when it's ready |
Add support for the `--cert-principal-map` flag to the certs and client commands. Anywhere we were accepting the `--certs-dir` flag, we now also accept the `--cert-principal-map` flag. Fixes cockroachdb#47300 Fixes cockroachdb#47754 Fixes cockroachdb#48116 Release note (cli change): Support the `--cert-principal-map` flag in the `cert *` and "client" commands such as `sql`, `init`, and `quit`.
Describe the problem
Please describe the issue you observed, and any steps we can take to reproduce it:
To Reproduce
start cluster
trying to init cluster
Expected behavior
cluster should initialize as usual.
Environment:
cockroach sql
The text was updated successfully, but these errors were encountered: