)]}'
{"playbooks/roles/os_glance/tasks/glance_install.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"a4353c78224cb9d2735ef4a3f884e01c694385b4","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  with_items:"},{"line_number":50,"context_line":"    - \"{{ glance_pip_packages }}\""},{"line_number":51,"context_line":"  tags:"},{"line_number":52,"context_line":"    - glance-install"},{"line_number":53,"context_line":"    - glance-pip-packages"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_77ba4825","side":"PARENT","line":52,"updated":"2015-10-14 14:03:33.000000000","message":"Did you mean to remove this tag?  Wouldn\u0027t it be helpful to have this tag present for each task in this file?","commit_id":"611958e01e51451c8ce99b9003fd4e9c1a365fa7"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"24fb0074fc99f076b560f71f97d36a18c33e3aac","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  with_items:"},{"line_number":50,"context_line":"    - \"{{ glance_pip_packages }}\""},{"line_number":51,"context_line":"  tags:"},{"line_number":52,"context_line":"    - glance-install"},{"line_number":53,"context_line":"    - glance-pip-packages"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_9c19447c","side":"PARENT","line":52,"in_reply_to":"5a2ca52d_721b361c","updated":"2015-10-14 15:21:53.000000000","message":"I\u0027ll leave it up to you, but glance-install only installs glance_apt_packages, which doesn\u0027t result in installing glance.  The tag in isolation seems pointless.","commit_id":"611958e01e51451c8ce99b9003fd4e9c1a365fa7"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b092cb970385aa3f63ab38b1ce6e148760bf3ef2","unresolved":false,"context_lines":[{"line_number":49,"context_line":"  with_items:"},{"line_number":50,"context_line":"    - \"{{ glance_pip_packages }}\""},{"line_number":51,"context_line":"  tags:"},{"line_number":52,"context_line":"    - glance-install"},{"line_number":53,"context_line":"    - glance-pip-packages"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_721b361c","side":"PARENT","line":52,"in_reply_to":"5a2ca52d_77ba4825","updated":"2015-10-14 14:44:46.000000000","message":"Yes this was removed intentionally. That said, I can add it back if you think its best.","commit_id":"611958e01e51451c8ce99b9003fd4e9c1a365fa7"}],"playbooks/roles/os_glance/tasks/glance_post_install.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"f759fcea82fa3091d6773883a95e0f14a1faf528","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    - glance-nfs-local-path"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"- name: Get glance command path"},{"line_number":98,"context_line":"  command: which glance"},{"line_number":99,"context_line":"  register: glance_command_path"},{"line_number":100,"context_line":"  when:"},{"line_number":101,"context_line":"    - not glance_venv_enabled | bool"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_cc3dcfbc","line":98,"updated":"2015-10-14 13:58:24.000000000","message":"Is there ever a time where this won\u0027t be /usr/local/bin?","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"24fb0074fc99f076b560f71f97d36a18c33e3aac","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    - glance-nfs-local-path"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"- name: Get glance command path"},{"line_number":98,"context_line":"  command: which glance"},{"line_number":99,"context_line":"  register: glance_command_path"},{"line_number":100,"context_line":"  when:"},{"line_number":101,"context_line":"    - not glance_venv_enabled | bool"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_fc571800","line":98,"in_reply_to":"5a2ca52d_b296ae4a","updated":"2015-10-14 15:21:53.000000000","message":"There\u0027s no way to override PYTHON_PATH in a container, so not sure this is necessary but it certainly does not harm.","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b092cb970385aa3f63ab38b1ce6e148760bf3ef2","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    - glance-nfs-local-path"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"- name: Get glance command path"},{"line_number":98,"context_line":"  command: which glance"},{"line_number":99,"context_line":"  register: glance_command_path"},{"line_number":100,"context_line":"  when:"},{"line_number":101,"context_line":"    - not glance_venv_enabled | bool"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_b296ae4a","line":98,"in_reply_to":"5a2ca52d_cc3dcfbc","updated":"2015-10-14 14:44:46.000000000","message":"Yes this can be /usr/bin or something else which is based on the PYTHON_PATH variable.","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"240a5989f8c79ca61694e92faad2d121fc938f08","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    - glance-nfs-local-path"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"- name: Get glance command path"},{"line_number":98,"context_line":"  command: which glance"},{"line_number":99,"context_line":"  register: glance_command_path"},{"line_number":100,"context_line":"  when:"},{"line_number":101,"context_line":"    - not glance_venv_enabled | bool"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_158427d2","line":98,"in_reply_to":"5a2ca52d_fc571800","updated":"2015-10-14 16:36:35.000000000","message":"this is true when using the ubuntu image type but for future proofing the PYTHON_PATH variable may be different say in the case Debian, SUSE, RHEL, etc...","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"}],"playbooks/roles/os_glance/tasks/glance_pre_install.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"f759fcea82fa3091d6773883a95e0f14a1faf528","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    path: \"{{ item.path }}\""},{"line_number":59,"context_line":"    state: directory"},{"line_number":60,"context_line":"    owner: \"{{ item.owner|default(glance_system_user_name) }}\""},{"line_number":61,"context_line":"    group: \"{{ item.group|default(glance_system_group_name) }}\""},{"line_number":62,"context_line":"  with_items:"},{"line_number":63,"context_line":"    - { path: \"/openstack/venvs\", mode: \"0755\", owner: \"root\", group: \"root\" }"},{"line_number":64,"context_line":"    - { path: \"{{ glance_venv_bin }}\" }"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_2c89e326","line":61,"updated":"2015-10-14 13:58:24.000000000","message":"Minor nit, but I\u0027d default these to root.  None of this stuff needs to be owned by the glance user.","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"24fb0074fc99f076b560f71f97d36a18c33e3aac","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    path: \"{{ item.path }}\""},{"line_number":59,"context_line":"    state: directory"},{"line_number":60,"context_line":"    owner: \"{{ item.owner|default(glance_system_user_name) }}\""},{"line_number":61,"context_line":"    group: \"{{ item.group|default(glance_system_group_name) }}\""},{"line_number":62,"context_line":"  with_items:"},{"line_number":63,"context_line":"    - { path: \"/openstack/venvs\", mode: \"0755\", owner: \"root\", group: \"root\" }"},{"line_number":64,"context_line":"    - { path: \"{{ glance_venv_bin }}\" }"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_bc69a0c0","line":61,"in_reply_to":"5a2ca52d_09273465","updated":"2015-10-14 15:21:53.000000000","message":"Yep!  I\u0027d just have the whole lot owned by root:root personally.","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b092cb970385aa3f63ab38b1ce6e148760bf3ef2","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    path: \"{{ item.path }}\""},{"line_number":59,"context_line":"    state: directory"},{"line_number":60,"context_line":"    owner: \"{{ item.owner|default(glance_system_user_name) }}\""},{"line_number":61,"context_line":"    group: \"{{ item.group|default(glance_system_group_name) }}\""},{"line_number":62,"context_line":"  with_items:"},{"line_number":63,"context_line":"    - { path: \"/openstack/venvs\", mode: \"0755\", owner: \"root\", group: \"root\" }"},{"line_number":64,"context_line":"    - { path: \"{{ glance_venv_bin }}\" }"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_b2b1ce91","line":61,"in_reply_to":"5a2ca52d_2c89e326","updated":"2015-10-14 14:44:46.000000000","message":"This is fair, I added it as being owned by glance however i have no feeling on it either way. If we think it best we can remove that.","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"ac1666c678facff5ff6682f0064de1e69e06f859","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    path: \"{{ item.path }}\""},{"line_number":59,"context_line":"    state: directory"},{"line_number":60,"context_line":"    owner: \"{{ item.owner|default(glance_system_user_name) }}\""},{"line_number":61,"context_line":"    group: \"{{ item.group|default(glance_system_group_name) }}\""},{"line_number":62,"context_line":"  with_items:"},{"line_number":63,"context_line":"    - { path: \"/openstack/venvs\", mode: \"0755\", owner: \"root\", group: \"root\" }"},{"line_number":64,"context_line":"    - { path: \"{{ glance_venv_bin }}\" }"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_09273465","line":61,"in_reply_to":"5a2ca52d_b2b1ce91","updated":"2015-10-14 15:07:17.000000000","message":"for clarity sake, /openstack/venvs is root owned and \"{{ glance_venv_bin }}\" is glance owned at this point.","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"240a5989f8c79ca61694e92faad2d121fc938f08","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    path: \"{{ item.path }}\""},{"line_number":59,"context_line":"    state: directory"},{"line_number":60,"context_line":"    owner: \"{{ item.owner|default(glance_system_user_name) }}\""},{"line_number":61,"context_line":"    group: \"{{ item.group|default(glance_system_group_name) }}\""},{"line_number":62,"context_line":"  with_items:"},{"line_number":63,"context_line":"    - { path: \"/openstack/venvs\", mode: \"0755\", owner: \"root\", group: \"root\" }"},{"line_number":64,"context_line":"    - { path: \"{{ glance_venv_bin }}\" }"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"5a2ca52d_d56eaf2e","line":61,"in_reply_to":"5a2ca52d_bc69a0c0","updated":"2015-10-14 16:36:35.000000000","message":"Done","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"}],"playbooks/roles/os_glance/templates/glance-upstart-init.j2":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"f0169a4f0575f6b8c33ee18182f521fe383d60b5","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  chown {{ system_user }}:{{ system_group }} \"/var/lock/{{ program_name }}\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  {% if glance_venv_enabled | bool %}"},{"line_number":29,"context_line":"  . {{ glance_venv_bin }}/activate"},{"line_number":30,"context_line":"  {% endif %}"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"end script"}],"source_content_type":"text/x-jinja2","patch_set":11,"id":"5a2ca52d_978fe4cb","line":29,"updated":"2015-10-14 14:17:05.000000000","message":"Another minor nit -- the spacing w/ the content inside the if is off, presumably due to lstrip_blocks being enabled?  Can you move the if / endif to the beginning of the line?","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"f759fcea82fa3091d6773883a95e0f14a1faf528","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  chown {{ system_user }}:{{ system_group }} \"/var/lock/{{ program_name }}\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  {% if glance_venv_enabled | bool %}"},{"line_number":29,"context_line":"  . {{ glance_venv_bin }}/activate"},{"line_number":30,"context_line":"  {% endif %}"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"end script"}],"source_content_type":"text/x-jinja2","patch_set":11,"id":"5a2ca52d_4cf21f71","line":29,"updated":"2015-10-14 13:58:24.000000000","message":"Is this necessary?  Is having RUNBIN point at the venv bin not sufficient?","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"24fb0074fc99f076b560f71f97d36a18c33e3aac","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  chown {{ system_user }}:{{ system_group }} \"/var/lock/{{ program_name }}\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  {% if glance_venv_enabled | bool %}"},{"line_number":29,"context_line":"  . {{ glance_venv_bin }}/activate"},{"line_number":30,"context_line":"  {% endif %}"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"end script"}],"source_content_type":"text/x-jinja2","patch_set":11,"id":"5a2ca52d_dcab3cd5","line":29,"in_reply_to":"5a2ca52d_067de36d","updated":"2015-10-14 15:21:53.000000000","message":"Ok cool, better safe than sorry.  Can you fix the spacing issue so the script is rendered correctly?","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"b092cb970385aa3f63ab38b1ce6e148760bf3ef2","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  chown {{ system_user }}:{{ system_group }} \"/var/lock/{{ program_name }}\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  {% if glance_venv_enabled | bool %}"},{"line_number":29,"context_line":"  . {{ glance_venv_bin }}/activate"},{"line_number":30,"context_line":"  {% endif %}"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"end script"}],"source_content_type":"text/x-jinja2","patch_set":11,"id":"5a2ca52d_067de36d","line":29,"in_reply_to":"5a2ca52d_4cf21f71","updated":"2015-10-14 14:44:46.000000000","message":"This is more overkill to ensure the upstart run process in the venv and was more done as a backup mechanism. More to the point others have agreed that this may be the best way when dealing with upstart.\n\nRE: http://stackoverflow.com/questions/14823001/why-cant-upstart-run-source-bin-activate","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"240a5989f8c79ca61694e92faad2d121fc938f08","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  chown {{ system_user }}:{{ system_group }} \"/var/lock/{{ program_name }}\""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"  {% if glance_venv_enabled | bool %}"},{"line_number":29,"context_line":"  . {{ glance_venv_bin }}/activate"},{"line_number":30,"context_line":"  {% endif %}"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"end script"}],"source_content_type":"text/x-jinja2","patch_set":11,"id":"5a2ca52d_155bc788","line":29,"in_reply_to":"5a2ca52d_dcab3cd5","updated":"2015-10-14 16:36:35.000000000","message":"Done","commit_id":"5b5ede1b5546d0ebb77ee91a08268b04aaada750"}]}
