)]}'
{"inventory/group_vars/haproxy/haproxy.yml":[{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"e2dd06c7f9f310824c60faa496fd503650addeeb","unresolved":true,"context_lines":[{"line_number":507,"context_line":"      haproxy_backend_nodes: \"{{ groups[\u0027zun_api\u0027] | default([]) }}\""},{"line_number":508,"context_line":"      haproxy_ssl: \"{{ haproxy_ssl }}\""},{"line_number":509,"context_line":"      haproxy_ssl_all_vips: \"{{ haproxy_ssl_all_vips }}\""},{"line_number":510,"context_line":"      haproxy_port: \"{{ hostvars[(groups[\u0027zun_api\u0027] | default([\u0027localhost\u0027]))[0] | default(\u0027localhost\u0027)][\u0027zun_wsproxy_port\u0027] | default(6784) }}\""},{"line_number":511,"context_line":"      haproxy_balance_type: http"},{"line_number":512,"context_line":"      haproxy_timeout_client: 60m"},{"line_number":513,"context_line":"      haproxy_timeout_server: 60m"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3e1c48e3_c1ff0d29","line":510,"range":{"start_line":510,"start_character":6,"end_line":510,"end_character":144},"updated":"2021-01-05 08:43:49.000000000","message":"I don\u0027t think we ever used such pattern... Max what I\u0027d use would be \"{{ zun_wsproxy_port | default(6784) }\", but I think it\u0027s worth doing the same with all other endpoints as well in follow-up patch","commit_id":"4c6d39c325f7ed2de7bd76e4e79d2a6e4775146a"},{"author":{"_account_id":31542,"name":"Andrew Bonney","email":"andrew.bonney@bbc.co.uk","username":"andrewbonney"},"change_message_id":"4cad48e4e6dfb07c4a6f481f916b9538195a0119","unresolved":true,"context_lines":[{"line_number":507,"context_line":"      haproxy_backend_nodes: \"{{ groups[\u0027zun_api\u0027] | default([]) }}\""},{"line_number":508,"context_line":"      haproxy_ssl: \"{{ haproxy_ssl }}\""},{"line_number":509,"context_line":"      haproxy_ssl_all_vips: \"{{ haproxy_ssl_all_vips }}\""},{"line_number":510,"context_line":"      haproxy_port: \"{{ hostvars[(groups[\u0027zun_api\u0027] | default([\u0027localhost\u0027]))[0] | default(\u0027localhost\u0027)][\u0027zun_wsproxy_port\u0027] | default(6784) }}\""},{"line_number":511,"context_line":"      haproxy_balance_type: http"},{"line_number":512,"context_line":"      haproxy_timeout_client: 60m"},{"line_number":513,"context_line":"      haproxy_timeout_server: 60m"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"4c5aed12_0cdd290c","line":510,"range":{"start_line":510,"start_character":6,"end_line":510,"end_character":144},"in_reply_to":"3e1c48e3_c1ff0d29","updated":"2021-01-05 08:50:43.000000000","message":"It\u0027s just nova-console that uses the same pattern. If you have HAProxy and the Zun APIs deployed to different hosts would the \u0027zun_wsproxy_port\u0027 variable still be available here? I was assuming that was why the Nova config looked for a sample host within its own group.","commit_id":"4c6d39c325f7ed2de7bd76e4e79d2a6e4775146a"},{"author":{"_account_id":28619,"name":"Dmitriy Rabotyagov","email":"noonedeadpunk@gmail.com","username":"noonedeadpunk"},"change_message_id":"5f6e93cf56e6298bfe72fc93dbdfe90fce0a98d9","unresolved":true,"context_lines":[{"line_number":507,"context_line":"      haproxy_backend_nodes: \"{{ groups[\u0027zun_api\u0027] | default([]) }}\""},{"line_number":508,"context_line":"      haproxy_ssl: \"{{ haproxy_ssl }}\""},{"line_number":509,"context_line":"      haproxy_ssl_all_vips: \"{{ haproxy_ssl_all_vips }}\""},{"line_number":510,"context_line":"      haproxy_port: \"{{ hostvars[(groups[\u0027zun_api\u0027] | default([\u0027localhost\u0027]))[0] | default(\u0027localhost\u0027)][\u0027zun_wsproxy_port\u0027] | default(6784) }}\""},{"line_number":511,"context_line":"      haproxy_balance_type: http"},{"line_number":512,"context_line":"      haproxy_timeout_client: 60m"},{"line_number":513,"context_line":"      haproxy_timeout_server: 60m"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"2ffd606d_5e607d3b","line":510,"range":{"start_line":510,"start_character":6,"end_line":510,"end_character":144},"in_reply_to":"4c5aed12_0cdd290c","updated":"2021-01-05 09:06:30.000000000","message":"It actually depends on where to define zun_wsproxy_port - if in group vars related only to zun_api (and not set for haproxy_all), then it won\u0027t be available. But it\u0027s actually the same situation with every haproxy_port value for all services, and nova/zun console is not really special here I think.","commit_id":"4c6d39c325f7ed2de7bd76e4e79d2a6e4775146a"}]}
