)]}'
{"glance/common/wsgi_app.py":[{"author":{"_account_id":11391,"name":"Mikhail Fedosin","email":"mfedosin@redhat.com","username":"fedosinme"},"change_message_id":"2ee5950cfa68164d03188444b9ae53a3435191ff","unresolved":false,"context_lines":[{"line_number":39,"context_line":"def _setup_os_profiler():"},{"line_number":40,"context_line":"    notifier.set_defaults()"},{"line_number":41,"context_line":"    if cfg.CONF.profiler.enabled:"},{"line_number":42,"context_line":"        _notifier \u003d osprofiler.notifier.create(\"Messaging\","},{"line_number":43,"context_line":"                                               oslo_messaging, {},"},{"line_number":44,"context_line":"                                               notifier.get_transport(),"},{"line_number":45,"context_line":"                                               \"glance\", \"api\","}],"source_content_type":"text/x-python","patch_set":10,"id":"df140735_c0ba27bf","line":42,"updated":"2017-06-06 08:45:21.000000000","message":"Imho we should start using new osprofiler api, similar to what\u0027s done in this patch https://review.openstack.org/#/c/316799/17/glance/cmd/api.py","commit_id":"09bfdc4da6b79dd1b1387c9026c8ac0bfb23bd40"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"a9fabae2e14cd0c767eee31d6d1400cd76f9db44","unresolved":false,"context_lines":[{"line_number":39,"context_line":"def _setup_os_profiler():"},{"line_number":40,"context_line":"    notifier.set_defaults()"},{"line_number":41,"context_line":"    if cfg.CONF.profiler.enabled:"},{"line_number":42,"context_line":"        _notifier \u003d osprofiler.notifier.create(\"Messaging\","},{"line_number":43,"context_line":"                                               oslo_messaging, {},"},{"line_number":44,"context_line":"                                               notifier.get_transport(),"},{"line_number":45,"context_line":"                                               \"glance\", \"api\","}],"source_content_type":"text/x-python","patch_set":10,"id":"7f231b9d_556f0a2a","line":42,"in_reply_to":"df140735_c0ba27bf","updated":"2017-06-18 07:53:50.000000000","message":"Done","commit_id":"09bfdc4da6b79dd1b1387c9026c8ac0bfb23bd40"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d98b96b8006834e2de1d7672c6671ebe9b1c8712","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                                               oslo_messaging, {},"},{"line_number":44,"context_line":"                                               notifier.get_transport(),"},{"line_number":45,"context_line":"                                               \"glance\", \"api\","},{"line_number":46,"context_line":"                                               cfg.CONF.bind_host)"},{"line_number":47,"context_line":"        osprofiler.notifier.set(_notifier)"},{"line_number":48,"context_line":"        osprofiler.web.enable(cfg.CONF.profiler.hmac_keys)"},{"line_number":49,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":10,"id":"df140735_363af633","line":46,"range":{"start_line":46,"start_character":47,"end_line":46,"end_character":55},"updated":"2017-05-31 07:04:26.000000000","message":"IMO this should be CONF.bind_host","commit_id":"09bfdc4da6b79dd1b1387c9026c8ac0bfb23bd40"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"a9fabae2e14cd0c767eee31d6d1400cd76f9db44","unresolved":false,"context_lines":[{"line_number":43,"context_line":"                                               oslo_messaging, {},"},{"line_number":44,"context_line":"                                               notifier.get_transport(),"},{"line_number":45,"context_line":"                                               \"glance\", \"api\","},{"line_number":46,"context_line":"                                               cfg.CONF.bind_host)"},{"line_number":47,"context_line":"        osprofiler.notifier.set(_notifier)"},{"line_number":48,"context_line":"        osprofiler.web.enable(cfg.CONF.profiler.hmac_keys)"},{"line_number":49,"context_line":"    else:"}],"source_content_type":"text/x-python","patch_set":10,"id":"7f231b9d_356a4e19","line":46,"range":{"start_line":46,"start_character":47,"end_line":46,"end_character":55},"in_reply_to":"df140735_363af633","updated":"2017-06-18 07:53:50.000000000","message":"This was a straight copy and paste from what was done in glance/cmd/api.py back when this was written about 2 months ago. However this has all been updated per Mike\u0027s comment above.","commit_id":"09bfdc4da6b79dd1b1387c9026c8ac0bfb23bd40"},{"author":{"_account_id":14676,"name":"Kairat Kushaev","email":"kkushaev@mirantis.com","username":"kairat_kushaev"},"change_message_id":"2ba9939cbc391d0d36a8d8d34e66238bbae459f0","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"def init_app():"},{"line_number":54,"context_line":"    config_files \u003d _get_config_files()"},{"line_number":55,"context_line":"    CONF([], project\u003d\u0027glance\u0027, default_config_files\u003dconfig_files)"},{"line_number":56,"context_line":"    logging.setup(CONF, \"glance\")"},{"line_number":57,"context_line":"    glance_store.register_opts(CONF)"},{"line_number":58,"context_line":"    glance_store.create_stores(CONF)"}],"source_content_type":"text/x-python","patch_set":10,"id":"df140735_50e23f03","line":55,"updated":"2017-06-07 08:38:30.000000000","message":"This does not work out of the box because glance uses chunked requests( and it was not covered by wsgi) so maybe we can left a comment here?","commit_id":"09bfdc4da6b79dd1b1387c9026c8ac0bfb23bd40"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"a9fabae2e14cd0c767eee31d6d1400cd76f9db44","unresolved":false,"context_lines":[{"line_number":52,"context_line":""},{"line_number":53,"context_line":"def init_app():"},{"line_number":54,"context_line":"    config_files \u003d _get_config_files()"},{"line_number":55,"context_line":"    CONF([], project\u003d\u0027glance\u0027, default_config_files\u003dconfig_files)"},{"line_number":56,"context_line":"    logging.setup(CONF, \"glance\")"},{"line_number":57,"context_line":"    glance_store.register_opts(CONF)"},{"line_number":58,"context_line":"    glance_store.create_stores(CONF)"}],"source_content_type":"text/x-python","patch_set":10,"id":"7f231b9d_958122c6","line":55,"in_reply_to":"df140735_50e23f03","updated":"2017-06-18 07:53:50.000000000","message":"See the patch after this on this branch. It adds detailed documentation on how to use the wsgi entrypoint with glance and all of the issues around chunked encoding. https://review.openstack.org/#/c/467491/3","commit_id":"09bfdc4da6b79dd1b1387c9026c8ac0bfb23bd40"}]}
