)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c84ae9232a922be2158165612912117a2869c420","unresolved":false,"context_lines":[{"line_number":11,"context_line":"new variables, playbooks can safely restart individual services, then"},{"line_number":12,"context_line":"run the database migrations once every node is updated to avoid data"},{"line_number":13,"context_line":"corruption."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: I064f59d9e3550b22de12ebf5595979ff24d90849"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"7f231b9d_1b4e63c0","line":14,"updated":"2017-06-18 15:12:46.000000000","message":"For easier review, please link https://docs.openstack.org/developer/glance/rollingupgrades.html as the source for the process.","commit_id":"08e231e788fd5970f5248d6bff9a7cbf24bdcda8"}],"tasks/glance_db_setup.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"c84ae9232a922be2158165612912117a2869c420","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: Perform a Glance DB sync"},{"line_number":17,"context_line":"  command: \"{{ glance_bin }}/glance-manage db_sync\""},{"line_number":18,"context_line":"  become: yes"},{"line_number":19,"context_line":"  become_user: \"{{ glance_system_user_name }}\""},{"line_number":20,"context_line":"  when:"},{"line_number":21,"context_line":"      - \"ansible_local[\u0027openstack_ansible\u0027][\u0027glance\u0027][\u0027need_db_sync\u0027] | bool\""},{"line_number":22,"context_line":"  changed_when: false"},{"line_number":23,"context_line":"  register: dbsync"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- name: Disable the db sync requirement"},{"line_number":26,"context_line":"  ini_file:"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"7f231b9d_3b535f6d","line":23,"range":{"start_line":16,"start_character":0,"end_line":23,"end_character":18},"updated":"2017-06-18 15:12:46.000000000","message":"The problem here is you\u0027re trying to use both the old style and new style. The rolling upgrade mechanism uses only the expand, migrate, contract steps. db_sync does it all in one go.","commit_id":"08e231e788fd5970f5248d6bff9a7cbf24bdcda8"}],"tasks/glance_install.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"511986901930df36fcd2aecbb0b16affecf45b75","unresolved":false,"context_lines":[{"line_number":115,"context_line":"    virtualenv-tools --update-path\u003dauto --reinitialize {{ glance_bin | dirname }}"},{"line_number":116,"context_line":"  when: glance_get_venv | changed"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"- name: Record the need for a db sync"},{"line_number":119,"context_line":"  ini_file:"},{"line_number":120,"context_line":"    dest: \"/etc/ansible/facts.d/openstack_ansible.fact\""},{"line_number":121,"context_line":"    section: glance"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"7f231b9d_9bcf1328","line":118,"updated":"2017-06-18 15:15:02.000000000","message":"Use a with_items loop instead for these to be more code efficient. See https://review.openstack.org/475115 for an example.","commit_id":"08e231e788fd5970f5248d6bff9a7cbf24bdcda8"}]}
