)]}'
{"doc/source/upgrade-guide/upgrade-playbooks.rst":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"4add7d3c5a35772650b78e951970a0a26afaecb6","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"Update the MTU setting for networks within neutron. When migrating from Liberty to Mitaka"},{"line_number":112,"context_line":"neutron does not automatically set or migrate networks. Neutron has no migration to"},{"line_number":113,"context_line":"correctly set the MTU on existing networks created in liberty or below. This work-around"},{"line_number":114,"context_line":"sets the MTU on these networks before the upgrade starts so that instances booted on these"},{"line_number":115,"context_line":"networks after the upgrade has finished will have their MTUs set correctly."},{"line_number":116,"context_line":""}],"source_content_type":"text/x-rst","patch_set":7,"id":"fa6399be_23e60d15","line":113,"range":{"start_line":113,"start_character":54,"end_line":113,"end_character":55},"updated":"2016-10-14 18:11:38.000000000","message":"L","commit_id":"0eb59e329b1838a93900d25f4adc4263421cbdd7"}],"releasenotes/notes/neutron-mtu-migration-47bb099191d8c0e3.yaml":[{"author":{"_account_id":17068,"name":"Jean-Philippe Evrard","email":"openstack@a.spamming.party","username":"evrardjp"},"change_message_id":"4add7d3c5a35772650b78e951970a0a26afaecb6","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    set or migrate networks MTU settings. Neutron has no migration to"},{"line_number":5,"context_line":"    correctly set the MTU on existing networks so we\u0027ve created an OSA"},{"line_number":6,"context_line":"    MTU migration playbook to work-around this issue. The playbook will"},{"line_number":7,"context_line":"    set the MTU on networks craeted before the upgrade by iterating on"},{"line_number":8,"context_line":"    known values from the user_variables and facts. Should any known"},{"line_number":9,"context_line":"    network name be encountered the MTU will be set to the known value."},{"line_number":10,"context_line":"    If no MTU and no global override is present the playbook will"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"fa6399be_7c3a6e9a","line":7,"range":{"start_line":7,"start_character":30,"end_line":7,"end_character":32},"updated":"2016-10-14 18:11:38.000000000","message":"typo: created","commit_id":"0eb59e329b1838a93900d25f4adc4263421cbdd7"}],"scripts/upgrade-utilities/playbooks/neutron-mtu-migration.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"590617931ad1ca99eee6240fe49381c46ed55d67","unresolved":false,"context_lines":[{"line_number":26,"context_line":"      register: networks"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    - name: Create neutron MTU migration script"},{"line_number":29,"context_line":"      copy: "},{"line_number":30,"context_line":"        content: |"},{"line_number":31,"context_line":"          {% for item in networks.stdout_lines %}"},{"line_number":32,"context_line":"          {% set network_mtu \u003d [] %}"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"fa6399be_fff1b7ce","line":29,"updated":"2016-10-11 13:15:46.000000000","message":"nit: whitespace","commit_id":"a36f2cad999979ee13e851d5130393ed334ae7e8"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"83aae24620fa42f7f9579e75a119f9c9d04676d6","unresolved":false,"context_lines":[{"line_number":26,"context_line":"      register: networks"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    - name: Create neutron MTU migration script"},{"line_number":29,"context_line":"      copy: "},{"line_number":30,"context_line":"        content: |"},{"line_number":31,"context_line":"          {% for item in networks.stdout_lines %}"},{"line_number":32,"context_line":"          {% set network_mtu \u003d [] %}"}],"source_content_type":"text/x-yaml","patch_set":2,"id":"fa6399be_c4d178cf","line":29,"in_reply_to":"fa6399be_fff1b7ce","updated":"2016-10-11 17:45:55.000000000","message":"Done","commit_id":"a36f2cad999979ee13e851d5130393ed334ae7e8"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"e58b490a8b704d9dcfd667b397a6faa8add0b7d4","unresolved":false,"context_lines":[{"line_number":71,"context_line":"        dest: /tmp/neutron-mtu-script.sh"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    - name: Run neutron MTU migration script"},{"line_number":74,"context_line":"      command: /tmp/neutron-mtu-script.sh"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"fa6399be_21ba1b24","line":74,"updated":"2016-10-11 22:04:47.000000000","message":"This script will need to be executable; I tested this upgrade and it failed here with:\n\nfailed: [aio1_galera_container-fcaa984d] \u003d\u003e {\"cmd\": \"/tmp/neutron-mtu-script.sh\", \"failed\": true, \"rc\": 13}\n\nmsg: [Errno 13] Permission denied","commit_id":"3ad250e88694f0a71323199de194e478d2c5dd45"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"86899013daa65cbc9cba6332c9ddd7a83d33e912","unresolved":false,"context_lines":[{"line_number":70,"context_line":"          {%   endif %}"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"          {%-   if network_mtu %}"},{"line_number":73,"context_line":"          mysql -sNL --unbuffered -e \"UPDATE networks SET mtu\u003d{{ network_mtu[0] }} WHERE id\u003d\u0027{{ item.split(\u0027|\u0027)[0] }}\u0027;\" {{ neutron_galera_database | default(\u0027neutron\u0027) }}"},{"line_number":74,"context_line":"          {%   endif %}"},{"line_number":75,"context_line":"          {% endfor %}"},{"line_number":76,"context_line":"        dest: /tmp/neutron-mtu-script.sh"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"fa6399be_e574a89d","line":73,"updated":"2016-10-12 03:35:59.000000000","message":"Bjoern suggested this in another review -- I think it\u0027s worthwhile adding another WHERE clause that only updates if mtu\u003d0.  This will avoid the mtu being updated when it\u0027s already been done.  Thoughts?","commit_id":"6bd4fb4ddeba732cdb89283b84ea7e2f0b521794"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"d17e5a15df2ef254a1f5881ee35431f79bc06845","unresolved":false,"context_lines":[{"line_number":70,"context_line":"          {%   endif %}"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"          {%-   if network_mtu %}"},{"line_number":73,"context_line":"          mysql -sNL --unbuffered -e \"UPDATE networks SET mtu\u003d{{ network_mtu[0] }} WHERE id\u003d\u0027{{ item.split(\u0027|\u0027)[0] }}\u0027;\" {{ neutron_galera_database | default(\u0027neutron\u0027) }}"},{"line_number":74,"context_line":"          {%   endif %}"},{"line_number":75,"context_line":"          {% endfor %}"},{"line_number":76,"context_line":"        dest: /tmp/neutron-mtu-script.sh"}],"source_content_type":"text/x-yaml","patch_set":5,"id":"fa6399be_255940ff","line":73,"in_reply_to":"fa6399be_e574a89d","updated":"2016-10-12 03:45:52.000000000","message":"good idea. i\u0027ll get that in with the next pr.","commit_id":"6bd4fb4ddeba732cdb89283b84ea7e2f0b521794"},{"author":{"_account_id":538,"name":"Major Hayden","email":"major@mhtx.net","username":"rackerhacker"},"change_message_id":"027be382f69f5f63067365300edd0577be052b5b","unresolved":false,"context_lines":[{"line_number":25,"context_line":"              -e \"SELECT network_id, network_type, physical_network FROM ml2_network_segments WHERE network_type IN (\u0027vlan\u0027,\u0027flat\u0027,\u0027vxlan\u0027,\u0027gre\u0027) AND network_id IN (select id from networks where mtu\u003d0);\" {{ neutron_galera_database | default(\u0027neutron\u0027) }} | tr \"\\t\" \"|\""},{"line_number":26,"context_line":"      register: networks"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    - name: Create neutron MTU migration script"},{"line_number":29,"context_line":"      copy:"},{"line_number":30,"context_line":"        content: |"},{"line_number":31,"context_line":"          {% for item in networks.stdout_lines %}"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"fa6399be_67c15c2e","line":28,"updated":"2016-10-12 17:26:59.000000000","message":"Could we put this in a template file to make it easier to manage and read?","commit_id":"0eb59e329b1838a93900d25f4adc4263421cbdd7"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"bb0a88e625e86079954ecca6d38f43e93bd38077","unresolved":false,"context_lines":[{"line_number":25,"context_line":"              -e \"SELECT network_id, network_type, physical_network FROM ml2_network_segments WHERE network_type IN (\u0027vlan\u0027,\u0027flat\u0027,\u0027vxlan\u0027,\u0027gre\u0027) AND network_id IN (select id from networks where mtu\u003d0);\" {{ neutron_galera_database | default(\u0027neutron\u0027) }} | tr \"\\t\" \"|\""},{"line_number":26,"context_line":"      register: networks"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    - name: Create neutron MTU migration script"},{"line_number":29,"context_line":"      copy:"},{"line_number":30,"context_line":"        content: |"},{"line_number":31,"context_line":"          {% for item in networks.stdout_lines %}"}],"source_content_type":"text/x-yaml","patch_set":7,"id":"fa6399be_1843a143","line":28,"in_reply_to":"fa6399be_67c15c2e","updated":"2016-10-12 18:20:42.000000000","message":"While I could see it potentially improving the readability I don\u0027t see any other real benefit and I\u0027d like to keep upgrade playbooks as self contained.","commit_id":"0eb59e329b1838a93900d25f4adc4263421cbdd7"}]}
