kolla-ansible/releasenotes/notes/fix-1955563-42a14bb080e15df2.yaml
Mark Goddard c358a2d586 Revert "Use friendly target names in Prometheus"
This reverts commit 4ff65b7661.

Reason for revert: adds assumptions about inventory_hostname being resolvable.

Closes-Bug: #1955563
Change-Id: Ifa2b2ea8622f56c34b8f7f37fee53133272ff925
2021-12-23 15:14:33 +00:00

10 lines
461 B
YAML

---
fixes:
- |
Fixes an issue with Prometheus scraping when targets' Ansible inventory
hostnames (``inventory_hostname``) do not resolve to reachable IP
addresses. Reverts to the previous behaviour of using IP addresses to
communicate with targets. The side effect of this is that targets instances
will again be labelled using IP addresses rather than hostnames.
`LP#1955563 <https://bugs.launchpad.net/kolla-ansible/+bug/1955563>`__