)]}'
{"doc/source/quick_start/tutorial/step_11_profiling_openstack_internals.rst":[{"author":{"_account_id":22960,"name":"Hai Shi","email":"shihai1992@gmail.com","username":"haishi"},"change_message_id":"5e613ca20fbf725ea648edaba574a68020b66fa0","unresolved":false,"context_lines":[{"line_number":48,"context_line":"Alternatively if you create your deployment using the ``--file`` option you can"},{"line_number":49,"context_line":"add the HMAC key with the following :"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. code-block:: json"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    {"},{"line_number":54,"context_line":"      \"type\": \"ExistingCloud\","},{"line_number":55,"context_line":"      \"creds\": {"},{"line_number":56,"context_line":"      \"openstack\": {"},{"line_number":57,"context_line":"        [...]"},{"line_number":58,"context_line":"        \"profiler_hmac_key\": \"SECRET_KEY\""},{"line_number":59,"context_line":"        }"},{"line_number":60,"context_line":"      }"},{"line_number":61,"context_line":"    }"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Getting the full trace"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_767b1e8b","line":61,"range":{"start_line":51,"start_character":0,"end_line":61,"end_character":5},"updated":"2017-05-25 09:37:50.000000000","message":"Looks deployment_**.json in https://github.com/openstack/rally/tree/master/samples/deployments should be updated too.","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"},{"author":{"_account_id":21470,"name":"Matthieu Simonin","email":"matthieu.simonin@inria.fr","username":"msimonin"},"change_message_id":"00981a3eca37ccd7dfb52b178a663a9d93c1753b","unresolved":false,"context_lines":[{"line_number":48,"context_line":"Alternatively if you create your deployment using the ``--file`` option you can"},{"line_number":49,"context_line":"add the HMAC key with the following :"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. code-block:: json"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    {"},{"line_number":54,"context_line":"      \"type\": \"ExistingCloud\","},{"line_number":55,"context_line":"      \"creds\": {"},{"line_number":56,"context_line":"      \"openstack\": {"},{"line_number":57,"context_line":"        [...]"},{"line_number":58,"context_line":"        \"profiler_hmac_key\": \"SECRET_KEY\""},{"line_number":59,"context_line":"        }"},{"line_number":60,"context_line":"      }"},{"line_number":61,"context_line":"    }"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Getting the full trace"}],"source_content_type":"text/x-rst","patch_set":3,"id":"df140735_7989c724","line":61,"range":{"start_line":51,"start_character":0,"end_line":61,"end_character":5},"in_reply_to":"ff0f0b1f_63b0d78c","updated":"2017-05-27 13:16:12.000000000","message":"Done","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"32bf58c0d8b36a3e46eb02666e55664aed35b4c5","unresolved":false,"context_lines":[{"line_number":48,"context_line":"Alternatively if you create your deployment using the ``--file`` option you can"},{"line_number":49,"context_line":"add the HMAC key with the following :"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. code-block:: json"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    {"},{"line_number":54,"context_line":"      \"type\": \"ExistingCloud\","},{"line_number":55,"context_line":"      \"creds\": {"},{"line_number":56,"context_line":"      \"openstack\": {"},{"line_number":57,"context_line":"        [...]"},{"line_number":58,"context_line":"        \"profiler_hmac_key\": \"SECRET_KEY\""},{"line_number":59,"context_line":"        }"},{"line_number":60,"context_line":"      }"},{"line_number":61,"context_line":"    }"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Getting the full trace"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_63b0d78c","line":61,"range":{"start_line":51,"start_character":0,"end_line":61,"end_character":5},"in_reply_to":"ff0f0b1f_767b1e8b","updated":"2017-05-26 09:59:21.000000000","message":"+1 let\u0027s add one more sample there with hmac_key","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"},{"author":{"_account_id":21528,"name":"chenhb","email":"chen.haibing1@zte.com.cn","username":"chenhb"},"change_message_id":"6e71a4ad320e7882571caa11eb9277986ffb2534","unresolved":false,"context_lines":[{"line_number":48,"context_line":"Alternatively if you create your deployment using the ``--file`` option you can"},{"line_number":49,"context_line":"add the HMAC key with the following :"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. code-block:: json"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    {"},{"line_number":54,"context_line":"      \"type\": \"ExistingCloud\","},{"line_number":55,"context_line":"      \"creds\": {"},{"line_number":56,"context_line":"      \"openstack\": {"},{"line_number":57,"context_line":"        [...]"},{"line_number":58,"context_line":"        \"profiler_hmac_key\": \"SECRET_KEY\""},{"line_number":59,"context_line":"        }"},{"line_number":60,"context_line":"      }"},{"line_number":61,"context_line":"    }"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Getting the full trace"}],"source_content_type":"text/x-rst","patch_set":3,"id":"ff0f0b1f_a58277ff","line":61,"range":{"start_line":51,"start_character":0,"end_line":61,"end_character":5},"in_reply_to":"ff0f0b1f_767b1e8b","updated":"2017-05-26 08:45:30.000000000","message":"agree, please add the deployment sample.","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"}],"rally/common/opts.py":[{"author":{"_account_id":21528,"name":"chenhb","email":"chen.haibing1@zte.com.cn","username":"chenhb"},"change_message_id":"b8d536450ae2b280102379e230ca0aa79983c4e0","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"CONF \u003d cfg.CONF"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"PROFILER_OPTS \u003d ["},{"line_number":27,"context_line":"    cfg.BoolOpt(\"enable_profiler\", default\u003dTrue,"},{"line_number":28,"context_line":"                help\u003d\"Enable or disable osprofiler to trace the scenarios\")"},{"line_number":29,"context_line":"]"},{"line_number":30,"context_line":"CONF.register_opts(PROFILER_OPTS)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"def list_opts():"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_4584bbb1","line":30,"range":{"start_line":26,"start_character":0,"end_line":30,"end_character":33},"updated":"2017-05-26 08:45:44.000000000","message":"not sure we should move opt to openstack cfg directory.\nhttps://github.com/openstack/rally/tree/a5691d7850b5abd7ea707730f0d48d75116d88d3/rally/plugins/openstack/cfg","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"},{"author":{"_account_id":21470,"name":"Matthieu Simonin","email":"matthieu.simonin@inria.fr","username":"msimonin"},"change_message_id":"00981a3eca37ccd7dfb52b178a663a9d93c1753b","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"CONF \u003d cfg.CONF"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"PROFILER_OPTS \u003d ["},{"line_number":27,"context_line":"    cfg.BoolOpt(\"enable_profiler\", default\u003dTrue,"},{"line_number":28,"context_line":"                help\u003d\"Enable or disable osprofiler to trace the scenarios\")"},{"line_number":29,"context_line":"]"},{"line_number":30,"context_line":"CONF.register_opts(PROFILER_OPTS)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"def list_opts():"}],"source_content_type":"text/x-python","patch_set":3,"id":"df140735_f97cb721","line":30,"range":{"start_line":26,"start_character":0,"end_line":30,"end_character":33},"in_reply_to":"ff0f0b1f_4390334f","updated":"2017-05-27 13:16:12.000000000","message":"Done, the option is located under the benchmark group now.","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"0c1bfb68f8e80ed1fd80f25ca7d94261ba7f052b","unresolved":false,"context_lines":[{"line_number":23,"context_line":""},{"line_number":24,"context_line":"CONF \u003d cfg.CONF"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"PROFILER_OPTS \u003d ["},{"line_number":27,"context_line":"    cfg.BoolOpt(\"enable_profiler\", default\u003dTrue,"},{"line_number":28,"context_line":"                help\u003d\"Enable or disable osprofiler to trace the scenarios\")"},{"line_number":29,"context_line":"]"},{"line_number":30,"context_line":"CONF.register_opts(PROFILER_OPTS)"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"def list_opts():"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_4390334f","line":30,"range":{"start_line":26,"start_character":0,"end_line":30,"end_character":33},"in_reply_to":"ff0f0b1f_4584bbb1","updated":"2017-05-26 09:58:45.000000000","message":"+1\nlet\u0027s move this options under plugins/openstack dir","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"}],"rally/plugins/openstack/scenario.py":[{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"d1ca4c69b2ff6de366c90ea476acdc9d22ba4067","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    def _init_profiler(self, context):"},{"line_number":115,"context_line":"        \"\"\"Inits the profiler.\"\"\""},{"line_number":116,"context_line":"        if not CONF.enable_profiler:"},{"line_number":117,"context_line":"            print(\"PRFILER disabaled by config\")"},{"line_number":118,"context_line":"            return"},{"line_number":119,"context_line":"        if context is not None and \"admin\" in context:"},{"line_number":120,"context_line":"            cred \u003d context[\"admin\"][\"credential\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_89e8de7b","line":117,"range":{"start_line":117,"start_character":19,"end_line":117,"end_character":26},"updated":"2017-05-25 04:16:56.000000000","message":"typo here :D","commit_id":"4c41dbc674a4dd4cc92ed1be48cbeba7a07f67b1"},{"author":{"_account_id":21470,"name":"Matthieu Simonin","email":"matthieu.simonin@inria.fr","username":"msimonin"},"change_message_id":"56d022d1255a9c0cc7d87566a89705ac30811727","unresolved":false,"context_lines":[{"line_number":114,"context_line":"    def _init_profiler(self, context):"},{"line_number":115,"context_line":"        \"\"\"Inits the profiler.\"\"\""},{"line_number":116,"context_line":"        if not CONF.enable_profiler:"},{"line_number":117,"context_line":"            print(\"PRFILER disabaled by config\")"},{"line_number":118,"context_line":"            return"},{"line_number":119,"context_line":"        if context is not None and \"admin\" in context:"},{"line_number":120,"context_line":"            cred \u003d context[\"admin\"][\"credential\"]"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_a2017407","line":117,"range":{"start_line":117,"start_character":19,"end_line":117,"end_character":26},"in_reply_to":"ff0f0b1f_89e8de7b","updated":"2017-05-25 07:11:28.000000000","message":"I removed this :)","commit_id":"4c41dbc674a4dd4cc92ed1be48cbeba7a07f67b1"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"0c1bfb68f8e80ed1fd80f25ca7d94261ba7f052b","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        \"\"\"Inits the profiler.\"\"\""},{"line_number":116,"context_line":"        if not CONF.enable_profiler:"},{"line_number":117,"context_line":"            return"},{"line_number":118,"context_line":"        if context is not None and \"admin\" in context:"},{"line_number":119,"context_line":"            cred \u003d context[\"admin\"][\"credential\"]"},{"line_number":120,"context_line":"            profiler_hmac_key \u003d cred.profiler_hmac_key"},{"line_number":121,"context_line":"            if profiler_hmac_key is not None:"}],"source_content_type":"text/x-python","patch_set":3,"id":"ff0f0b1f_43f5d382","line":118,"range":{"start_line":118,"start_character":8,"end_line":118,"end_character":54},"updated":"2017-05-26 09:58:45.000000000","message":"it doesn\u0027t cover the case when admin is not specified, but we have users. Check should look something like:\n\n     if context:\n         cred \u003d None \n         if \"admin\" in context:\n             cred \u003d context[\"admin\"][\"credential\"]\n         elif \"user\" in context:\n             cred \u003d context[\"user\"][\"credential\"]\n         if cred is None or cred.profiler_hmac_key is None:\n             return\n         profiler_hmac_key \u003d cred.profiler_hmac_key","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"},{"author":{"_account_id":21470,"name":"Matthieu Simonin","email":"matthieu.simonin@inria.fr","username":"msimonin"},"change_message_id":"00981a3eca37ccd7dfb52b178a663a9d93c1753b","unresolved":false,"context_lines":[{"line_number":115,"context_line":"        \"\"\"Inits the profiler.\"\"\""},{"line_number":116,"context_line":"        if not CONF.enable_profiler:"},{"line_number":117,"context_line":"            return"},{"line_number":118,"context_line":"        if context is not None and \"admin\" in context:"},{"line_number":119,"context_line":"            cred \u003d context[\"admin\"][\"credential\"]"},{"line_number":120,"context_line":"            profiler_hmac_key \u003d cred.profiler_hmac_key"},{"line_number":121,"context_line":"            if profiler_hmac_key is not None:"}],"source_content_type":"text/x-python","patch_set":3,"id":"df140735_79b787da","line":118,"range":{"start_line":118,"start_character":8,"end_line":118,"end_character":54},"in_reply_to":"ff0f0b1f_43f5d382","updated":"2017-05-27 13:16:12.000000000","message":"Agree. I choose to cover more cases but don\u0027t know if by design some of them are possible :).\nCould you have a look ? I\u0027ve also added a dedicated unit test for that.\n\nBy the way, accessing cred.profiler_hmac_key requires to patch some unit tests that were not mocking the user credentials.","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"}],"requirements.txt":[{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"d1ca4c69b2ff6de366c90ea476acdc9d22ba4067","unresolved":false,"context_lines":[{"line_number":30,"context_line":"gnocchiclient\u003e\u003d2.7.0,\u003c\u003d3.1.1                           # Apache Software License"},{"line_number":31,"context_line":"keystoneauth1\u003d\u003d2.20.0                                  # Apache Software License"},{"line_number":32,"context_line":"os-faults\u003e\u003d0.1.5,\u003c\u003d0.1.12                              # Apache Software License"},{"line_number":33,"context_line":"osprofiler\u003d\u003d1.9.0                                      #  Apache License, Version 2.0"},{"line_number":34,"context_line":"python-ceilometerclient\u003e\u003d2.5.0,\u003c\u003d2.8.1                 # Apache Software License"},{"line_number":35,"context_line":"python-cinderclient\u003d\u003d2.0.1                             # Apache Software License"},{"line_number":36,"context_line":"python-designateclient\u003e\u003d1.5.0,\u003c\u003d2.6.0                  # Apache License, Version 2.0"}],"source_content_type":"text/plain","patch_set":2,"id":"ff0f0b1f_2901d238","line":33,"range":{"start_line":33,"start_character":57,"end_line":33,"end_character":58},"updated":"2017-05-25 04:16:56.000000000","message":"extra white space","commit_id":"4c41dbc674a4dd4cc92ed1be48cbeba7a07f67b1"},{"author":{"_account_id":21470,"name":"Matthieu Simonin","email":"matthieu.simonin@inria.fr","username":"msimonin"},"change_message_id":"56d022d1255a9c0cc7d87566a89705ac30811727","unresolved":false,"context_lines":[{"line_number":30,"context_line":"gnocchiclient\u003e\u003d2.7.0,\u003c\u003d3.1.1                           # Apache Software License"},{"line_number":31,"context_line":"keystoneauth1\u003d\u003d2.20.0                                  # Apache Software License"},{"line_number":32,"context_line":"os-faults\u003e\u003d0.1.5,\u003c\u003d0.1.12                              # Apache Software License"},{"line_number":33,"context_line":"osprofiler\u003d\u003d1.9.0                                      #  Apache License, Version 2.0"},{"line_number":34,"context_line":"python-ceilometerclient\u003e\u003d2.5.0,\u003c\u003d2.8.1                 # Apache Software License"},{"line_number":35,"context_line":"python-cinderclient\u003d\u003d2.0.1                             # Apache Software License"},{"line_number":36,"context_line":"python-designateclient\u003e\u003d1.5.0,\u003c\u003d2.6.0                  # Apache License, Version 2.0"}],"source_content_type":"text/plain","patch_set":2,"id":"ff0f0b1f_22156440","line":33,"range":{"start_line":33,"start_character":57,"end_line":33,"end_character":58},"in_reply_to":"ff0f0b1f_2901d238","updated":"2017-05-25 07:11:28.000000000","message":"Done","commit_id":"4c41dbc674a4dd4cc92ed1be48cbeba7a07f67b1"},{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"0c1bfb68f8e80ed1fd80f25ca7d94261ba7f052b","unresolved":false,"context_lines":[{"line_number":30,"context_line":"gnocchiclient\u003e\u003d2.7.0,\u003c\u003d3.1.1                           # Apache Software License"},{"line_number":31,"context_line":"keystoneauth1\u003d\u003d2.20.0                                  # Apache Software License"},{"line_number":32,"context_line":"os-faults\u003e\u003d0.1.5,\u003c\u003d0.1.12                              # Apache Software License"},{"line_number":33,"context_line":"osprofiler\u003d\u003d1.9.0                                      # Apache License, Version 2.0"},{"line_number":34,"context_line":"python-ceilometerclient\u003e\u003d2.5.0,\u003c\u003d2.8.1                 # Apache Software License"},{"line_number":35,"context_line":"python-cinderclient\u003d\u003d2.0.1                             # Apache Software License"},{"line_number":36,"context_line":"python-designateclient\u003e\u003d1.5.0,\u003c\u003d2.6.0                  # Apache License, Version 2.0"}],"source_content_type":"text/plain","patch_set":3,"id":"ff0f0b1f_23f2df9b","line":33,"range":{"start_line":33,"start_character":9,"end_line":33,"end_character":17},"updated":"2017-05-26 09:58:45.000000000","message":"why the version of osprofiler is hardcoded?","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"},{"author":{"_account_id":21470,"name":"Matthieu Simonin","email":"matthieu.simonin@inria.fr","username":"msimonin"},"change_message_id":"00981a3eca37ccd7dfb52b178a663a9d93c1753b","unresolved":false,"context_lines":[{"line_number":30,"context_line":"gnocchiclient\u003e\u003d2.7.0,\u003c\u003d3.1.1                           # Apache Software License"},{"line_number":31,"context_line":"keystoneauth1\u003d\u003d2.20.0                                  # Apache Software License"},{"line_number":32,"context_line":"os-faults\u003e\u003d0.1.5,\u003c\u003d0.1.12                              # Apache Software License"},{"line_number":33,"context_line":"osprofiler\u003d\u003d1.9.0                                      # Apache License, Version 2.0"},{"line_number":34,"context_line":"python-ceilometerclient\u003e\u003d2.5.0,\u003c\u003d2.8.1                 # Apache Software License"},{"line_number":35,"context_line":"python-cinderclient\u003d\u003d2.0.1                             # Apache Software License"},{"line_number":36,"context_line":"python-designateclient\u003e\u003d1.5.0,\u003c\u003d2.6.0                  # Apache License, Version 2.0"}],"source_content_type":"text/plain","patch_set":3,"id":"ff0f0b1f_39cb191f","line":33,"range":{"start_line":33,"start_character":9,"end_line":33,"end_character":17},"in_reply_to":"ff0f0b1f_23f2df9b","updated":"2017-05-27 13:16:12.000000000","message":"This, maybe ?  \n\n    osprofiler\u003e\u003d1.4.0","commit_id":"b6b51381e9456fb0338d3596ee26fe62fa1afeff"}]}
