)]}'
{"group_vars/all/all.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"76a77c71952622066dab026c13970317a3cdb2fe","unresolved":false,"context_lines":[{"line_number":29,"context_line":"# Set \"/var/log\" to be a bind mount to the physical host."},{"line_number":30,"context_line":"default_bind_mount_logs: true"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"# Set override to run in bulk instead of serial."},{"line_number":33,"context_line":"# NOTE(cloudnull): When set \"true\" OpenStack services that participate in"},{"line_number":34,"context_line":"#                  rolling upgrades will all run in bulk instead of serial."},{"line_number":35,"context_line":"os_force_bulk: false"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# Set distro variable"},{"line_number":38,"context_line":"# NOTE(hwoarang): ansible_distribution may return a string with spaces"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_eb3e9ed8","line":35,"range":{"start_line":32,"start_character":0,"end_line":35,"end_character":20},"updated":"2017-10-23 07:33:05.000000000","message":"I\u0027d rather remove that variable, and making it a user variable instead. We just need to document it in the upgrades docs.\n\nThis way we set a convention, instead of shipping code: We say it\u0027s by default not forcing bulks, but someone can manually override if need be.","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"52a0bfec4614708fbcc0da2bebf78ab9aa572095","unresolved":false,"context_lines":[{"line_number":29,"context_line":"# Set \"/var/log\" to be a bind mount to the physical host."},{"line_number":30,"context_line":"default_bind_mount_logs: true"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"# Set override to run in bulk instead of serial."},{"line_number":33,"context_line":"# NOTE(cloudnull): When set \"true\" OpenStack services that participate in"},{"line_number":34,"context_line":"#                  rolling upgrades will all run in bulk instead of serial."},{"line_number":35,"context_line":"os_force_bulk: false"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"# Set distro variable"},{"line_number":38,"context_line":"# NOTE(hwoarang): ansible_distribution may return a string with spaces"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_8cdbb6eb","line":35,"range":{"start_line":32,"start_character":0,"end_line":35,"end_character":20},"in_reply_to":"3f4b6375_eb3e9ed8","updated":"2017-10-23 16:07:54.000000000","message":"this is a user defined variable however it\u0027s been placed in a location that\u0027s world readable.","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"}],"playbooks/common-tasks/os-install-groups.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"76a77c71952622066dab026c13970317a3cdb2fe","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- name: test for OS condition"},{"line_number":17,"context_line":"  stat:"},{"line_number":18,"context_line":"    path: \"{{ os_condition_path }}\""},{"line_number":19,"context_line":"  register: p"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_e67373b0","line":16,"range":{"start_line":16,"start_character":8,"end_line":16,"end_character":29},"updated":"2017-10-23 07:33:05.000000000","message":"\"Test the presence of a directory proving the service is installed\"","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"76a77c71952622066dab026c13970317a3cdb2fe","unresolved":false,"context_lines":[{"line_number":16,"context_line":"- name: test for OS condition"},{"line_number":17,"context_line":"  stat:"},{"line_number":18,"context_line":"    path: \"{{ os_condition_path }}\""},{"line_number":19,"context_line":"  register: p"},{"line_number":20,"context_line":"  delegate_to: \"{{ outer_item }}\""},{"line_number":21,"context_line":"  when:"},{"line_number":22,"context_line":"    - not os_force_bulk | bool"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_469c87bf","line":19,"range":{"start_line":19,"start_character":12,"end_line":19,"end_character":13},"updated":"2017-10-23 07:33:05.000000000","message":"please use a different variable name to avoid possible overlap (unlikely, but advised).\n\nexample: _path_exists","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"52a0bfec4614708fbcc0da2bebf78ab9aa572095","unresolved":false,"context_lines":[{"line_number":16,"context_line":"- name: test for OS condition"},{"line_number":17,"context_line":"  stat:"},{"line_number":18,"context_line":"    path: \"{{ os_condition_path }}\""},{"line_number":19,"context_line":"  register: p"},{"line_number":20,"context_line":"  delegate_to: \"{{ outer_item }}\""},{"line_number":21,"context_line":"  when:"},{"line_number":22,"context_line":"    - not os_force_bulk | bool"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_6cd63ac6","line":19,"range":{"start_line":19,"start_character":12,"end_line":19,"end_character":13},"in_reply_to":"3f4b6375_469c87bf","updated":"2017-10-23 16:07:54.000000000","message":"Done","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"76a77c71952622066dab026c13970317a3cdb2fe","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  stat:"},{"line_number":18,"context_line":"    path: \"{{ os_condition_path }}\""},{"line_number":19,"context_line":"  register: p"},{"line_number":20,"context_line":"  delegate_to: \"{{ outer_item }}\""},{"line_number":21,"context_line":"  when:"},{"line_number":22,"context_line":"    - not os_force_bulk | bool"},{"line_number":23,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_46ea470f","line":20,"range":{"start_line":20,"start_character":19,"end_line":20,"end_character":29},"updated":"2017-10-23 07:33:05.000000000","message":"outer_item is not explicit. Make this explicit by using current_play_nodes or something like that.","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"52a0bfec4614708fbcc0da2bebf78ab9aa572095","unresolved":false,"context_lines":[{"line_number":17,"context_line":"  stat:"},{"line_number":18,"context_line":"    path: \"{{ os_condition_path }}\""},{"line_number":19,"context_line":"  register: p"},{"line_number":20,"context_line":"  delegate_to: \"{{ outer_item }}\""},{"line_number":21,"context_line":"  when:"},{"line_number":22,"context_line":"    - not os_force_bulk | bool"},{"line_number":23,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_cceace73","line":20,"range":{"start_line":20,"start_character":19,"end_line":20,"end_character":29},"in_reply_to":"3f4b6375_46ea470f","updated":"2017-10-23 16:07:54.000000000","message":"outer_item is defined in the loop control from the outer play calling this set of tasks. Do you think that should be redefined there?","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"08bb0770e4a3d5b3caf6aa4d58fce3af3d432f18","unresolved":false,"context_lines":[{"line_number":21,"context_line":"  when:"},{"line_number":22,"context_line":"    - not os_force_bulk | bool"},{"line_number":23,"context_line":"  tags:"},{"line_number":24,"context_line":"    - always"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Create focused group of hosts"},{"line_number":27,"context_line":"  add_host:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_88ff2933","line":24,"updated":"2017-10-23 11:10:33.000000000","message":"Instead of using the stat of a directory to figure out whether it\u0027s \"installed\" or not (which doesn\u0027t work quite right if an install failed some way through it), why not make use of the venv tag in facts instead. Just gather the ansible_local facts, then use them. It\u0027s a cheaper operation.\n\nIf the venv tag does not exist - then assume it\u0027s a new install. If it\u0027s the same, assume it\u0027s a config change only. If it\u0027s different, then assume it\u0027s an upgrade.","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"52a0bfec4614708fbcc0da2bebf78ab9aa572095","unresolved":false,"context_lines":[{"line_number":21,"context_line":"  when:"},{"line_number":22,"context_line":"    - not os_force_bulk | bool"},{"line_number":23,"context_line":"  tags:"},{"line_number":24,"context_line":"    - always"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"- name: Create focused group of hosts"},{"line_number":27,"context_line":"  add_host:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_4277c503","line":24,"in_reply_to":"3f4b6375_88ff2933","updated":"2017-10-23 16:07:54.000000000","message":"it looks like the fact refresh required to be able to ensure we\u0027ve the local facts to do the venv_tag lookup is more expensive than stating the directory and I fear the hostvar lookup would worse in a real, large scale cloud.\n\ntest with stat - http://paste.openstack.org/show/624383/\ntest with local facts - http://paste.openstack.org/show/624386/\n\nI could however stat the venv path if you think that\u0027d be better?","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"}],"playbooks/os-cinder-install.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"76a77c71952622066dab026c13970317a3cdb2fe","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  tasks:"},{"line_number":65,"context_line":"    - meta: refresh_inventory"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    - include: common-tasks/os-install-groups.yml"},{"line_number":68,"context_line":"      loop_control:"},{"line_number":69,"context_line":"        loop_var: outer_item"},{"line_number":70,"context_line":"      with_inventory_hostnames:"},{"line_number":71,"context_line":"        - \"cinder_api:!cinder_all_bulk\""},{"line_number":72,"context_line":"      vars:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_e6125309","line":69,"range":{"start_line":67,"start_character":15,"end_line":69,"end_character":28},"updated":"2017-10-23 07:33:05.000000000","message":"all of that is not really explicit.\n\nThe idea is that we shouldn\u0027t have to read it to understand what it does.\nThis is not the case, not because of code, but because of english words.\n\nRenaming would be great here.\n\ncommon-tasks/define_target_nodes (select_target_nodes) or whatever seems already more explicit. \n\nAnd outer_item could be: matching_inventory_hostname or something like that.","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"52a0bfec4614708fbcc0da2bebf78ab9aa572095","unresolved":false,"context_lines":[{"line_number":64,"context_line":"  tasks:"},{"line_number":65,"context_line":"    - meta: refresh_inventory"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    - include: common-tasks/os-install-groups.yml"},{"line_number":68,"context_line":"      loop_control:"},{"line_number":69,"context_line":"        loop_var: outer_item"},{"line_number":70,"context_line":"      with_inventory_hostnames:"},{"line_number":71,"context_line":"        - \"cinder_api:!cinder_all_bulk\""},{"line_number":72,"context_line":"      vars:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_a2d439be","line":69,"range":{"start_line":67,"start_character":15,"end_line":69,"end_character":28},"in_reply_to":"3f4b6375_e6125309","updated":"2017-10-23 16:07:54.000000000","message":"Done","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"}],"playbooks/os-glance-install.yml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"76a77c71952622066dab026c13970317a3cdb2fe","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  user: root"},{"line_number":64,"context_line":"  environment: \"{{ deployment_environment_variables | default({}) }}\""},{"line_number":65,"context_line":"  tasks:"},{"line_number":66,"context_line":"    - meta: refresh_inventory"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    - include: common-tasks/os-install-groups.yml"},{"line_number":69,"context_line":"      loop_control:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_46d48720","line":66,"range":{"start_line":66,"start_character":6,"end_line":66,"end_character":29},"updated":"2017-10-23 07:33:05.000000000","message":"nit: Why do you force a refresh of the inventory? It\u0027s an expensive operation, and I don\u0027t think it has much point, because we don\u0027t reuse previously define dynamic (live) groups?\n\nI mean it cleans up the inventory, it\u0027s good, but at the expense of reloading it. Tradeoffs I guess.","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"52a0bfec4614708fbcc0da2bebf78ab9aa572095","unresolved":false,"context_lines":[{"line_number":63,"context_line":"  user: root"},{"line_number":64,"context_line":"  environment: \"{{ deployment_environment_variables | default({}) }}\""},{"line_number":65,"context_line":"  tasks:"},{"line_number":66,"context_line":"    - meta: refresh_inventory"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"    - include: common-tasks/os-install-groups.yml"},{"line_number":69,"context_line":"      loop_control:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"3f4b6375_e21d9173","line":66,"range":{"start_line":66,"start_character":6,"end_line":66,"end_character":29},"in_reply_to":"3f4b6375_46d48720","updated":"2017-10-23 16:07:54.000000000","message":"the refresh seems to be able to run in less than a second and ensures a clean when generating the dynamic groups however I can pull this out if we think it best.\n\nhttp://paste.openstack.org/show/624388/","commit_id":"8d57ab308e7db250efb3c02fc318a0435a093690"}]}
