tiup cluster deploy will fail #991
Labels
category/monitoring
Categorizes issue or PR related to monitoring components.
category/stability
Categorizes issue or PR as a stability enhancement.
type/bug
Categorizes issue as related to a bug.
type/duplicate
Categorizes issue or PR as duplicate.
Bug Report
Please answer these questions before submitting your issue. Thanks!
What did you do?
$ tiup cluster deploy test-compression nightly ./topology.yml --user root -p
What did you expect to see?
Succeed to deploy a cluster.
What did you see instead?
Error: init config failed: 172.16.5.187:9090: executor.ssh.execute_failed: Failed to execute command over SSH for '[email protected]:22' {ssh_stderr: zsh:1: no matches found: /tidb-deploy/prometheus-9090/conf/.rules.yml
, ssh_stdout: , ssh_command: export LANG=C; PATH=$PATH:/usr/bin:/usr/sbin rm -f /tidb-deploy/prometheus-9090/conf/.rules.yml}, cause: Process exited with status 1
What version of TiUP are you using (
tiup --version
)?v1.2.5 tiup
Go Version: go1.13
Git Branch: release-1.2
GitHash: 5b9cf5d
A feasible workaround:
Seems Tiup will remove files before deploy a new cluster, but executing "rm -f /tidb-deploy/prometheus-9090/conf/*.rules.yml" will fail since there is no such file, and thus cause process exit.
workaround:
$ touch 1.rules.yml
touch a trivial file at promethesus folder before execute tiup deploy command.
$ touch 1.json
touch a file at grafana folder as well
The text was updated successfully, but these errors were encountered: