)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"df00f7d113645eb808b68f5fd597dabe96bf9372","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add pre_test_grenade_hook"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The br-ex is not brought up by ODL, when devstack creates"},{"line_number":10,"context_line":"initial neutron networks, which end up in failure of tempest"},{"line_number":11,"context_line":"tests, due to floating ip inaccessibility. This adds the hook"},{"line_number":12,"context_line":"to bring the external bridge up, delete initial networks and"},{"line_number":13,"context_line":"re create at the end of stack.sh."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Id335dc34e00c0109efaf191c97c5306cd177ed4a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"ff82abbf_4c0aaed2","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":33},"updated":"2017-11-21 21:44:16.000000000","message":"This is workaround. so please describe it so clearly.","commit_id":"1ec90341bf2f0257595a58d48bbb6739d3fcabd1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"51b83dab3b0e4e1e5e2e653c57c1b72d867acc2a","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add pre_test_grenade_hook"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The br-ex is not brought up by ODL, when devstack creates"},{"line_number":10,"context_line":"initial neutron networks, which end up in failure of tempest"},{"line_number":11,"context_line":"tests, due to floating ip inaccessibility. This adds the hook"},{"line_number":12,"context_line":"to bring the external bridge up, delete initial networks and"},{"line_number":13,"context_line":"re create at the end of stack.sh."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Id335dc34e00c0109efaf191c97c5306cd177ed4a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"ff82abbf_477b678b","line":13,"range":{"start_line":9,"start_character":0,"end_line":13,"end_character":33},"in_reply_to":"ff82abbf_4c0aaed2","updated":"2017-11-21 22:28:45.000000000","message":"Done","commit_id":"1ec90341bf2f0257595a58d48bbb6739d3fcabd1"}],"devstack/functions":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"36440b2b277cf00404ec86120c7365561335e014","unresolved":false,"context_lines":[{"line_number":215,"context_line":"        return 1"},{"line_number":216,"context_line":"    fi"},{"line_number":217,"context_line":"}"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"function purge_and_recreate_initial_networks {"},{"line_number":220,"context_line":"   DEVSTACK_DIR\u003d$1"},{"line_number":221,"context_line":"   if [-z \"$DEVSTACK_DIR\" ]; then"}],"source_content_type":"application/x-shellscript","patch_set":17,"id":"ff82abbf_227651a6","line":218,"range":{"start_line":218,"start_character":0,"end_line":218,"end_character":0},"updated":"2017-11-21 23:12:50.000000000","message":"Please add comment such that this function is for workaround.\nIn longer term this function should be removed.","commit_id":"96d1cce79b9bbbb0c8e48df7cca966c08db9ed9f"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"8a2579d710b86f0fa134ac150e0b38db866d2cea","unresolved":false,"context_lines":[{"line_number":216,"context_line":"    fi"},{"line_number":217,"context_line":"}"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"function purge_and_recreate_initial_networks {"},{"line_number":220,"context_line":"    DEVSTACK_DIR\u003d$1"},{"line_number":221,"context_line":"    if [-z \"$DEVSTACK_DIR\" ]; then"},{"line_number":222,"context_line":"        echo \"Please specify devstack directory\""}],"source_content_type":"application/x-shellscript","patch_set":22,"id":"ff82abbf_3f072785","line":219,"range":{"start_line":219,"start_character":0,"end_line":219,"end_character":46},"updated":"2017-11-23 02:55:56.000000000","message":"Please add a comment that this is work around and to be removed.","commit_id":"6fe85ede918e2767ef5d6c3809cef5351354c192"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"37905f18d280c9fded15247439578bc9f9be2e73","unresolved":false,"context_lines":[{"line_number":216,"context_line":"    fi"},{"line_number":217,"context_line":"}"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"function purge_and_recreate_initial_networks {"},{"line_number":220,"context_line":"    DEVSTACK_DIR\u003d$1"},{"line_number":221,"context_line":"    if [-z \"$DEVSTACK_DIR\" ]; then"},{"line_number":222,"context_line":"        echo \"Please specify devstack directory\""}],"source_content_type":"application/x-shellscript","patch_set":22,"id":"ff82abbf_9c638842","line":219,"range":{"start_line":219,"start_character":0,"end_line":219,"end_character":46},"in_reply_to":"ff82abbf_0345d742","updated":"2017-11-28 04:43:06.000000000","message":"Done","commit_id":"6fe85ede918e2767ef5d6c3809cef5351354c192"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"d6946b39711ca842f8b7f3143d2a2d2c3a64f4e4","unresolved":false,"context_lines":[{"line_number":216,"context_line":"    fi"},{"line_number":217,"context_line":"}"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"function purge_and_recreate_initial_networks {"},{"line_number":220,"context_line":"    DEVSTACK_DIR\u003d$1"},{"line_number":221,"context_line":"    if [-z \"$DEVSTACK_DIR\" ]; then"},{"line_number":222,"context_line":"        echo \"Please specify devstack directory\""}],"source_content_type":"application/x-shellscript","patch_set":22,"id":"ff82abbf_d9ae4597","line":219,"range":{"start_line":219,"start_character":0,"end_line":219,"end_character":46},"in_reply_to":"ff82abbf_3f072785","updated":"2017-11-23 18:04:32.000000000","message":"actually there are already two comments where this is being used, I guess those are good enough to track ?","commit_id":"6fe85ede918e2767ef5d6c3809cef5351354c192"},{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"1c66da2403ec390c027b022e16fa519f4c7b0963","unresolved":false,"context_lines":[{"line_number":216,"context_line":"    fi"},{"line_number":217,"context_line":"}"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"function purge_and_recreate_initial_networks {"},{"line_number":220,"context_line":"    DEVSTACK_DIR\u003d$1"},{"line_number":221,"context_line":"    if [-z \"$DEVSTACK_DIR\" ]; then"},{"line_number":222,"context_line":"        echo \"Please specify devstack directory\""}],"source_content_type":"application/x-shellscript","patch_set":22,"id":"ff82abbf_0345d742","line":219,"range":{"start_line":219,"start_character":0,"end_line":219,"end_character":46},"in_reply_to":"ff82abbf_d9ae4597","updated":"2017-11-28 01:34:13.000000000","message":"No. please add the comment on the function to be deleted.\nWhen we delete caller, it\u0027s not obvious if this method can be deleted safely or not. the comment helps.","commit_id":"6fe85ede918e2767ef5d6c3809cef5351354c192"}],"devstack/upgrade/settings":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"df00f7d113645eb808b68f5fd597dabe96bf9372","unresolved":false,"context_lines":[{"line_number":26,"context_line":"            DEVSTACK_DIR\u003d/opt/stack/new/devstack"},{"line_number":27,"context_line":"        fi"},{"line_number":28,"context_line":"        cat \u003c\u003cEOF \u003e\u003e $DEVSTACK_DIR/local.sh"},{"line_number":29,"context_line":"#!/usr/bin/env bash"},{"line_number":30,"context_line":"sudo ifconfig br-ex 172.24.5.1/24 up"},{"line_number":31,"context_line":"source $TOP_DIR/openrc admin"},{"line_number":32,"context_line":"openstack router unset --external-gateway router1"},{"line_number":33,"context_line":"openstack port list --router router1 -c ID -f value | xargs -I {} openstack router remove port router1 {}"},{"line_number":34,"context_line":"openstack router delete router1"},{"line_number":35,"context_line":"openstack subnet list | grep -e public -e private | cut -f2 -d\u0027|\u0027 | xargs openstack subnet delete"},{"line_number":36,"context_line":"openstack network list | grep -e public -e private | cut -f2 -d\u0027|\u0027 | xargs openstack network delete"},{"line_number":37,"context_line":"openstack network create public --external --provider-network-type\u003dflat --provider-physical-network\u003dpublic"},{"line_number":38,"context_line":"openstack subnet create --network\u003dpublic --subnet-range\u003d172.24.5.0/24 --gateway 172.24.5.1 public-subnet"},{"line_number":39,"context_line":"EOF"},{"line_number":40,"context_line":"    chmod 755 $DEVSTACK_DIR/local.sh"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":15,"id":"ff82abbf_ec5942fe","line":39,"range":{"start_line":29,"start_character":0,"end_line":39,"end_character":3},"updated":"2017-11-21 21:44:16.000000000","message":"Are these same to the one in devstack/pre_test_hook.sh?\nIf yes, please share the logics. don\u0027t duplicate it.","commit_id":"1ec90341bf2f0257595a58d48bbb6739d3fcabd1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"cf67f7bc1bb70d8db2a8c6e40957737d73c98e66","unresolved":false,"context_lines":[{"line_number":26,"context_line":"            DEVSTACK_DIR\u003d/opt/stack/new/devstack"},{"line_number":27,"context_line":"        fi"},{"line_number":28,"context_line":"        cat \u003c\u003cEOF \u003e\u003e $DEVSTACK_DIR/local.sh"},{"line_number":29,"context_line":"#!/usr/bin/env bash"},{"line_number":30,"context_line":"sudo ifconfig br-ex 172.24.5.1/24 up"},{"line_number":31,"context_line":"source $TOP_DIR/openrc admin"},{"line_number":32,"context_line":"openstack router unset --external-gateway router1"},{"line_number":33,"context_line":"openstack port list --router router1 -c ID -f value | xargs -I {} openstack router remove port router1 {}"},{"line_number":34,"context_line":"openstack router delete router1"},{"line_number":35,"context_line":"openstack subnet list | grep -e public -e private | cut -f2 -d\u0027|\u0027 | xargs openstack subnet delete"},{"line_number":36,"context_line":"openstack network list | grep -e public -e private | cut -f2 -d\u0027|\u0027 | xargs openstack network delete"},{"line_number":37,"context_line":"openstack network create public --external --provider-network-type\u003dflat --provider-physical-network\u003dpublic"},{"line_number":38,"context_line":"openstack subnet create --network\u003dpublic --subnet-range\u003d172.24.5.0/24 --gateway 172.24.5.1 public-subnet"},{"line_number":39,"context_line":"EOF"},{"line_number":40,"context_line":"    chmod 755 $DEVSTACK_DIR/local.sh"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":15,"id":"ff82abbf_e7b15be3","line":39,"range":{"start_line":29,"start_character":0,"end_line":39,"end_character":3},"in_reply_to":"ff82abbf_e7cb9ba2","updated":"2017-11-21 22:43:15.000000000","message":"I tried something for re use in PS17 lets see if that work out or not.","commit_id":"1ec90341bf2f0257595a58d48bbb6739d3fcabd1"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"51b83dab3b0e4e1e5e2e653c57c1b72d867acc2a","unresolved":false,"context_lines":[{"line_number":26,"context_line":"            DEVSTACK_DIR\u003d/opt/stack/new/devstack"},{"line_number":27,"context_line":"        fi"},{"line_number":28,"context_line":"        cat \u003c\u003cEOF \u003e\u003e $DEVSTACK_DIR/local.sh"},{"line_number":29,"context_line":"#!/usr/bin/env bash"},{"line_number":30,"context_line":"sudo ifconfig br-ex 172.24.5.1/24 up"},{"line_number":31,"context_line":"source $TOP_DIR/openrc admin"},{"line_number":32,"context_line":"openstack router unset --external-gateway router1"},{"line_number":33,"context_line":"openstack port list --router router1 -c ID -f value | xargs -I {} openstack router remove port router1 {}"},{"line_number":34,"context_line":"openstack router delete router1"},{"line_number":35,"context_line":"openstack subnet list | grep -e public -e private | cut -f2 -d\u0027|\u0027 | xargs openstack subnet delete"},{"line_number":36,"context_line":"openstack network list | grep -e public -e private | cut -f2 -d\u0027|\u0027 | xargs openstack network delete"},{"line_number":37,"context_line":"openstack network create public --external --provider-network-type\u003dflat --provider-physical-network\u003dpublic"},{"line_number":38,"context_line":"openstack subnet create --network\u003dpublic --subnet-range\u003d172.24.5.0/24 --gateway 172.24.5.1 public-subnet"},{"line_number":39,"context_line":"EOF"},{"line_number":40,"context_line":"    chmod 755 $DEVSTACK_DIR/local.sh"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"    fi"}],"source_content_type":"application/x-shellscript","patch_set":15,"id":"ff82abbf_e7cb9ba2","line":39,"range":{"start_line":29,"start_character":0,"end_line":39,"end_character":3},"in_reply_to":"ff82abbf_ec5942fe","updated":"2017-11-21 22:28:45.000000000","message":"I thought of adding a function in devstack/functions and use in both but the path of networking-odl dir changes before and after upgrade and both are different than what path networking-odl project would have with other jobs, so I think having these here would have lesser issues,","commit_id":"1ec90341bf2f0257595a58d48bbb6739d3fcabd1"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"af00db740d5e50731ae2ee55ae8ff3765daa1949","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"# NOTE(manjeets) br-ex is not up when neutron initial networks are created so this workaround"},{"line_number":14,"context_line":"# is done to bring up the br-ex, remove the existing networks and recreate public network."},{"line_number":15,"context_line":"# without this l3 connectivity for vm doesn\u0027t work. This can be removed later on once"},{"line_number":16,"context_line":"# odl start bringing up br-ex properly"},{"line_number":17,"context_line":"function pre_test_grenade_hook {"},{"line_number":18,"context_line":"    RELEASE_TARGET\u003d$1"},{"line_number":19,"context_line":"    if [ -z \"$RELEASE_TARGET\" ]; then"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"ff82abbf_66f53b83","line":16,"range":{"start_line":15,"start_character":51,"end_line":16,"end_character":38},"updated":"2017-11-22 12:47:24.000000000","message":"make this part a TODO and put a reference to an ODL bug if there is.","commit_id":"f17b4cd27e95098b33a876eac88fa31dd6c554b4"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"857a8d50b028a9bca3e534a53e235d73fb35dfc4","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"# NOTE(manjeets) br-ex is not up when neutron initial networks are created so this workaround"},{"line_number":14,"context_line":"# is done to bring up the br-ex, remove the existing networks and recreate public network."},{"line_number":15,"context_line":"# without this l3 connectivity for vm doesn\u0027t work. This can be removed later on once"},{"line_number":16,"context_line":"# odl start bringing up br-ex properly"},{"line_number":17,"context_line":"function pre_test_grenade_hook {"},{"line_number":18,"context_line":"    RELEASE_TARGET\u003d$1"},{"line_number":19,"context_line":"    if [ -z \"$RELEASE_TARGET\" ]; then"}],"source_content_type":"application/x-shellscript","patch_set":18,"id":"ff82abbf_f21c9fc2","line":16,"range":{"start_line":15,"start_character":51,"end_line":16,"end_character":38},"in_reply_to":"ff82abbf_66f53b83","updated":"2017-11-22 18:13:39.000000000","message":"Done","commit_id":"f17b4cd27e95098b33a876eac88fa31dd6c554b4"}]}
