)]}'
{"defaults/main.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"5fba72e7e2f99683fccf3689acca527045f79e5d","unresolved":false,"context_lines":[{"line_number":40,"context_line":"calico_git_install_branch: stable/ocata"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"networking_calico_git_repo: https://git.openstack.org/openstack/networking-calico"},{"line_number":43,"context_line":"networking_calico_git_install_branch: stable/ocata"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"dragonflow_git_repo: https://git.openstack.org/openstack/dragonflow"},{"line_number":46,"context_line":"dragonflow_git_install_branch: stable/ocata"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_e4f97480","side":"PARENT","line":43,"range":{"start_line":43,"start_character":38,"end_line":43,"end_character":50},"updated":"2017-06-30 13:00:50.000000000","message":"There is no such branch - that\u0027s why the test is failing. This will need to be \u0027master\u0027.","commit_id":"b6abac13ea2c9610ff92a0008ff2062e6dfde42b"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"c73cbba2e8fd32cf4dfbbf231fa6e10ca2ad7fc2","unresolved":false,"context_lines":[{"line_number":40,"context_line":"calico_git_install_branch: stable/ocata"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"networking_calico_git_repo: https://git.openstack.org/openstack/networking-calico"},{"line_number":43,"context_line":"networking_calico_git_install_branch: stable/ocata"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"dragonflow_git_repo: https://git.openstack.org/openstack/dragonflow"},{"line_number":46,"context_line":"dragonflow_git_install_branch: stable/ocata"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_9b9fb64f","side":"PARENT","line":43,"range":{"start_line":43,"start_character":38,"end_line":43,"end_character":50},"in_reply_to":"3f1d235d_e4f97480","updated":"2017-06-30 17:22:55.000000000","message":"Done","commit_id":"b6abac13ea2c9610ff92a0008ff2062e6dfde42b"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"86db68c69dbe00df2a9949b037a6729e7406e75c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"calico_git_install_branch: stable/ocata"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"networking_calico_git_repo: https://git.openstack.org/openstack/networking-calico"},{"line_number":43,"context_line":"networking_calico_git_install_branch: stable/ocata"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"dragonflow_git_repo: https://git.openstack.org/openstack/dragonflow"},{"line_number":46,"context_line":"dragonflow_git_install_branch: stable/ocata"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_441948d5","side":"PARENT","line":43,"range":{"start_line":43,"start_character":38,"end_line":43,"end_character":50},"in_reply_to":"3f1d235d_e4f97480","updated":"2017-06-30 13:03:32.000000000","message":"Oh right, will fix. Thanks","commit_id":"b6abac13ea2c9610ff92a0008ff2062e6dfde42b"}],"tests/test-calico-functional.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a6b083d7de83fe1b95dea04513aaf230144719d3","unresolved":false,"context_lines":[{"line_number":27,"context_line":"      command: openstack --os-cloud default network agent list -f json"},{"line_number":28,"context_line":"      register: calico_felix_agent"},{"line_number":29,"context_line":"      until: |-"},{"line_number":30,"context_line":"        ansible_nodename in (calico_felix_agent.stdout"},{"line_number":31,"context_line":"                            | from_json"},{"line_number":32,"context_line":"                            | selectattr(\u0027Binary\u0027, \u0027equalto\u0027, \u0027calico-felix\u0027)"},{"line_number":33,"context_line":"                            | map(attribute\u003d\u0027Host\u0027) | list)"},{"line_number":34,"context_line":"      retries: 5"},{"line_number":35,"context_line":"      delay: 10"},{"line_number":36,"context_line":"      with_items: \"{{ ansible_play_hosts }}\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_f0dc9275","line":33,"range":{"start_line":30,"start_character":0,"end_line":33,"end_character":59},"updated":"2017-06-30 10:43:55.000000000","message":"nit:\n\nWhile this works, you can make the openstack client do all this work for you. See https://github.com/openstack/openstack-ansible-os_nova/blob/master/handlers/main.yml#L67-L72\n\nIt\u0027s a lot easier to read that way.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"af4756806b21c93a9bb19e9a76c621a72351e4e2","unresolved":false,"context_lines":[{"line_number":27,"context_line":"      command: openstack --os-cloud default network agent list -f json"},{"line_number":28,"context_line":"      register: calico_felix_agent"},{"line_number":29,"context_line":"      until: |-"},{"line_number":30,"context_line":"        ansible_nodename in (calico_felix_agent.stdout"},{"line_number":31,"context_line":"                            | from_json"},{"line_number":32,"context_line":"                            | selectattr(\u0027Binary\u0027, \u0027equalto\u0027, \u0027calico-felix\u0027)"},{"line_number":33,"context_line":"                            | map(attribute\u003d\u0027Host\u0027) | list)"},{"line_number":34,"context_line":"      retries: 5"},{"line_number":35,"context_line":"      delay: 10"},{"line_number":36,"context_line":"      with_items: \"{{ ansible_play_hosts }}\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_e4cf347d","line":33,"range":{"start_line":30,"start_character":0,"end_line":33,"end_character":59},"in_reply_to":"3f1d235d_442dc893","updated":"2017-06-30 12:55:56.000000000","message":"Ah, we love inconsistencies in implementations from our upstream projects. They really make our fridays shine.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"bdd475229721d830e9c18925a848dc3d3e637568","unresolved":false,"context_lines":[{"line_number":27,"context_line":"      command: openstack --os-cloud default network agent list -f json"},{"line_number":28,"context_line":"      register: calico_felix_agent"},{"line_number":29,"context_line":"      until: |-"},{"line_number":30,"context_line":"        ansible_nodename in (calico_felix_agent.stdout"},{"line_number":31,"context_line":"                            | from_json"},{"line_number":32,"context_line":"                            | selectattr(\u0027Binary\u0027, \u0027equalto\u0027, \u0027calico-felix\u0027)"},{"line_number":33,"context_line":"                            | map(attribute\u003d\u0027Host\u0027) | list)"},{"line_number":34,"context_line":"      retries: 5"},{"line_number":35,"context_line":"      delay: 10"},{"line_number":36,"context_line":"      with_items: \"{{ ansible_play_hosts }}\""}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_442dc893","line":33,"range":{"start_line":30,"start_character":0,"end_line":33,"end_character":59},"in_reply_to":"3f1d235d_f0dc9275","updated":"2017-06-30 12:50:55.000000000","message":"Thats awesome but it won\u0027t work here.\n\nhttps://gist.github.com/Logan2211/80209d3b7b390fde0946eb9572816716\n\nNo way to do the filtering like with \"--service\" on nova, so id still have to pull in json and filter it with the until. Still happy to have learned this for next time I need one of these so thank you for the comment anyway :)","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"}],"vars/main.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"a6b083d7de83fe1b95dea04513aaf230144719d3","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  {% endif %}"},{"line_number":37,"context_line":"  {{ packages }}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Set the Calico Felix agent URL information"},{"line_number":40,"context_line":"calico_felix_url: \"https://github.com/projectcalico/felix/releases/download/{{ calico_felix_version }}/calico-felix\""},{"line_number":41,"context_line":"calico_felix_version: 2.3.0"},{"line_number":42,"context_line":"calico_felix_sha256: 6cc538d6d93d2b5e732841769f427ce61a4e7d9a6eedf4ca8d33c4df42cf6419"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_9051dedb","line":39,"updated":"2017-06-30 10:43:55.000000000","message":"Is this put here to reduce the possibility of overriding these vars? If they are meant to be overridable, then rather add them to defaults/main.yml - but if you feel that they are more like internal vars then leave them here.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"c959d69ce5b647acbce8ccc2ee0d83fec7c62764","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  {% endif %}"},{"line_number":37,"context_line":"  {{ packages }}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Set the Calico Felix agent URL information"},{"line_number":40,"context_line":"calico_felix_url: \"https://github.com/projectcalico/felix/releases/download/{{ calico_felix_version }}/calico-felix\""},{"line_number":41,"context_line":"calico_felix_version: 2.3.0"},{"line_number":42,"context_line":"calico_felix_sha256: 6cc538d6d93d2b5e732841769f427ce61a4e7d9a6eedf4ca8d33c4df42cf6419"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_5176a5a6","line":39,"in_reply_to":"3f1d235d_3f7bf58c","updated":"2017-06-30 13:48:12.000000000","message":"I just realized my point about the distro packages doesn\u0027t really apply here because those have to be in vars due to distro-specific reasons.\n\nMy thinking is that the vars sourcing Calico belong in vars since that is where we place the pip packages lists.\n\nMaybe that\u0027s wrong? Should I place the _url, _version, _sha256, and _validate_certs in defaults/main and leave _bin here?","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"f93d0e62b1c5419844851611a31e41775fe930b7","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  {% endif %}"},{"line_number":37,"context_line":"  {{ packages }}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Set the Calico Felix agent URL information"},{"line_number":40,"context_line":"calico_felix_url: \"https://github.com/projectcalico/felix/releases/download/{{ calico_felix_version }}/calico-felix\""},{"line_number":41,"context_line":"calico_felix_version: 2.3.0"},{"line_number":42,"context_line":"calico_felix_sha256: 6cc538d6d93d2b5e732841769f427ce61a4e7d9a6eedf4ca8d33c4df42cf6419"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_11ccadba","line":39,"in_reply_to":"3f1d235d_3f7bf58c","updated":"2017-06-30 13:51:47.000000000","message":"Yep, this was a change in pattern proposed but obviously it didn\u0027t get enough exposure. We do need to strike a balance between flexibility and exposure - for developers and deployers. I would fully support a proposal to shift whatever vars entries you deem necessary back to defaults and would enjoy the review process to hopefully settle on a final pattern which we can move other roles towards.\n\nWith regards to the below vars - agreed, I think they\u0027re a good fit for defaults.\n\nWhat I don\u0027t think is a good fit is, for example, the neutron_packages_list above. It\u0027s an internal calculation based on other vars which can be overridden and the purpose is specifically to optimise the install process. If we want to change it, we should be able to without having to be concerned about notifying deployers. It\u0027s similar to the below filtered_neutron_services var.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"ca8623213ce47fc213463ed005a69e3efb141332","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  {% endif %}"},{"line_number":37,"context_line":"  {{ packages }}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Set the Calico Felix agent URL information"},{"line_number":40,"context_line":"calico_felix_url: \"https://github.com/projectcalico/felix/releases/download/{{ calico_felix_version }}/calico-felix\""},{"line_number":41,"context_line":"calico_felix_version: 2.3.0"},{"line_number":42,"context_line":"calico_felix_sha256: 6cc538d6d93d2b5e732841769f427ce61a4e7d9a6eedf4ca8d33c4df42cf6419"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_d173d57f","line":39,"in_reply_to":"3f1d235d_5176a5a6","updated":"2017-06-30 13:53:51.000000000","message":"Yeah, moving all the vars except _bin seems to make sense to me. The _bin var value is kinda fixed and shouldn\u0027t be changed lightly. The others are important to be able to override.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"a6147923db56bf94e2d1c3236ce0a0a4490c0237","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  {% endif %}"},{"line_number":37,"context_line":"  {{ packages }}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Set the Calico Felix agent URL information"},{"line_number":40,"context_line":"calico_felix_url: \"https://github.com/projectcalico/felix/releases/download/{{ calico_felix_version }}/calico-felix\""},{"line_number":41,"context_line":"calico_felix_version: 2.3.0"},{"line_number":42,"context_line":"calico_felix_sha256: 6cc538d6d93d2b5e732841769f427ce61a4e7d9a6eedf4ca8d33c4df42cf6419"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_3f7bf58c","line":39,"in_reply_to":"3f1d235d_8418801d","updated":"2017-06-30 13:17:40.000000000","message":"If the assumption is that people don\u0027t need to, shouldn\u0027t, or don\u0027t override packages lists, that\u0027s wrong in my experience.\n\nI regularly tear out unnecessary packages based on features or drivers I am not using my environment. This is the list of package overrides I\u0027m carrying for newton:\nhttps://gist.github.com/Logan2211/d73b40d24793fb86402c130ebf596558\n\nMy intent was to begin moving these overrides into group_vars for Ocata, but I\u0027m going to hold off on that now because the Pike pattern proposed will force me to move them back up to user_* files.\n\nI\u0027m wholesale opposed to the pattern and I think all of these vars should be in defaults. The only one that I would consider as potentially vars/main material is the _bin parameter where the felix agent executable is deployed on the host. The upstream source is something I feel should be easily overridable. I don\u0027t want to introduce upgrade impact from Ocata to Pike to make that a reality for one release on these new vars before ripping it out from under folks.\n\nFor the immediate couple of vars below, my point is that there\u0027s nothing special about them, and they should follow the same pattern we\u0027re using for other package deployments. So they\u0027re in vars for that reason. I will override them anyway, just like I do with package vars.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"cd808fd128e4ff442c3499387a35a4b0be794b24","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  {% endif %}"},{"line_number":37,"context_line":"  {{ packages }}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Set the Calico Felix agent URL information"},{"line_number":40,"context_line":"calico_felix_url: \"https://github.com/projectcalico/felix/releases/download/{{ calico_felix_version }}/calico-felix\""},{"line_number":41,"context_line":"calico_felix_version: 2.3.0"},{"line_number":42,"context_line":"calico_felix_sha256: 6cc538d6d93d2b5e732841769f427ce61a4e7d9a6eedf4ca8d33c4df42cf6419"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_8418801d","line":39,"in_reply_to":"3f1d235d_84e3e033","updated":"2017-06-30 12:55:17.000000000","message":"OK, I guess the implementation wasn\u0027t quite clear.\n\nvars/main is where we put internal vars or things we would prefer people do not override because doing so may cause them to break things in unexpected ways. That\u0027s why there are package lists here that we do not expect people to change or ever need to change.\n\nvars/main therefore becomes a place we can put vars and change them which do not need deprecation, because they\u0027re internal. This contrasts with defaults/main which is like a public API - exposed as documentation for things that can be changed are are expected to be changed.\n\nThe pattern is meant to be applied across all roles, but I don\u0027t think JP has found the time to execute that just yet.\n\nSo, considering the above, I think you may wish to have all or some of these vars in defaults, rather than vars. I would appreciate it if you could comment them to explain their purpose.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"},{"author":{"_account_id":17799,"name":"Logan V","email":"logan2211@gmail.com","username":"Logan2211"},"change_message_id":"bdd475229721d830e9c18925a848dc3d3e637568","unresolved":false,"context_lines":[{"line_number":36,"context_line":"  {% endif %}"},{"line_number":37,"context_line":"  {{ packages }}"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"# Set the Calico Felix agent URL information"},{"line_number":40,"context_line":"calico_felix_url: \"https://github.com/projectcalico/felix/releases/download/{{ calico_felix_version }}/calico-felix\""},{"line_number":41,"context_line":"calico_felix_version: 2.3.0"},{"line_number":42,"context_line":"calico_felix_sha256: 6cc538d6d93d2b5e732841769f427ce61a4e7d9a6eedf4ca8d33c4df42cf6419"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"3f1d235d_84e3e033","line":39,"in_reply_to":"3f1d235d_9051dedb","updated":"2017-06-30 12:50:55.000000000","message":"Honestly im not a big fan of putting all of the packages in vars, because I regularly override them. But thats how the current state of master is-- all of the packages lists are now in vars/main. I had a choice when backporting this to match the old convention by importing these new vars to defaults/main, or match the new convention in master by placing them in vars/main. I chose the latter because these are new vars and it didn\u0027t seem to make sense for anyone who might try to override this (I will be for sure) to deal with an extra precedence switch between Ocata and master, when it can be completely avoided by doing it like this.\n\nBut I am of the mind we should move the packages back to defaults/main in master, and if we do that it should be backported to Ocata for these vars. The impact in that change is minimal since the precedence switch actually gains you more flexibility (the ability to override these in group_vars), not a loss of flexibility like defaults-\u003evars changes.","commit_id":"63c85e1f6ec7f2eb7e2704609d727a22307040cf"}]}
