Revert "Fix glance-registry host address"
https://mirantis.jira.com/browse/PROD-21768
Since server.registry.host is designed to map only to the
cluster VIP, we have found that this will not monitor the
individual host. This will revert to server.bind.address
which will be mapped to individual host.
This reverts commit 053efa855415aee13432a5f2cd0926d5610de6aa.
Change-Id: Id22101fe92f1aeacf90b19817c35b0efca01b56e
diff --git a/glance/meta/telegraf.yml b/glance/meta/telegraf.yml
index 90c2e2d..118af2e 100644
--- a/glance/meta/telegraf.yml
+++ b/glance/meta/telegraf.yml
@@ -7,6 +7,6 @@
address: "http://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.bind.port }}/"
expected_code: 300
glance-registry:
- address: "http://{{ server.registry.host|replace('0.0.0.0', '127.0.0.1') }}:{{ server.registry.port }}/"
+ address: "http://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.registry.port }}/"
expected_code: 401
{%- endif %}