Error generating Prometheus config during tiup deployment of DM

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiup部署dm时 Generate config prometheus → 1 … Error

| username: h5n1

Using tiup to deploy DM 8.1.0 results in an error when generating the Prometheus config file (consistently reproducible). The same command, environment, and configuration file work fine when deploying version 7.5.0.

tiup-dm-debug-2024-05-30-16-39-22.log (335.6 KB)

tiup.txt (8.2 KB)

However, when deploying 8.1.0 without Prometheus and Grafana, and then adding them via scale-out, there are no issues.

| username: h5n1 | Original post link

Reload will also report an error.

| username: Billmay表妹 | Original post link

Let me provide some feedback.

| username: h5n1 | Original post link

Found the reason, the dm component version in tiup is low.

| username: Billmay表妹 | Original post link

Was the issue resolved after the upgrade?

| username: h5n1 | Original post link

Well, it’s resolved, but I’ve encountered other issues.