e38ca5c722
check if generated prometheus config is valid via promtool. This should help prevent bugs like: https://bugs.launchpad.net/kolla-ansible/+bug/2076660 prior art: haproxy config validation: https://review.opendev.org/c/openstack/kolla-ansible/+/922840 also add some basic documentation for the `kolla-ansible validate-config` command. Signed-off-by: Sven Kieske <kieske@osism.tech> Change-Id: Ief90861b2c422e0e6c2dd9cb605c94e86c0f2ba1
10 lines
402 B
YAML
10 lines
402 B
YAML
---
|
|
|
|
features:
|
|
- |
|
|
kolla-ansible now validates the Prometheus configuration files when
|
|
called via ``kolla-ansible -i $inventory validate-config``. This
|
|
validation is done by running the ``promtool check config`` command.
|
|
See the `documentation <https://docs.openstack.org/kolla-ansible/latest/user/multinode.html>`__
|
|
for the ``kolla-ansible validate-config`` command for details.
|