)]}'
{"networking_odl/cmd/full_sync.py":[{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"7843dd8c20d937c5386d67fd8cc8175a09d4d329","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from networking_odl.journal import full_sync"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"def setup_conf(args):"}],"source_content_type":"text/x-python","patch_set":2,"id":"dfeb2761_b1b75587","line":31,"range":{"start_line":31,"start_character":6,"end_line":31,"end_character":10},"updated":"2017-03-31 10:51:31.000000000","message":"May be it has to be logging.","commit_id":"3c877901013476013d01d013b64ad8f47bfffc96"},{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"7843dd8c20d937c5386d67fd8cc8175a09d4d329","unresolved":false,"context_lines":[{"line_number":31,"context_line":"LOG \u003d log.getLogger(__name__)"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"def setup_conf(args):"},{"line_number":35,"context_line":"    conf \u003d cfg.CONF"},{"line_number":36,"context_line":"    db_group, neutron_db_opts \u003d db_options.list_opts()[0]"},{"line_number":37,"context_line":"    cfg.CONF.register_cli_opts(neutron_db_opts, db_group)"}],"source_content_type":"text/x-python","patch_set":2,"id":"dfeb2761_3180e58b","line":34,"range":{"start_line":34,"start_character":15,"end_line":34,"end_character":19},"updated":"2017-03-31 10:51:31.000000000","message":"Where is this being used?","commit_id":"3c877901013476013d01d013b64ad8f47bfffc96"},{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"7843dd8c20d937c5386d67fd8cc8175a09d4d329","unresolved":false,"context_lines":[{"line_number":33,"context_line":""},{"line_number":34,"context_line":"def setup_conf(args):"},{"line_number":35,"context_line":"    conf \u003d cfg.CONF"},{"line_number":36,"context_line":"    db_group, neutron_db_opts \u003d db_options.list_opts()[0]"},{"line_number":37,"context_line":"    cfg.CONF.register_cli_opts(neutron_db_opts, db_group)"},{"line_number":38,"context_line":"    ml2_group, ml2_opts \u003d neutron_options.list_ml2_conf_opts()[0]"},{"line_number":39,"context_line":"    cfg.CONF.register_cli_opts(ml2_opts, ml2_group)"}],"source_content_type":"text/x-python","patch_set":2,"id":"dfeb2761_8c88b41f","line":36,"range":{"start_line":36,"start_character":0,"end_line":36,"end_character":57},"updated":"2017-03-31 10:51:31.000000000","message":"Is really, what you want to do or list_db_opts?","commit_id":"3c877901013476013d01d013b64ad8f47bfffc96"},{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"7843dd8c20d937c5386d67fd8cc8175a09d4d329","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    cfg.CONF.register_cli_opts(neutron_db_opts, db_group)"},{"line_number":38,"context_line":"    ml2_group, ml2_opts \u003d neutron_options.list_ml2_conf_opts()[0]"},{"line_number":39,"context_line":"    cfg.CONF.register_cli_opts(ml2_opts, ml2_group)"},{"line_number":40,"context_line":"    odl_group, odl_opts \u003d odl_config.list_opts()[0]"},{"line_number":41,"context_line":"    return conf"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"dfeb2761_8ceb14af","line":40,"range":{"start_line":40,"start_character":0,"end_line":40,"end_character":51},"updated":"2017-03-31 10:51:31.000000000","message":"Where is it being used?\n\nValue of configuration parameter\u0027s are not initlized like, url which are required.","commit_id":"3c877901013476013d01d013b64ad8f47bfffc96"},{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"7843dd8c20d937c5386d67fd8cc8175a09d4d329","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"def main():"},{"line_number":45,"context_line":"    conf \u003d setup_conf()"},{"line_number":46,"context_line":"    conf(project\u003d\u0027neutron\u0027)"},{"line_number":47,"context_line":"    logging.setup(conf, \u0027neutron_odl_full_sync\u0027)"},{"line_number":48,"context_line":"    session \u003d neutron_db_api.get_writer_session()"}],"source_content_type":"text/x-python","patch_set":2,"id":"dfeb2761_b16cf508","line":45,"range":{"start_line":45,"start_character":0,"end_line":45,"end_character":23},"updated":"2017-03-31 10:51:31.000000000","message":"setup_conf takes exactly one argument but none has been provided.","commit_id":"3c877901013476013d01d013b64ad8f47bfffc96"},{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"7843dd8c20d937c5386d67fd8cc8175a09d4d329","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    conf(project\u003d\u0027neutron\u0027)"},{"line_number":47,"context_line":"    logging.setup(conf, \u0027neutron_odl_full_sync\u0027)"},{"line_number":48,"context_line":"    session \u003d neutron_db_api.get_writer_session()"},{"line_number":49,"context_line":"    full_sync.full_sync(session)"}],"source_content_type":"text/x-python","patch_set":2,"id":"dfeb2761_ec94e0ea","line":49,"range":{"start_line":49,"start_character":3,"end_line":49,"end_character":32},"updated":"2017-03-31 10:51:31.000000000","message":"Is there anything, we should display to show the progress to user or may be ending message.","commit_id":"3c877901013476013d01d013b64ad8f47bfffc96"},{"author":{"_account_id":13912,"name":"rajiv","email":"thenakliman@gmail.com","username":"rajiv.kumar"},"change_message_id":"d814a4ee578e5ac1bed07d6d5123e4d213d5162a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7ffa3b31_c09a5ab7","line":55,"updated":"2017-04-21 11:40:22.000000000","message":"It fails with following message\n(Pdb) c\n2017-04-21 11:22:00.331 CRITICAL neutron_odl_full_sync [req-03f1af75-ff34-4d18-9aa8-0bde1652b609 None None] AttributeError: \u0027NoneType\u0027 object has no attribute \u0027get_security_groups\u0027\n\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync Traceback (most recent call last):\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync   File \"./full_sync.py\", line 57, in \u003cmodule\u003e\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync     main()\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync   File \"./full_sync.py\", line 53, in main\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync     full_sync.full_sync(session)\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync   File \"/opt/stack/networking-odl/networking_odl/journal/full_sync.py\", line 49, in full_sync\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync     for resource_type, collection_name in odl_const.L2_RESOURCES.items():\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync   File \"/opt/stack/networking-odl/networking_odl/journal/full_sync.py\", line 90, in _sync_resources\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync     obj_getter \u003d getattr(plugin, \u0027get_%s\u0027 % collection_name)\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync AttributeError: \u0027NoneType\u0027 object has no attribute \u0027get_security_groups\u0027\n2017-04-21 11:22:00.331 TRACE neutron_odl_full_sync","commit_id":"789d319c8766962544875eae40fc0a8fddcdace7"}]}
