)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"4e9eb0eb97b393f9e595b2e05b39cf8f19a96317","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-12-01 12:32:35 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Added spec for policy-files-distribution"},{"line_number":8,"context_line":"This explains/opens the discussion to component policy"},{"line_number":9,"context_line":"file distribution with the help of openstack-ansible."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: If419f5b8839cfaa316763c8f71ecd25b92cc1cd2"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"7a740942_2d0a097a","line":8,"updated":"2015-12-07 13:34:40.000000000","message":"The subject and body should be separated by a blank line.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"}],"specs/mitaka/policy-files-distribution.rst":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"121ffd0db39cf2a27a37d6787365fd5fe9d36a50","unresolved":false,"context_lines":[{"line_number":42,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"},{"line_number":43,"context_line":"  require to follow upstream policy files changes (to remove deprecations)"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* Download each upstream project policy file on the deployment node before"},{"line_number":46,"context_line":"  running the os_horizon role, and then use the `config_template` to"},{"line_number":47,"context_line":"  upload/override the final json files on horizon. This would require to"},{"line_number":48,"context_line":"  follow upstream policy files URL changes."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_4c10d201","line":45,"updated":"2015-11-25 21:51:10.000000000","message":"Where do these come from? Are they not already in the Horizon repository or another repository?","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"69f67790cc7d8e72f286746d43ff24315641085c","unresolved":false,"context_lines":[{"line_number":42,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"},{"line_number":43,"context_line":"  require to follow upstream policy files changes (to remove deprecations)"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"* Download each upstream project policy file on the deployment node before"},{"line_number":46,"context_line":"  running the os_horizon role, and then use the `config_template` to"},{"line_number":47,"context_line":"  upload/override the final json files on horizon. This would require to"},{"line_number":48,"context_line":"  follow upstream policy files URL changes."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_9d58f48b","line":45,"in_reply_to":"9a8ffd7b_4c10d201","updated":"2015-11-27 11:05:27.000000000","message":"Sadly they aren\u0027t from horizon repository.\nThey are from the other repositories, (you\u0027d have to get each upstream project\u0027s policy files on the deploy node)","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"99f8024775d5d561afd841e673f2e7d7aaa292ba","unresolved":false,"context_lines":[{"line_number":52,"context_line":"  ``policy_files_distribution_folder`` (by default ``/etc/openstack_deploy/``),"},{"line_number":53,"context_line":"  then the horizon role could consume these files and upload the"},{"line_number":54,"context_line":"  json files on horizon nodes. This would require connecting on multiple"},{"line_number":55,"context_line":"  hosts and will lengthen deployment\u0027s time (on the first run, if enabled)"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"I\u0027d rather implement the last one."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_7d2510bf","line":55,"updated":"2015-11-26 16:20:14.000000000","message":"So deploy the policy files, then copy back to the deployment host, then copy up the horizon hosts? \n\nThat seems quite straightforward, I think the deployment host is valid mid point for distribution and saves complication with ssh/memcache/whatever between hosts.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"69f67790cc7d8e72f286746d43ff24315641085c","unresolved":false,"context_lines":[{"line_number":52,"context_line":"  ``policy_files_distribution_folder`` (by default ``/etc/openstack_deploy/``),"},{"line_number":53,"context_line":"  then the horizon role could consume these files and upload the"},{"line_number":54,"context_line":"  json files on horizon nodes. This would require connecting on multiple"},{"line_number":55,"context_line":"  hosts and will lengthen deployment\u0027s time (on the first run, if enabled)"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"I\u0027d rather implement the last one."},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_c2b19e48","line":55,"in_reply_to":"9a8ffd7b_7d2510bf","updated":"2015-11-27 11:05:27.000000000","message":"Yeah, first deploy each component, which should create policy files.\nIf there are overrides for one component, fetch the appropriate policy file on the deploy host.\nThen from the deploy node, push to horizon policies and change the horizon config.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":13095,"name":"Marc Gariépy","email":"gariepy.marc@gmail.com","username":"mgariepy"},"change_message_id":"55f798ebd094b74e37e071313d23080d94d94510","unresolved":false,"context_lines":[{"line_number":53,"context_line":"  then the horizon role could consume these files and upload the"},{"line_number":54,"context_line":"  json files on horizon nodes. This would require connecting on multiple"},{"line_number":55,"context_line":"  hosts and will lengthen deployment\u0027s time (on the first run, if enabled)"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"I\u0027d rather implement the last one."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_30a6cf53","line":56,"updated":"2015-11-26 16:33:19.000000000","message":"maybe you can use the slurp module to get the file.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"69f67790cc7d8e72f286746d43ff24315641085c","unresolved":false,"context_lines":[{"line_number":53,"context_line":"  then the horizon role could consume these files and upload the"},{"line_number":54,"context_line":"  json files on horizon nodes. This would require connecting on multiple"},{"line_number":55,"context_line":"  hosts and will lengthen deployment\u0027s time (on the first run, if enabled)"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"I\u0027d rather implement the last one."},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_225bcaf7","line":56,"in_reply_to":"9a8ffd7b_30a6cf53","updated":"2015-11-27 11:05:27.000000000","message":"I planned to use fetch, but we can review/discuss about the technical implementation in the technical\u0027s commit.\n\nThis was just to get the general idea approved.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"121ffd0db39cf2a27a37d6787365fd5fe9d36a50","unresolved":false,"context_lines":[{"line_number":98,"context_line":"---------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"A few new variables:"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"* policy_file_distribution_enabled"},{"line_number":103,"context_line":"* policy_file_distribution_force_redownload"},{"line_number":104,"context_line":"* policy_files_distribution_folder"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_8ca23aad","line":101,"updated":"2015-11-25 21:51:10.000000000","message":"Perhaps just \u0027horizon_policies_enabled\u0027, \u0027horizon_policies_refresh\u0027, \u0027horizon_policies_folder\u0027?","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"69f67790cc7d8e72f286746d43ff24315641085c","unresolved":false,"context_lines":[{"line_number":98,"context_line":"---------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"A few new variables:"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"* policy_file_distribution_enabled"},{"line_number":103,"context_line":"* policy_file_distribution_force_redownload"},{"line_number":104,"context_line":"* policy_files_distribution_folder"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_fdf58056","line":101,"in_reply_to":"9a8ffd7b_8ca23aad","updated":"2015-11-27 11:05:27.000000000","message":"The name has to be decided as part of a role or not. If variable is inside the horizon role, it makes sense to call it horizon_*.\nFor the rest, I\u0027m not sure I care :p (as soon as there is no overlap)\n\nI\u0027ll adapt this to set your concerns in stone.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"99f8024775d5d561afd841e673f2e7d7aaa292ba","unresolved":false,"context_lines":[{"line_number":98,"context_line":"---------------"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"A few new variables:"},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"* policy_file_distribution_enabled"},{"line_number":103,"context_line":"* policy_file_distribution_force_redownload"},{"line_number":104,"context_line":"* policy_files_distribution_folder"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_d00743c8","line":101,"in_reply_to":"9a8ffd7b_8ca23aad","updated":"2015-11-26 16:20:14.000000000","message":"distribute_policies_to_horizon ?\n#bikeshed","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":7217,"name":"Hugh Saunders","email":"hugh@wherenow.org","username":"hughsaunders"},"change_message_id":"99f8024775d5d561afd841e673f2e7d7aaa292ba","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  for this change to be tested within 3rd party testing, gate enhancements,"},{"line_number":152,"context_line":"  etc...?"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Not untestable."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"* If the service is not OpenStack specific how can we test the change?"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_f03367a9","line":154,"range":{"start_line":154,"start_character":4,"end_line":154,"end_character":14},"updated":"2015-11-26 16:20:14.000000000","message":"This change is testable. To be fair, the negative is introduced in the template, so it\u0027s hard to avoid the double.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"69f67790cc7d8e72f286746d43ff24315641085c","unresolved":false,"context_lines":[{"line_number":151,"context_line":"  for this change to be tested within 3rd party testing, gate enhancements,"},{"line_number":152,"context_line":"  etc...?"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":"Not untestable."},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"* If the service is not OpenStack specific how can we test the change?"},{"line_number":157,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_e2cdc285","line":154,"in_reply_to":"9a8ffd7b_f03367a9","updated":"2015-11-27 11:05:27.000000000","message":"I\u0027ll adapt","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"121ffd0db39cf2a27a37d6787365fd5fe9d36a50","unresolved":false,"context_lines":[{"line_number":161,"context_line":"Documentation impact"},{"line_number":162,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"A few words about the new feature."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"References"},{"line_number":167,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_ec9bc670","line":164,"updated":"2015-11-25 21:51:10.000000000","message":"Updates to the Horizon documentation about how to enable, use and override the policies.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"69f67790cc7d8e72f286746d43ff24315641085c","unresolved":false,"context_lines":[{"line_number":161,"context_line":"Documentation impact"},{"line_number":162,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"A few words about the new feature."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"References"},{"line_number":167,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_028006f6","line":164,"in_reply_to":"9a8ffd7b_ec9bc670","updated":"2015-11-27 11:05:27.000000000","message":"I\u0027ll adapt","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"121ffd0db39cf2a27a37d6787365fd5fe9d36a50","unresolved":false,"context_lines":[{"line_number":166,"context_line":"References"},{"line_number":167,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"None."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_4c83f204","line":169,"updated":"2015-11-25 21:51:10.000000000","message":"Is there any upstream documentation about how to enable/use the feature? Perhaps a reference to where the policies are located would also be useful?","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"69f67790cc7d8e72f286746d43ff24315641085c","unresolved":false,"context_lines":[{"line_number":166,"context_line":"References"},{"line_number":167,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":168,"context_line":""},{"line_number":169,"context_line":"None."}],"source_content_type":"text/x-rst","patch_set":1,"id":"9a8ffd7b_a2bfbaa8","line":169,"in_reply_to":"9a8ffd7b_4c83f204","updated":"2015-11-27 11:05:27.000000000","message":"I could write the current path to each project policy if you want.","commit_id":"f4becc1c7a7133add7b26aea281acf330a4ec6cd"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"e060a788e1f1ca034ab3b29d6b8f327ba9aca69f","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"This should fix that, and propose a solution to the policy files deployment"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Proposed change"},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"First, there should be a generic cross-role switch"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_66fd586d","line":29,"updated":"2015-11-27 14:55:19.000000000","message":"In this section I\u0027d pick a single option and advocate for it as the \"Proposed change\" and then add one other option as an Alternative. Based on the last comment and my own personal opinion I think the third bullet point is the best option however I\u0027ll leave that choice up to you.","commit_id":"69c94987c2e62fcea3e9a82f8b38094dee3f8c6a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c880f316b0ca8d17eb7d9757f7bb28ffaa2290df","unresolved":false,"context_lines":[{"line_number":48,"context_line":"  upload/override the final json files on horizon. This would require to"},{"line_number":49,"context_line":"  follow upstream policy files URL changes."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"* Download each deployed policy.json file (from the first host of each group)"},{"line_number":52,"context_line":"  inside the horizon install playbook into the"},{"line_number":53,"context_line":"  ``policy_files_distribution_folder`` (by default ``/etc/openstack_deploy/``),"},{"line_number":54,"context_line":"  then the horizon role could consume these files and upload the"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9a8ffd7b_ca02fe09","line":51,"updated":"2015-11-27 17:33:16.000000000","message":"This does seem like the best option, as the config overrides would already have been applied in each of the other roles.","commit_id":"69c94987c2e62fcea3e9a82f8b38094dee3f8c6a"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"80ad251a7cd7eb32f1c6fc95684cd378797583b2","unresolved":false,"context_lines":[{"line_number":4,"context_line":":tags: cross-project, cross-role, json, policy, distribution, horizon"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"OpenStack Horizon can use policy.json files to filter the actions"},{"line_number":7,"context_line":"possible on its webinterface. For that, horizon consumes the policy.json"},{"line_number":8,"context_line":"files of each openstack project (like cinder/nova/glance/...),"},{"line_number":9,"context_line":"it doesn\u0027t distribute its own."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_28389bee","line":7,"updated":"2015-12-07 23:46:04.000000000","message":"s/possible/available/\n\nalso, consistent capitalization of Horizon would be nice.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":4,"context_line":":tags: cross-project, cross-role, json, policy, distribution, horizon"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"OpenStack Horizon can use policy.json files to filter the actions"},{"line_number":7,"context_line":"possible on its webinterface. For that, horizon consumes the policy.json"},{"line_number":8,"context_line":"files of each openstack project (like cinder/nova/glance/...),"},{"line_number":9,"context_line":"it doesn\u0027t distribute its own."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_d37ac387","line":7,"in_reply_to":"7a740942_28389bee","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":13997,"name":"SHIGEMATSU Mitsuhiro","email":"shigematsu.mitsuhiro@lab.ntt.co.jp","username":"pshige"},"change_message_id":"28393f609a7c8e2cfe95a2e7209b6b3a768d814b","unresolved":false,"context_lines":[{"line_number":32,"context_line":"First, there should be a generic cross-role switch"},{"line_number":33,"context_line":"(``policy_file_distribution_enabled``) defaulted to False, unless the"},{"line_number":34,"context_line":"deployer has set a ``_policy_overrides`` for a component."},{"line_number":35,"context_line":"Of course, a deployer can prevent this policy policy file distribution"},{"line_number":36,"context_line":"by setting it to False."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Then, we should handle the policy distribution this way:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_2aae9685","line":35,"updated":"2015-12-05 14:07:50.000000000","message":"s/policy policy/policy/ ?","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":32,"context_line":"First, there should be a generic cross-role switch"},{"line_number":33,"context_line":"(``policy_file_distribution_enabled``) defaulted to False, unless the"},{"line_number":34,"context_line":"deployer has set a ``_policy_overrides`` for a component."},{"line_number":35,"context_line":"Of course, a deployer can prevent this policy policy file distribution"},{"line_number":36,"context_line":"by setting it to False."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Then, we should handle the policy distribution this way:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_93a75b0a","line":35,"in_reply_to":"7a740942_2aae9685","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":45,"context_line":"2. Having the horizon role could consume these files on the deploy host"},{"line_number":46,"context_line":"   and upload the json files to the horizon nodes. This would require"},{"line_number":47,"context_line":"   connecting on multiple hosts and will lengthen deployment\u0027s"},{"line_number":48,"context_line":"   time (on the first run, if enabled)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Alternatives"},{"line_number":51,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_1e1e5d5f","line":48,"updated":"2015-12-07 12:01:17.000000000","message":"I\u0027m not sure that I understand what this bullet point is trying to say. Is it another option, or a second step?","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":45,"context_line":"2. Having the horizon role could consume these files on the deploy host"},{"line_number":46,"context_line":"   and upload the json files to the horizon nodes. This would require"},{"line_number":47,"context_line":"   connecting on multiple hosts and will lengthen deployment\u0027s"},{"line_number":48,"context_line":"   time (on the first run, if enabled)"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"Alternatives"},{"line_number":51,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_d3888373","line":48,"in_reply_to":"7a740942_1e1e5d5f","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Not implementing this, and let the deployer do the work himself"},{"line_number":54,"context_line":"* Rely on the fact that horizon will distribute its own policy mapping"},{"line_number":55,"context_line":"   (unlikely)"},{"line_number":56,"context_line":"* Include each project (nova/...) default policy file from upstream in"},{"line_number":57,"context_line":"  the horizon role and use the `config_template` to upload/override the final"},{"line_number":58,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_e408a12f","line":55,"updated":"2015-12-07 12:01:17.000000000","message":"As far as I know, Horizon doesn\u0027t do this right now - and it\u0027s therefore not \u0027a fact\u0027. Do you mean to say \u0027Rely on Horizon distributing its own policy mapping in the future.\u0027 ?","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"* Not implementing this, and let the deployer do the work himself"},{"line_number":54,"context_line":"* Rely on the fact that horizon will distribute its own policy mapping"},{"line_number":55,"context_line":"   (unlikely)"},{"line_number":56,"context_line":"* Include each project (nova/...) default policy file from upstream in"},{"line_number":57,"context_line":"  the horizon role and use the `config_template` to upload/override the final"},{"line_number":58,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_73f2ef07","line":55,"in_reply_to":"7a740942_e408a12f","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":53,"context_line":"* Not implementing this, and let the deployer do the work himself"},{"line_number":54,"context_line":"* Rely on the fact that horizon will distribute its own policy mapping"},{"line_number":55,"context_line":"   (unlikely)"},{"line_number":56,"context_line":"* Include each project (nova/...) default policy file from upstream in"},{"line_number":57,"context_line":"  the horizon role and use the `config_template` to upload/override the final"},{"line_number":58,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"},{"line_number":59,"context_line":"  require to follow upstream policy files changes (to remove deprecations)"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_be2f0987","line":56,"updated":"2015-12-07 12:01:17.000000000","message":"s/project/project\u0027s/\n\nI\u0027d replace \u0027nova/...\u0027 with \u0027i.e. nova, neutron, etc\u0027 to make this clearer\n\n\u0027from upstream\u0027 is perhaps better described as \u0027from their git sources\u0027?","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":53,"context_line":"* Not implementing this, and let the deployer do the work himself"},{"line_number":54,"context_line":"* Rely on the fact that horizon will distribute its own policy mapping"},{"line_number":55,"context_line":"   (unlikely)"},{"line_number":56,"context_line":"* Include each project (nova/...) default policy file from upstream in"},{"line_number":57,"context_line":"  the horizon role and use the `config_template` to upload/override the final"},{"line_number":58,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"},{"line_number":59,"context_line":"  require to follow upstream policy files changes (to remove deprecations)"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_13e28b2f","line":56,"in_reply_to":"7a740942_be2f0987","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":56,"context_line":"* Include each project (nova/...) default policy file from upstream in"},{"line_number":57,"context_line":"  the horizon role and use the `config_template` to upload/override the final"},{"line_number":58,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"},{"line_number":59,"context_line":"  require to follow upstream policy files changes (to remove deprecations)"},{"line_number":60,"context_line":"* Download each upstream project policy.json file from their appropriate"},{"line_number":61,"context_line":"  repository (glance, nova, ...) to the deployment node before"},{"line_number":62,"context_line":"  running the os_horizon role. Then use the `config_template` to"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_7e33e1ab","line":59,"updated":"2015-12-07 12:01:17.000000000","message":"I think that this last sentence is better expressed as: This would require us to track OpenStack project policy changes in both the Horizon and respective project roles.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":56,"context_line":"* Include each project (nova/...) default policy file from upstream in"},{"line_number":57,"context_line":"  the horizon role and use the `config_template` to upload/override the final"},{"line_number":58,"context_line":"  ``nova_policy.json, glance_policy.json,...`` files on horizon. This would"},{"line_number":59,"context_line":"  require to follow upstream policy files changes (to remove deprecations)"},{"line_number":60,"context_line":"* Download each upstream project policy.json file from their appropriate"},{"line_number":61,"context_line":"  repository (glance, nova, ...) to the deployment node before"},{"line_number":62,"context_line":"  running the os_horizon role. Then use the `config_template` to"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_b3d3775f","line":59,"in_reply_to":"7a740942_7e33e1ab","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"80ad251a7cd7eb32f1c6fc95684cd378797583b2","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  repository (glance, nova, ...) to the deployment node before"},{"line_number":62,"context_line":"  running the os_horizon role. Then use the `config_template` to"},{"line_number":63,"context_line":"  upload/override the final json files on horizon. This would require to"},{"line_number":64,"context_line":"  follow upstream policy files URL changes."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Playbook/Role impact"},{"line_number":67,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_08659f1c","line":64,"updated":"2015-12-07 23:46:04.000000000","message":"Another alternative would be to not download to deploy host, but distribute using another mechanism. i.e. memcache, swift, direct file sync.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":61,"context_line":"  repository (glance, nova, ...) to the deployment node before"},{"line_number":62,"context_line":"  running the os_horizon role. Then use the `config_template` to"},{"line_number":63,"context_line":"  upload/override the final json files on horizon. This would require to"},{"line_number":64,"context_line":"  follow upstream policy files URL changes."},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Playbook/Role impact"},{"line_number":67,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_b33a9797","line":64,"in_reply_to":"7a740942_08659f1c","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Slightly longer deployment time if enabled for the first time."},{"line_number":85,"context_line":"Implementation would redownload if a file exists, unless explicitly"},{"line_number":86,"context_line":"told by a variable: ``policy_file_distribution_force_redownload``."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"End user impact"},{"line_number":89,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_be9aa96c","line":86,"updated":"2015-12-07 12:01:17.000000000","message":"\u0027the boolean variable\u0027\n\nI\u0027d also suggest \u0027refresh\u0027 instead of \u0027redownload\u0027 in the variable name.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"80ad251a7cd7eb32f1c6fc95684cd378797583b2","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Slightly longer deployment time if enabled for the first time."},{"line_number":85,"context_line":"Implementation would redownload if a file exists, unless explicitly"},{"line_number":86,"context_line":"told by a variable: ``policy_file_distribution_force_redownload``."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"End user impact"},{"line_number":89,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_d6097885","line":86,"in_reply_to":"7a740942_be9aa96c","updated":"2015-12-07 23:46:04.000000000","message":"+1","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"Slightly longer deployment time if enabled for the first time."},{"line_number":85,"context_line":"Implementation would redownload if a file exists, unless explicitly"},{"line_number":86,"context_line":"told by a variable: ``policy_file_distribution_force_redownload``."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"End user impact"},{"line_number":89,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_7340af07","line":86,"in_reply_to":"7a740942_be9aa96c","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":99,"context_line":"A few new variables:"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* policy_file_distribution_enabled"},{"line_number":102,"context_line":"* policy_file_distribution_force_redownload"},{"line_number":103,"context_line":"* policy_files_distribution_folder"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"NB: Their name could be adapted later"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_be714946","line":102,"updated":"2015-12-07 12:01:17.000000000","message":"I\u0027d suggest \u0027refresh\u0027 instead of \u0027redownload\u0027","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":99,"context_line":"A few new variables:"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* policy_file_distribution_enabled"},{"line_number":102,"context_line":"* policy_file_distribution_force_redownload"},{"line_number":103,"context_line":"* policy_files_distribution_folder"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"NB: Their name could be adapted later"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_9343db12","line":102,"in_reply_to":"7a740942_be714946","updated":"2015-12-08 15:04:45.000000000","message":"Done","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* policy_file_distribution_enabled"},{"line_number":102,"context_line":"* policy_file_distribution_force_redownload"},{"line_number":103,"context_line":"* policy_files_distribution_folder"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"NB: Their name could be adapted later"},{"line_number":106,"context_line":"(cf. implementation)"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_fe7b5126","line":103,"updated":"2015-12-07 12:01:17.000000000","message":"I\u0027d suggest keeping to the convention, ie s/files/file/","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":100,"context_line":""},{"line_number":101,"context_line":"* policy_file_distribution_enabled"},{"line_number":102,"context_line":"* policy_file_distribution_force_redownload"},{"line_number":103,"context_line":"* policy_files_distribution_folder"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"NB: Their name could be adapted later"},{"line_number":106,"context_line":"(cf. implementation)"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_d30ba3d4","line":103,"in_reply_to":"7a740942_fe7b5126","updated":"2015-12-08 15:04:45.000000000","message":"Adapted, but I think we should have a folder instead of files. We\u0027ll see in the implementation that will follow.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":103,"context_line":"* policy_files_distribution_folder"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"NB: Their name could be adapted later"},{"line_number":106,"context_line":"(cf. implementation)"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Developer impact"},{"line_number":109,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_fec9115a","line":106,"updated":"2015-12-07 12:01:17.000000000","message":"I\u0027m not sure what you mean here, but once a patch merges with the variable names in it they need to go through a deprecation cycle. I\u0027d rather agree up front.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"bbdf0ba2050758cd03b0d81f4d082b47f282609e","unresolved":false,"context_lines":[{"line_number":103,"context_line":"* policy_files_distribution_folder"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"NB: Their name could be adapted later"},{"line_number":106,"context_line":"(cf. implementation)"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":"Developer impact"},{"line_number":109,"context_line":"----------------"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_93375b4c","line":106,"in_reply_to":"7a740942_fec9115a","updated":"2015-12-08 15:04:45.000000000","message":"My whole point was to mention that these are implementation details (not the big picture).\n\nMaybe we should discuss the variable names in the implementation itself. \n\nOfc, if we agree with the spec\u0027s implementation details, it  avoids having further discussions and speeds up the process, which is nice too :D\n\nI agree that variable change need to go through a deprecation cycle.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"bf0d3546e834ab3be5c7e6731d1d0f0e6f738288","unresolved":false,"context_lines":[{"line_number":128,"context_line":""},{"line_number":129,"context_line":"1. group_var to define auto download"},{"line_number":130,"context_line":"2. playbook edition to download policies"},{"line_number":131,"context_line":"3. role edition to upload json files"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"Testing"}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_3e01d96a","line":131,"updated":"2015-12-07 12:01:17.000000000","message":"I think by \u0027edition\u0027 you mean \u0027addition\u0027, but the word \u0027changes\u0027 would also suffice.","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":12807,"name":"Steve Lewis (stevelle)","email":"stevelle@gmail.com","username":"stevelle"},"change_message_id":"80ad251a7cd7eb32f1c6fc95684cd378797583b2","unresolved":false,"context_lines":[{"line_number":169,"context_line":"References"},{"line_number":170,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":171,"context_line":""},{"line_number":172,"context_line":"Policy files url:"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"* keystone: https://github.com/openstack/keystone/blob/master/etc/policy.json"},{"line_number":175,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"7a740942_68f78359","line":172,"updated":"2015-12-07 23:46:04.000000000","message":"A citation for Horizon capturing the feature would be helpful","commit_id":"355bef91bdf41c889084d9ebc870ace999dc5409"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2f025426e44ba7e969f6b81e14672a2fb7a78c55","unresolved":false,"context_lines":[{"line_number":102,"context_line":""},{"line_number":103,"context_line":"* policy_file_distribution_enabled"},{"line_number":104,"context_line":"* policy_file_distribution_force_refresh"},{"line_number":105,"context_line":"* policy_files_distribution_files"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"NB: Their name could be adapted later"},{"line_number":108,"context_line":"(cf. implementation)"}],"source_content_type":"text/x-rst","patch_set":4,"id":"7a740942_2e70cadb","line":105,"updated":"2015-12-11 09:46:06.000000000","message":"As this is specifically for Horizon, I would recommend namespacing the variable with the \u0027horizon_\u0027 prefix. It may then also be simpler to simply leave out the \u0027file_\u0027/\u0027files_\u0027 bit, ie:\n\n  horizon_policy_distribution_enabled\n  horizon_policy_distribution_refresh\n  horizon_policy_distribution_files","commit_id":"36d3c9da5b5e4ddf646884a1f6c39c440646b69f"}]}
