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

Bug: cluster failed to deploy using tiup v1.3.3 #1186

Closed
mahjonp opened this issue Mar 5, 2021 · 1 comment
Closed

Bug: cluster failed to deploy using tiup v1.3.3 #1186

mahjonp opened this issue Mar 5, 2021 · 1 comment
Labels
type/bug Categorizes issue as related to a bug. type/duplicate Categorizes issue or PR as duplicate.

Comments

@mahjonp
Copy link
Contributor

mahjonp commented Mar 5, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?

tiup cluster deploy test-cluster nightly topology.yaml -i ~/insecure_key

global:
  user: root
  ssh_port: 22
  ssh_type: builtin
  deploy_dir: /disk1/deploy
  data_dir: /disk1/data
  os: linux
  arch: amd64
monitored:
  node_exporter_port: 9100
  blackbox_exporter_port: 9115
tidb_servers:
- host: 10.0.2.44
  ssh_port: 22
  port: 4000
  status_port: 10080
tikv_servers:
- host: 10.0.2.46
  ssh_port: 22
  port: 20160
  status_port: 20180
- host: 10.0.2.47
  ssh_port: 22
  port: 20160
  status_port: 20180
- host: 10.0.2.55
  ssh_port: 22
  port: 20160
  status_port: 20180
tiflash_servers: []
pd_servers:
- host: 10.0.2.43
  ssh_port: 22
  name: ""
  client_port: 2379
  peer_port: 2380
monitoring_servers:
- host: 10.0.2.42
  ssh_port: 22
  port: 9090
grafana_servers:
- host: 10.0.2.42
  ssh_port: 22
  port: 3000
  username: admin
  password: admin
  1. What did you expect to see?

OK

  1. What did you see instead?
+ Copy files
  - Copy pd -> 10.0.2.43 ... Done
  - Copy tikv -> 10.0.2.46 ... Done
  - Copy tikv -> 10.0.2.47 ... Done
  - Copy tikv -> 10.0.2.55 ... Done
  - Copy tidb -> 10.0.2.44 ... Done
  - Copy prometheus -> 10.0.2.42 ... Error
  - Copy grafana -> 10.0.2.42 ... Done
  - Copy node_exporter -> 10.0.2.47 ... Done
  - Copy node_exporter -> 10.0.2.55 ... Done
  - Copy node_exporter -> 10.0.2.44 ... Done
  - Copy node_exporter -> 10.0.2.42 ... Done
  - Copy node_exporter -> 10.0.2.43 ... Done
  - Copy node_exporter -> 10.0.2.46 ... Done
  - Copy blackbox_exporter -> 10.0.2.46 ... Done
  - Copy blackbox_exporter -> 10.0.2.47 ... Done
  - Copy blackbox_exporter -> 10.0.2.55 ... Done
  - Copy blackbox_exporter -> 10.0.2.44 ... Done
  - Copy blackbox_exporter -> 10.0.2.42 ... Done
  - Copy blackbox_exporter -> 10.0.2.43 ... Done

Error: init config failed: 10.0.2.42:9090: template: Prometheus:45: unexpected {{end}}

Verbose debug logs has been written to /root/.tiup/logs/tiup-cluster-debug-2021-03-05-10-19-59.log.

  1. What version of TiUP are you using (tiup --version)?

[root@35b34352c428 ~]# tiup --version
v1.3.2 tiup
Go Version: go1.13
Git Branch: release-1.3
GitHash: 2d88460

@mahjonp mahjonp added the type/bug Categorizes issue as related to a bug. label Mar 5, 2021
@mahjonp mahjonp changed the title Bug: Prometheus failed to deploy on v1.3.3 Bug: cluster failed to deploy using tiup v1.3.3 Mar 5, 2021
@AstroProfundis AstroProfundis added the type/duplicate Categorizes issue or PR as duplicate. label Mar 5, 2021
@AstroProfundis
Copy link
Contributor

dupe of #1184

@mahjonp mahjonp closed this as completed Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Categorizes issue as related to a bug. type/duplicate Categorizes issue or PR as duplicate.
Projects
None yet
Development

No branches or pull requests

2 participants