Skip to content

haproxy fails with hostnotfound because it cannot find metering-alarm_all - liberty ver #2

Description

@linuxsimba

Not sure how this inventory group is generated, but the fix for this is to comment out the metering-alarm_all section in the haproxy variables file

diff --git a/playbooks/vars/configs/haproxy_config.yml b/playbooks/vars/configs/haproxy_config.yml
index 6687ff3..e8c8655 100644
--- a/playbooks/vars/configs/haproxy_config.yml
+++ b/playbooks/vars/configs/haproxy_config.yml
@@ -180,8 +180,8 @@ haproxy_service_configs:
       haproxy_backend_nodes: "{{ groups['ceilometer_api_container'] }}"
       haproxy_port: 8777
       haproxy_balance_type: http
-  - service:
-      haproxy_service_name: aodh_api
-      haproxy_backend_nodes: "{{ groups['metering-alarm_all'] }}"
-      haproxy_port: 8042
-      haproxy_balance_type: http
+#  - service:
+#      haproxy_service_name: aodh_api
+#      haproxy_backend_nodes: "{{ groups['metering-alarm_all'] }}"
+#      haproxy_port: 8042
+#      haproxy_balance_type: http
(END)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions