)]}'
{"doc/source/upgrade-guide/upgrade-playbooks.rst":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"df0f08dbb4400f9904316e98342e96a99bf8e498","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Sends \"flush_all\" to memcached with the help of nc."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"rfc1034_1035_cleanup.yml"},{"line_number":107,"context_line":"~~~~~~~~~~~~~~~~~~~~~~~~"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"This playbook ensures the OpenStack service databases for heat, nova, neutron,"}],"source_content_type":"text/x-rst","patch_set":5,"id":"fa7ab95a_461e5064","line":106,"updated":"2016-08-26 14:46:12.000000000","message":"Elsewhere the playbook is called \"rfc1034_1035-cleanup\" but here the hyphen is replaced with an underscore.","commit_id":"9def5c069d25702cc287aa8e31f1121ac24fb901"}],"scripts/upgrade-utilities/playbooks/rfc1034_1035-cleanup.yml":[{"author":{"_account_id":11268,"name":"Miguel Alex Cantu (alextricity25)","email":"miguel.can2@gmail.com","username":"elextro"},"change_message_id":"b3fa41a2ec36c78f7f889e9e8963f77bbf7a8363","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  tasks:"},{"line_number":31,"context_line":"    - name: Registering the cinder-volume information"},{"line_number":32,"context_line":"      shell: |"},{"line_number":33,"context_line":"      /bin/bash"},{"line_number":34,"context_line":"      . /openstack/venvs/cinder-{{openstack-version}}/bin/activate"},{"line_number":35,"context_line":"      cinder-manage service list \\"},{"line_number":36,"context_line":"        | awk \u0027/volume.*_container.*XXX/{print $2 }\u0027\\"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa7ab95a_ce7380b3","line":33,"range":{"start_line":33,"start_character":11,"end_line":33,"end_character":12},"updated":"2016-08-26 02:53:44.000000000","message":"Ansible complained about the indentation for me here.\nTry adding two spaces before /bin/bash and indenting the following lines appropriately","commit_id":"d70998461201411a8b5b1f89869c2c2d7248350d"},{"author":{"_account_id":11268,"name":"Miguel Alex Cantu (alextricity25)","email":"miguel.can2@gmail.com","username":"elextro"},"change_message_id":"b3fa41a2ec36c78f7f889e9e8963f77bbf7a8363","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    - name: Registering the cinder-volume information"},{"line_number":32,"context_line":"      shell: |"},{"line_number":33,"context_line":"      /bin/bash"},{"line_number":34,"context_line":"      . /openstack/venvs/cinder-{{openstack-version}}/bin/activate"},{"line_number":35,"context_line":"      cinder-manage service list \\"},{"line_number":36,"context_line":"        | awk \u0027/volume.*_container.*XXX/{print $2 }\u0027\\"},{"line_number":37,"context_line":"        | while IFS\u003d@ read cinderhost cinderbackend; do"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa7ab95a_ae31dcee","line":34,"updated":"2016-08-26 02:53:44.000000000","message":"s/openstack-version/openstack_release","commit_id":"d70998461201411a8b5b1f89869c2c2d7248350d"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"079b87386a26d24a23d4a731ae954c853d4e9c02","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    private: no"},{"line_number":25,"context_line":"  tasks:"},{"line_number":26,"context_line":"    - set_fact:"},{"line_number":27,"context_line":"        destroy: \"{{ ( destroy_ok | lower \u003d\u003d \u0027y\u0027 or destroy_ok | lower \u003d\u003d \u0027yes\u0027) | ternary(True,False) }}\""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"- name: Cleanup heat services through the database"},{"line_number":30,"context_line":"  hosts: galera_all[0]"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"fa7ab95a_5e68f1f5","line":27,"range":{"start_line":27,"start_character":8,"end_line":27,"end_character":15},"updated":"2016-08-26 10:00:31.000000000","message":"Worth renaming destroy_old_hostnames?","commit_id":"9def5c069d25702cc287aa8e31f1121ac24fb901"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2c57694565bf680bd49e2ba0bb2794757eed3ebc","unresolved":false,"context_lines":[{"line_number":24,"context_line":"    private: no"},{"line_number":25,"context_line":"  tasks:"},{"line_number":26,"context_line":"    - set_fact:"},{"line_number":27,"context_line":"        destroy: \"{{ ( destroy_ok | lower \u003d\u003d \u0027y\u0027 or destroy_ok | lower \u003d\u003d \u0027yes\u0027) | ternary(True,False) }}\""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"- name: Cleanup heat services through the database"},{"line_number":30,"context_line":"  hosts: galera_all[0]"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"fa7ab95a_72e244d7","line":27,"range":{"start_line":27,"start_character":8,"end_line":27,"end_character":15},"in_reply_to":"fa7ab95a_5e68f1f5","updated":"2016-08-26 10:57:32.000000000","message":"If you want to - as it\u0027s only used here it\u0027s not necessary.","commit_id":"9def5c069d25702cc287aa8e31f1121ac24fb901"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2c57694565bf680bd49e2ba0bb2794757eed3ebc","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    - name: Run database clean up for rfc1034/5"},{"line_number":34,"context_line":"      command: \u003e"},{"line_number":35,"context_line":"        mysql --verbose --unbuffered -e \"delete from {{ item.table }} where host like \u0027%\\_%\u0027;\" {{ item.database }}"},{"line_number":36,"context_line":"      with_items:"},{"line_number":37,"context_line":"        - { table: \"service\", database: \"heat\" }"},{"line_number":38,"context_line":"      when: destroy | bool"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"- name: Apply cinder changes with cinder-manage"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"fa7ab95a_529b80c9","line":37,"range":{"start_line":36,"start_character":0,"end_line":37,"end_character":48},"updated":"2016-08-26 10:57:32.000000000","message":"Only one item - so remove the with_items use.","commit_id":"9def5c069d25702cc287aa8e31f1121ac24fb901"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"2c57694565bf680bd49e2ba0bb2794757eed3ebc","unresolved":false,"context_lines":[{"line_number":43,"context_line":"  tasks:"},{"line_number":44,"context_line":"    - name: Move the cinder volumes running in containers to new hostnames"},{"line_number":45,"context_line":"      shell: |"},{"line_number":46,"context_line":"        /bin/bash"},{"line_number":47,"context_line":"        . /openstack/venvs/cinder-{{openstack_release}}/bin/activate"},{"line_number":48,"context_line":"        cinder-manage service list \\"},{"line_number":49,"context_line":"          | awk \u0027/volume.*_container.*XXX/{print $2 }\u0027\\"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"fa7ab95a_32efdce9","line":46,"range":{"start_line":46,"start_character":8,"end_line":46,"end_character":17},"updated":"2016-08-26 10:57:32.000000000","message":"Perhaps use the \u0027executable\u0027 option instead of executing bach in the shell?","commit_id":"9def5c069d25702cc287aa8e31f1121ac24fb901"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"f6496207f3acad0da03ae007bb054da920629cd6","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- hosts: all"},{"line_number":17,"context_line":"  connection: local"},{"line_number":18,"context_line":"  vars_prompt:"},{"line_number":19,"context_line":"    name: destroy_ok"},{"line_number":20,"context_line":"    prompt: |"},{"line_number":21,"context_line":"      \"The following actions are destructive and remove items from your"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"fa7ab95a_00934250","line":18,"updated":"2016-08-26 17:57:09.000000000","message":"Not sure if it\u0027s just me, but this prompt didn\u0027t work.  I think these need to be list entries as per http://docs.ansible.com/ansible/playbooks_prompts.html?","commit_id":"d1f73db7ddf30285d87133a0c1d92d22d74c08b3"},{"author":{"_account_id":11268,"name":"Miguel Alex Cantu (alextricity25)","email":"miguel.can2@gmail.com","username":"elextro"},"change_message_id":"af57f5efd0802e8860a5ae20240d089ba2757743","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- hosts: all"},{"line_number":17,"context_line":"  connection: local"},{"line_number":18,"context_line":"  vars_prompt:"},{"line_number":19,"context_line":"    name: destroy_ok"},{"line_number":20,"context_line":"    prompt: |"},{"line_number":21,"context_line":"      \"The following actions are destructive and remove items from your"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"fa7ab95a_81de716b","line":18,"in_reply_to":"fa7ab95a_00934250","updated":"2016-08-26 20:08:24.000000000","message":"Can confirm. The prompt acted strange, displaying just \"False ::\" at first, then the prompt message, then False: : again..and so on. I also wasn\u0027t able to input anything.","commit_id":"d1f73db7ddf30285d87133a0c1d92d22d74c08b3"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"90e7f8b3e88f4c4709aa3360f8dabb4d19424c48","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"- hosts: all"},{"line_number":17,"context_line":"  connection: local"},{"line_number":18,"context_line":"  vars_prompt:"},{"line_number":19,"context_line":"    name: destroy_ok"},{"line_number":20,"context_line":"    prompt: |"},{"line_number":21,"context_line":"      \"The following actions are destructive and remove items from your"}],"source_content_type":"text/x-yaml","patch_set":8,"id":"fa7ab95a_4459d7fd","line":18,"in_reply_to":"fa7ab95a_81de716b","updated":"2016-08-26 20:17:47.000000000","message":"Done","commit_id":"d1f73db7ddf30285d87133a0c1d92d22d74c08b3"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"d5c92296be1099f4f3709ac7b0527024b6d0d29a","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        database. Would you like to continue ? (yes/no)\""},{"line_number":23,"context_line":"      private: no"},{"line_number":24,"context_line":"      default: \"no\""},{"line_number":25,"context_line":"  tasks:"},{"line_number":26,"context_line":"    - set_fact:"},{"line_number":27,"context_line":"        destroy: \"{{ ( destroy_ok | lower \u003d\u003d \u0027y\u0027 or destroy_ok | lower \u003d\u003d \u0027yes\u0027) | ternary(True,False) }}\""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"- name: Cleanup heat services through the database"},{"line_number":30,"context_line":"  hosts: galera_all[0]"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"fa7ab95a_acb0a8de","line":27,"range":{"start_line":25,"start_character":0,"end_line":27,"end_character":106},"updated":"2016-09-01 12:20:25.000000000","message":"Could this be eliminated by making all the subsequent tasks use \u0027destroy_ok\u0027 as the var instead? That would mean that the answer could be any standard ansible boolean answer (y/n/yes/no/True/False/true/false)","commit_id":"0862bf5e6e86fc55834702e29f212c4689257d82"},{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"dbd1ed920abe60173065a88b6298a62de013104a","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        database. Would you like to continue ? (yes/no)\""},{"line_number":23,"context_line":"      private: no"},{"line_number":24,"context_line":"      default: \"no\""},{"line_number":25,"context_line":"  tasks:"},{"line_number":26,"context_line":"    - set_fact:"},{"line_number":27,"context_line":"        destroy: \"{{ ( destroy_ok | lower \u003d\u003d \u0027y\u0027 or destroy_ok | lower \u003d\u003d \u0027yes\u0027) | ternary(True,False) }}\""},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"- name: Cleanup heat services through the database"},{"line_number":30,"context_line":"  hosts: galera_all[0]"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"fa7ab95a_d3bf44fa","line":27,"range":{"start_line":25,"start_character":0,"end_line":27,"end_character":106},"in_reply_to":"fa7ab95a_acb0a8de","updated":"2016-09-01 13:49:14.000000000","message":"The variable isn\u0027t stored for next plays unless in a set_fact.\n\nBecause we are using | bool, we can just store destroy_ok value in destroy, it should work.","commit_id":"0862bf5e6e86fc55834702e29f212c4689257d82"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"d5c92296be1099f4f3709ac7b0527024b6d0d29a","unresolved":false,"context_lines":[{"line_number":30,"context_line":"  hosts: galera_all[0]"},{"line_number":31,"context_line":"  user: root"},{"line_number":32,"context_line":"  tasks:"},{"line_number":33,"context_line":"    - name: Run database clean up for rfc1034/5"},{"line_number":34,"context_line":"      command: \u003e"},{"line_number":35,"context_line":"        mysql --verbose --unbuffered -e \"delete from service where host like \u0027%\\_%\u0027;\" heat"},{"line_number":36,"context_line":"      when: destroy | bool"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"fa7ab95a_8ca4c4b9","line":33,"range":{"start_line":33,"start_character":12,"end_line":33,"end_character":24},"updated":"2016-09-01 12:20:25.000000000","message":"Maybe include the service name here. ie \u0027Run heat database...\u0027","commit_id":"0862bf5e6e86fc55834702e29f212c4689257d82"}]}
