Skip to content
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

Unable to update configuration when the cluster is stopped #1507

Closed
BusyJay opened this issue Aug 3, 2021 · 2 comments · Fixed by #1513
Closed

Unable to update configuration when the cluster is stopped #1507

BusyJay opened this issue Aug 3, 2021 · 2 comments · Fixed by #1513
Labels
type/question Categorizes issue as related to a question.

Comments

@BusyJay
Copy link
Contributor

BusyJay commented Aug 3, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    I deploy a cluster that uses patched version TiKV that adds new configurations. So I:
  • deploy the cluster with default packages;
  • patch the cluster with my packages offline;
  • edit-config to adjust new configurations
  • reload the cluster to make the configuration takes affect.
  1. What did you expect to see?
    The cluster uses new configuration to start.

  2. What did you see instead?
    I can't reload the cluster as it's not started. I have to start it and then reload it. To make it worse,
    the new configuration must be changed before the cluster is initialized, so I can't start it first.

Or, I should be able to deploy the cluster with the patched version in the very beginning.

  1. What version of TiUP are you using (tiup --version)?
1.5.3 tiup
Go Version: go1.16.5
Git Ref: v1.5.3
GitHash: 222bd4d460eaa3fb6feec6ddeb8612fe0870ffd3
@BusyJay BusyJay added the type/bug Categorizes issue as related to a bug. label Aug 3, 2021
@AstroProfundis
Copy link
Contributor

You may try reload with --skip-restart, and maybe also --ignore-config-check

@AstroProfundis AstroProfundis added type/question Categorizes issue as related to a question. and removed type/bug Categorizes issue as related to a bug. labels Aug 5, 2021
@BusyJay
Copy link
Contributor Author

BusyJay commented Aug 5, 2021

You may try reload with --skip-restart

It doesn't work.

{"level":"warn","ts":"2021-08-05T16:52:45.206+0800","logger":"etcd-client","caller":"v3@v3.5.0/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000178000/#initially=[127.0.0.1:2379]","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = latest balancer error: last connection error: connection error: desc = \"transport: Error while dialing dial tcp 127.0.0.1:2379: connect: connection refused\""}

Error: context deadline exceed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Categorizes issue as related to a question.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants