)]}'
{"specs/queens/centralized-nginx.rst":[{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"5d9b960ef387654221078b612ef70e68a52d4991","unresolved":false,"context_lines":[{"line_number":4,"context_line":":tags: nginx, load balancing, wsgi, API"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"In the previous cycle, most OpenStack API services provided a WSGI application"},{"line_number":7,"context_line":"which is being service through uWSGI. The aim of this spec is to outline a"},{"line_number":8,"context_line":"plan for taking advantage of the greater flexibility uWSGI provides and making"},{"line_number":9,"context_line":"use of nginx as a centralized reverse proxy."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_6e0bf18d","line":7,"updated":"2017-12-04 15:30:08.000000000","message":"nit: serviced?","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"5d9b960ef387654221078b612ef70e68a52d4991","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Remove the installation of nginx from any OpenStack role that includes it"},{"line_number":31,"context_line":"today and instead deploy it separately as a shared reverse proxy with"},{"line_number":32,"context_line":"individual sites configured for each OpenStack API service. The OpenStack roles"},{"line_number":33,"context_line":"will only need to provide site configurations for an existing nginx installation."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"For management of the uWSGI backends that nginx will be proxying, install a uWSGI"},{"line_number":36,"context_line":"FastRouter alongside nginx. The FastRouter will create a shared socket that"}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_0e002567","line":33,"updated":"2017-12-04 15:30:08.000000000","message":"Would this nginx/fastrouter combo go in a container or on the physical host itself? Would that be deployer configurable?","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"053686d35d48ee0f796b27a64459bd6db0595c8b","unresolved":false,"context_lines":[{"line_number":30,"context_line":"Remove the installation of nginx from any OpenStack role that includes it"},{"line_number":31,"context_line":"today and instead deploy it separately as a shared reverse proxy with"},{"line_number":32,"context_line":"individual sites configured for each OpenStack API service. The OpenStack roles"},{"line_number":33,"context_line":"will only need to provide site configurations for an existing nginx installation."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"For management of the uWSGI backends that nginx will be proxying, install a uWSGI"},{"line_number":36,"context_line":"FastRouter alongside nginx. The FastRouter will create a shared socket that"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa0c359_7762b518","line":33,"in_reply_to":"df87a7cf_0e002567","updated":"2018-02-19 12:58:03.000000000","message":"I guess that could be inventory related :)","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"053686d35d48ee0f796b27a64459bd6db0595c8b","unresolved":false,"context_lines":[{"line_number":70,"context_line":"roles will also need to be updated with options to subscribe to an existing"},{"line_number":71,"context_line":"FastRouter."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"The HAProxy server role may require more flexibility, such as allowing SSL"},{"line_number":74,"context_line":"passthrough and just-in-time configuration of services and backends."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Upgrade impact"},{"line_number":77,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa0c359_974e6194","line":74,"range":{"start_line":73,"start_character":0,"end_line":74,"end_character":68},"updated":"2018-02-19 12:58:03.000000000","message":"This is a welcome change anyway. It\u0027s been too long we are discussing this.","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"5d9b960ef387654221078b612ef70e68a52d4991","unresolved":false,"context_lines":[{"line_number":71,"context_line":"FastRouter."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"The HAProxy server role may require more flexibility, such as allowing SSL"},{"line_number":74,"context_line":"passthrough and just-in-time configuration of services and backends."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Upgrade impact"},{"line_number":77,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_2e05e977","line":74,"updated":"2017-12-04 15:30:08.000000000","message":"This shouldn\u0027t be too difficult to implement.","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"053686d35d48ee0f796b27a64459bd6db0595c8b","unresolved":false,"context_lines":[{"line_number":76,"context_line":"Upgrade impact"},{"line_number":77,"context_line":"--------------"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"Since load balancer backends will likely be changing, the load balancer will"},{"line_number":80,"context_line":"need to initially contain both the existing backends and the centralized nginx"},{"line_number":81,"context_line":"backends to limit downtime during upgrades."},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"Security impact"},{"line_number":84,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa0c359_f75ec543","line":81,"range":{"start_line":79,"start_character":0,"end_line":81,"end_character":43},"updated":"2018-02-19 12:58:03.000000000","message":"It can probably be done in a separate playbook, to cleanup the backends (conf.d) and restart haproxy. But that should probably be in the work review instead of the spec.","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"5d9b960ef387654221078b612ef70e68a52d4991","unresolved":false,"context_lines":[{"line_number":86,"context_line":"The proposed change should increase the security posture of OpenStack-Ansible"},{"line_number":87,"context_line":"since it will allow deployers to have more flexibility over where SSL is"},{"line_number":88,"context_line":"terminated, including preventing traffic from leaving a host once it is"},{"line_number":89,"context_line":"unencrypted."},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"Performance impact"},{"line_number":92,"context_line":"------------------"}],"source_content_type":"text/x-rst","patch_set":1,"id":"df87a7cf_cef9dd80","line":89,"updated":"2017-12-04 15:30:08.000000000","message":"I\u0027m all about this. It might be worth mentioning compliance requirements here that would be met after making these changes. ;)","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"053686d35d48ee0f796b27a64459bd6db0595c8b","unresolved":false,"context_lines":[{"line_number":148,"context_line":""},{"line_number":149,"context_line":"* Evaluate existing nginx roles in galaxy"},{"line_number":150,"context_line":"* Develop new nginx role if necessary"},{"line_number":151,"context_line":"* Develop playbook for deploying nginx and uWSGI FastRouter"},{"line_number":152,"context_line":"* Update OpenStack roles to create nginx site configuration and subscribe to"},{"line_number":153,"context_line":"  FastRouter for API services"},{"line_number":154,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa0c359_d216374a","line":151,"updated":"2018-02-19 12:58:03.000000000","message":"We need to add the items expressed above:\n* Adapt haproxy role\n* Evaluate if the bind mount of the files that need to be staticly served from the webservers is a good solution (compared to running the webserver in the container directly)","commit_id":"14a0dd80eb6d92d28e2fcccbc1a3a1680c68a0f5"}],"specs/rocky/centralized-nginx.rst":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"2736620b05f2a1b8580689cbb03a5192ec5a51aa","unresolved":false,"context_lines":[{"line_number":71,"context_line":"FastRouter."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"The HAProxy server role may require more flexibility, such as allowing SSL"},{"line_number":74,"context_line":"passthrough and just-in-time configuration of services and backends."},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"Upgrade impact"},{"line_number":77,"context_line":"--------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df7087c5_35e2cba1","line":74,"updated":"2018-03-13 07:45:06.000000000","message":"A new series of IPs will need to be assigned to avoid overlap with LB/Webserver/service running on metal.","commit_id":"0f9d7316b790dc9eddc307c7cf740cacaa9851b4"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"2736620b05f2a1b8580689cbb03a5192ec5a51aa","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"The horizon role also currently installs Apache and uses it to serve static"},{"line_number":131,"context_line":"content. When running on a container, that static content may need to move to a"},{"line_number":132,"context_line":"mount to remain accessible to an external web server."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Implementation"},{"line_number":135,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df7087c5_a8575eca","line":132,"updated":"2018-03-13 07:45:06.000000000","message":"I think our current architecture takes too much assumptions about the fact the internal endpoint are http, and external https. With this in, we\u0027ll have even more flexibility.\n\nI think we need to make sure every role is deployable in a smart way, by passing endpoints, and doing the right thing automatically (so there is a simplification of variables expected here).\n\nThis way we can simply point to the role for the two different use cases (with ssl termination on webserver or with termination on haproxy), and it would \"do the right thing\".","commit_id":"0f9d7316b790dc9eddc307c7cf740cacaa9851b4"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"2736620b05f2a1b8580689cbb03a5192ec5a51aa","unresolved":false,"context_lines":[{"line_number":130,"context_line":"The horizon role also currently installs Apache and uses it to serve static"},{"line_number":131,"context_line":"content. When running on a container, that static content may need to move to a"},{"line_number":132,"context_line":"mount to remain accessible to an external web server."},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Implementation"},{"line_number":135,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":136,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"df7087c5_e82f963c","line":133,"updated":"2018-03-13 07:45:06.000000000","message":"I also think we should adapt the inventory to add a group explaining the location of those webservers. By default, this group should be related to infra_nodes.\n\nAlternatively, a group can be dynamically created based on the value of physical_hosts (when containers) / ansible_hostname.","commit_id":"0f9d7316b790dc9eddc307c7cf740cacaa9851b4"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"2736620b05f2a1b8580689cbb03a5192ec5a51aa","unresolved":false,"context_lines":[{"line_number":146,"context_line":"Work items"},{"line_number":147,"context_line":"----------"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"* Evaluate existing nginx roles in galaxy"},{"line_number":150,"context_line":"* Develop new nginx role if necessary"},{"line_number":151,"context_line":"* Develop playbook for deploying nginx and uWSGI FastRouter"},{"line_number":152,"context_line":"* Adapt HAProxy role"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df7087c5_28eeeeec","line":149,"updated":"2018-03-13 07:45:06.000000000","message":"FYI: jdauphant.nginx is a decent role IIRC.","commit_id":"0f9d7316b790dc9eddc307c7cf740cacaa9851b4"}]}
