)]}'
{"devstack/lib/tacker":[{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"a12d2a27bbb864564f7b1157d9eaa57662229eb5","unresolved":false,"context_lines":[{"line_number":378,"context_line":"    echo \"Creating networks and router\""},{"line_number":379,"context_line":"    NET_MGMT_ID\u003d$(neutron net-create --provider:network_type flat --provider:physical_network ${MGMT_PHYS_NET} --shared ${NET_MGMT} | awk \u0027/ id /{print $4}\u0027)"},{"line_number":380,"context_line":"    SUBNET_MGMT_ID\u003d$(neutron subnet-create --name ${SUBNET_MGMT} --allocation-pool start\u003d${FIXED_RANGE_MGMT_START},end\u003d${FIXED_RANGE_MGMT_END} ${NET_MGMT_ID} ${FIXED_RANGE_MGMT} | awk \u0027/ id /{print $4}\u0027)"},{"line_number":381,"context_line":"    ROUTER_ID\u003d$(neutron router-create mgmt_router | awk \u0027/ id /{print $4}\u0027)"},{"line_number":382,"context_line":"    neutron router-interface-add ${ROUTER_ID} ${SUBNET_MGMT_ID}"},{"line_number":383,"context_line":"    NET0_ID\u003d$(neutron net-create --shared ${NET0} | awk \u0027/ id /{print $4}\u0027)"},{"line_number":384,"context_line":"    SUBNET0_ID\u003d$(neutron subnet-create --name ${SUBNET0} --ip-version 4 --gateway ${NETWORK_GATEWAY0} ${NET0_ID} ${FIXED_RANGE0} | awk \u0027/ id /{print $4}\u0027)"},{"line_number":385,"context_line":"    NET1_ID\u003d$(neutron net-create --shared ${NET1} | awk \u0027/ id /{print $4}\u0027)"}],"source_content_type":"application/x-shellscript","patch_set":15,"id":"9a89bdaa_b1b2a392","line":382,"range":{"start_line":381,"start_character":4,"end_line":382,"end_character":63},"updated":"2016-09-07 05:11:05.000000000","message":"creating neutron router is not required to access metadata since the data is already available on the configuration drive for the instance to access","commit_id":"e324626aec68a5f32f2b02f51cf4cac08dee6645"}],"tacker/tests/etc/samples/sample-tosca-vnfd-http-monitor.yaml":[{"author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"change_message_id":"a95ce75635195b207fa13c4d4d24565eb1249f43","unresolved":false,"context_lines":[{"line_number":27,"context_line":"             timeout: 10"},{"line_number":28,"context_line":"             retry: 5"},{"line_number":29,"context_line":"             port: 8000"},{"line_number":30,"context_line":"        config_driver: true"},{"line_number":31,"context_line":"        user_data_format: RAW"},{"line_number":32,"context_line":"        user_data: |"},{"line_number":33,"context_line":"          #!/bin/sh"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9a89bdaa_c256775b","line":30,"range":{"start_line":30,"start_character":8,"end_line":30,"end_character":21},"updated":"2016-09-07 06:38:05.000000000","message":"this should be \"config_drive: true\"","commit_id":"b0cdd82502da5053b1960e67c3d4070e624fb0b5"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"7cc38a140b3bb774991f58572b9270c069d49b5e","unresolved":false,"context_lines":[{"line_number":27,"context_line":"             timeout: 10"},{"line_number":28,"context_line":"             retry: 5"},{"line_number":29,"context_line":"             port: 8000"},{"line_number":30,"context_line":"        config_driver: true"},{"line_number":31,"context_line":"        user_data_format: RAW"},{"line_number":32,"context_line":"        user_data: |"},{"line_number":33,"context_line":"          #!/bin/sh"}],"source_content_type":"text/x-yaml","patch_set":17,"id":"9a89bdaa_7d070a18","line":30,"range":{"start_line":30,"start_character":8,"end_line":30,"end_character":21},"in_reply_to":"9a89bdaa_c256775b","updated":"2016-09-07 06:46:11.000000000","message":"Done","commit_id":"b0cdd82502da5053b1960e67c3d4070e624fb0b5"}],"tacker/tests/etc/samples/sample-tosca-vnfd-monitor.yaml":[{"author":{"_account_id":13485,"name":"Sripriya Seetharam","email":"sseetha@brocade.com","username":"Sripriya"},"change_message_id":"a12d2a27bbb864564f7b1157d9eaa57662229eb5","unresolved":false,"context_lines":[{"line_number":26,"context_line":"            monitoring_delay: 45"},{"line_number":27,"context_line":"            timeout: 2"},{"line_number":28,"context_line":"        user_data_format: RAW"},{"line_number":29,"context_line":"        user_data: |"},{"line_number":30,"context_line":"          #!/bin/sh"},{"line_number":31,"context_line":"          echo \"my hostname is `hostname`\" \u003e /tmp/hostname"},{"line_number":32,"context_line":"          df -h \u003e /tmp/test.txt"}],"source_content_type":"text/x-yaml","patch_set":15,"id":"9a89bdaa_cc430e41","line":29,"range":{"start_line":29,"start_character":8,"end_line":29,"end_character":18},"updated":"2016-09-07 05:11:05.000000000","message":"the root cause here is [1] which is setting config_drive: false by default. this is not allowing user data be mounted on the instance and hence script is not executed. we need to fix [1] to enable config drive: true by default or override here in templates by adding parameter config_drive: true\n\nthis is applicable for other tosca templates as well including http-monitor and multi-vdu which does not execute the user_data at all. this works for old templates because we set it to true always for config drive. [2]\n\n[1] https://github.com/openstack/tacker/blob/master/tacker/vnfm/tosca/lib/tacker_nfv_defs.yaml#L25\n\n[2] https://github.com/openstack/tacker/blob/master/tacker/vnfm/infra_drivers/heat/heat.py#L501","commit_id":"e324626aec68a5f32f2b02f51cf4cac08dee6645"}],"tacker/tests/functional/base.py":[{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"1f0e3f98170627fe472eed071daf6f7da6acc6b5","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                              sleep_interval):"},{"line_number":70,"context_line":"        start_time \u003d int(time.time())"},{"line_number":71,"context_line":"        while True:"},{"line_number":72,"context_line":"                vnf_result \u003d self.client.show_vnf(vnf_id)"},{"line_number":73,"context_line":"                status \u003d vnf_result[\u0027vnf\u0027][\u0027status\u0027]"},{"line_number":74,"context_line":"                if (status \u003d\u003d target_status) or ("},{"line_number":75,"context_line":"                        (int(time.time()) - start_time) \u003e timeout):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_3d53bae3","line":72,"updated":"2016-09-02 04:38:40.000000000","message":"why do you want to change this to self from cls?","commit_id":"c38044dbf482f060611d13593f9b97af52d4da1a"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"e103f2d1bcd265df8be0a4522d5a756a5b3a77f3","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                              sleep_interval):"},{"line_number":70,"context_line":"        start_time \u003d int(time.time())"},{"line_number":71,"context_line":"        while True:"},{"line_number":72,"context_line":"                vnf_result \u003d self.client.show_vnf(vnf_id)"},{"line_number":73,"context_line":"                status \u003d vnf_result[\u0027vnf\u0027][\u0027status\u0027]"},{"line_number":74,"context_line":"                if (status \u003d\u003d target_status) or ("},{"line_number":75,"context_line":"                        (int(time.time()) - start_time) \u003e timeout):"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_1b3efe27","line":72,"in_reply_to":"fa7ab95a_3d53bae3","updated":"2016-09-02 06:27:39.000000000","message":"since there is no cls, I have to change cls into self.","commit_id":"c38044dbf482f060611d13593f9b97af52d4da1a"},{"author":{"_account_id":10487,"name":"Kanagaraj Manickam","email":"mkr1481@gmail.com","username":"kanagarajm"},"change_message_id":"1f0e3f98170627fe472eed071daf6f7da6acc6b5","unresolved":false,"context_lines":[{"line_number":77,"context_line":"                time.sleep(sleep_interval)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        if (status \u003d\u003d target_status):"},{"line_number":80,"context_line":"            return target_status"},{"line_number":81,"context_line":"        else:"},{"line_number":82,"context_line":"            self.assertTrue(0, \"vnf %(vnf_id)s with status %(status)s is\""},{"line_number":83,"context_line":"                            \" expected to be %(target)s\" %"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_3dbc9a05","line":80,"updated":"2016-09-02 04:38:40.000000000","message":"instead is it ok to use assertEqual here?","commit_id":"c38044dbf482f060611d13593f9b97af52d4da1a"},{"author":{"_account_id":2874,"name":"yong sheng gong","email":"gong.yongsheng@99cloud.net","username":"gongysh"},"change_message_id":"e103f2d1bcd265df8be0a4522d5a756a5b3a77f3","unresolved":false,"context_lines":[{"line_number":77,"context_line":"                time.sleep(sleep_interval)"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"        if (status \u003d\u003d target_status):"},{"line_number":80,"context_line":"            return target_status"},{"line_number":81,"context_line":"        else:"},{"line_number":82,"context_line":"            self.assertTrue(0, \"vnf %(vnf_id)s with status %(status)s is\""},{"line_number":83,"context_line":"                            \" expected to be %(target)s\" %"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa7ab95a_3b4742bd","line":80,"in_reply_to":"fa7ab95a_3dbc9a05","updated":"2016-09-02 06:27:39.000000000","message":"good idea.","commit_id":"c38044dbf482f060611d13593f9b97af52d4da1a"}]}
