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

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.