)]}'
{"ironic/common/glance_service/v2/image_service.py":[{"author":{"_account_id":11076,"name":"Shivanand Tendulker","email":"stendulker@gmail.com","username":"stendulker"},"change_message_id":"2b5e92b5938ee34a305cb56373715d7bb2ea2946","unresolved":false,"context_lines":[{"line_number":176,"context_line":"        :param endpoint: Endpoint URL of Swift service."},{"line_number":177,"context_line":"        :param image_id: UUID of a Glance image."},{"line_number":178,"context_line":"        :raises: ValueError if seconds is not a positive integer"},{"line_number":179,"context_line":"        :raises: TypeError if seconds is not an integer"},{"line_number":180,"context_line":"        :returns: temporary URL"},{"line_number":181,"context_line":"        \"\"\""},{"line_number":182,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a740942_5e8e7628","line":179,"updated":"2015-12-10 04:40:23.000000000","message":"Should these swift exceptions ValueError and TypeError be documented here as we already take care of passing positive integer value for \u0027seconds\u0027. If yes, don\u0027t we need to convert them into Ironic exceptions?","commit_id":"e005ad493b5916ba91504da5ab041bb660985c0f"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"2a0119951ba03a9cadfaba28d83cdd06383dc259","unresolved":false,"context_lines":[{"line_number":176,"context_line":"        :param endpoint: Endpoint URL of Swift service."},{"line_number":177,"context_line":"        :param image_id: UUID of a Glance image."},{"line_number":178,"context_line":"        :raises: ValueError if seconds is not a positive integer"},{"line_number":179,"context_line":"        :raises: TypeError if seconds is not an integer"},{"line_number":180,"context_line":"        :returns: temporary URL"},{"line_number":181,"context_line":"        \"\"\""},{"line_number":182,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"7a740942_a7d9ea23","line":179,"in_reply_to":"7a740942_5e8e7628","updated":"2015-12-14 09:41:41.000000000","message":"Done","commit_id":"e005ad493b5916ba91504da5ab041bb660985c0f"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ef5036581e8e48a1bd1b6a3663480828a81bada","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                      \u0027will be valid for. Defaults to 20 minutes. If some \u0027"},{"line_number":51,"context_line":"                      \u0027deploys get a 401 response code when trying to \u0027"},{"line_number":52,"context_line":"                      \u0027download from the temporary URL, try raising this \u0027"},{"line_number":53,"context_line":"                      \u0027duration.\u0027)),"},{"line_number":54,"context_line":"    cfg.StrOpt("},{"line_number":55,"context_line":"        \u0027swift_endpoint_url\u0027,"},{"line_number":56,"context_line":"        help\u003d_(\u0027The \"endpoint\" (scheme, hostname, optional port) for \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_ada779a5","line":53,"updated":"2015-12-22 01:40:29.000000000","message":"We should probably mention that this value must be greater than the value for swift_temp_url_expected_download_start_delay.","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ea2196bd4bcf1408a84cc0e686eb56f097fdecea","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                      \u0027will be valid for. Defaults to 20 minutes. If some \u0027"},{"line_number":51,"context_line":"                      \u0027deploys get a 401 response code when trying to \u0027"},{"line_number":52,"context_line":"                      \u0027download from the temporary URL, try raising this \u0027"},{"line_number":53,"context_line":"                      \u0027duration.\u0027)),"},{"line_number":54,"context_line":"    cfg.StrOpt("},{"line_number":55,"context_line":"        \u0027swift_endpoint_url\u0027,"},{"line_number":56,"context_line":"        help\u003d_(\u0027The \"endpoint\" (scheme, hostname, optional port) for \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_cd3ac7e7","line":53,"in_reply_to":"3a7e1126_ada779a5","updated":"2015-12-30 11:18:22.000000000","message":"Done","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ef5036581e8e48a1bd1b6a3663480828a81bada","unresolved":false,"context_lines":[{"line_number":108,"context_line":"               help\u003d_(\u0027Usually there is some amount of time between the \u0027"},{"line_number":109,"context_line":"                      \u0027deploy request (which is approximately the time when \u0027"},{"line_number":110,"context_line":"                      \u0027the temporary URL is generated) and the actual usage \u0027"},{"line_number":111,"context_line":"                      \u0027of the temporary URL for the image download. This \u0027"},{"line_number":112,"context_line":"                      \u0027value (amount of time in seconds) is used to check if \u0027"},{"line_number":113,"context_line":"                      \u0027the Swift temporary URL duration is large enough to \u0027"},{"line_number":114,"context_line":"                      \u0027let the image download begin. Also if temporary URL \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_8d487dcd","line":111,"updated":"2015-12-22 01:40:29.000000000","message":"Would be nice to have \u0027delay\u0027 in here somewhere. How about \u0027This is the delay (in seconds) from the time of the deploy request (when the Swift temporary URL is generated) to when the URL is used for the image download.\u0027\n\nI don\u0027t really see how the operator is meant to know how to configure this. Are we going to give them suggestions on how to figure it out? I understand your/our need for this config but it seems awkward. Maybe we need to add some smarts to the conductor to figure it out itself over time.\n\nWhy not go back to using what was in the first revision, \u0027swift_temp_url_cache_time\u0027 instead of these two configs? (It isn\u0027t clear to me why you changed to this version.) You can just describe it similar to what you have for this config, but I think it\u0027d be easier to understand. For me anyway. Not sure what others think. Although what we want is something easy for operators to understand :)","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ea2196bd4bcf1408a84cc0e686eb56f097fdecea","unresolved":false,"context_lines":[{"line_number":108,"context_line":"               help\u003d_(\u0027Usually there is some amount of time between the \u0027"},{"line_number":109,"context_line":"                      \u0027deploy request (which is approximately the time when \u0027"},{"line_number":110,"context_line":"                      \u0027the temporary URL is generated) and the actual usage \u0027"},{"line_number":111,"context_line":"                      \u0027of the temporary URL for the image download. This \u0027"},{"line_number":112,"context_line":"                      \u0027value (amount of time in seconds) is used to check if \u0027"},{"line_number":113,"context_line":"                      \u0027the Swift temporary URL duration is large enough to \u0027"},{"line_number":114,"context_line":"                      \u0027let the image download begin. Also if temporary URL \u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_4dfc973e","line":111,"in_reply_to":"3a7e1126_8d487dcd","updated":"2015-12-30 11:18:22.000000000","message":"I\u0027ll add the explanation in the documentation. The reason this added was the fact that cached URL may be valid when conductor checks it, but not when the download starts. If we want to \"guarantee\" this will not happen we need such delay option. And having a single option to configure delay and if the cache is enabled seems a bit confusing (delay\u003d0 \u003d\u003e cache is disabled).\n\nOr do you mean to explain that swift_temp_url_cache_time should be swift_temp_url_duration + delay? It saves one option but not sure if it\u0027s clearer.","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ef5036581e8e48a1bd1b6a3663480828a81bada","unresolved":false,"context_lines":[{"line_number":115,"context_line":"                      \u0027caching is enabled this will determine if a cached \u0027"},{"line_number":116,"context_line":"                      \u0027entry will still be valid when the download starts. \u0027"},{"line_number":117,"context_line":"                      \u0027swift_temp_url_duration value must be greater than or \u0027"},{"line_number":118,"context_line":"                      \u0027equal to this option\\\u0027s value. Defaults to 0.\u0027)),"},{"line_number":119,"context_line":"]"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_6de3d1d9","line":118,"updated":"2015-12-22 01:40:29.000000000","message":"I think it might be useful to put these two right after swift_temp_url_duration.","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ea2196bd4bcf1408a84cc0e686eb56f097fdecea","unresolved":false,"context_lines":[{"line_number":115,"context_line":"                      \u0027caching is enabled this will determine if a cached \u0027"},{"line_number":116,"context_line":"                      \u0027entry will still be valid when the download starts. \u0027"},{"line_number":117,"context_line":"                      \u0027swift_temp_url_duration value must be greater than or \u0027"},{"line_number":118,"context_line":"                      \u0027equal to this option\\\u0027s value. Defaults to 0.\u0027)),"},{"line_number":119,"context_line":"]"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"CONF \u003d cfg.CONF"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_0d953fe3","line":118,"in_reply_to":"3a7e1126_6de3d1d9","updated":"2015-12-30 11:18:22.000000000","message":"Done","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1ef5036581e8e48a1bd1b6a3663480828a81bada","unresolved":false,"context_lines":[{"line_number":287,"context_line":"            raise exc.InvalidParameterValue(_("},{"line_number":288,"context_line":"                \u0027\"swift_temp_url_duration\" must be greater than or equal to \u0027"},{"line_number":289,"context_line":"                \u0027\"[glance]swift_temp_url_expected_download_start_delay\" \u0027"},{"line_number":290,"context_line":"                \u0027option, otherwise temp URL may expire before the download \u0027"},{"line_number":291,"context_line":"                \u0027starts.\u0027))"},{"line_number":292,"context_line":"        seed_num_chars \u003d CONF.glance.swift_store_multiple_containers_seed"},{"line_number":293,"context_line":"        if (seed_num_chars is None or seed_num_chars \u003c 0"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a7e1126_9f16604a","line":290,"updated":"2015-12-22 01:40:29.000000000","message":"s/temp/the Swift temporary/","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"ea2196bd4bcf1408a84cc0e686eb56f097fdecea","unresolved":false,"context_lines":[{"line_number":287,"context_line":"            raise exc.InvalidParameterValue(_("},{"line_number":288,"context_line":"                \u0027\"swift_temp_url_duration\" must be greater than or equal to \u0027"},{"line_number":289,"context_line":"                \u0027\"[glance]swift_temp_url_expected_download_start_delay\" \u0027"},{"line_number":290,"context_line":"                \u0027option, otherwise temp URL may expire before the download \u0027"},{"line_number":291,"context_line":"                \u0027starts.\u0027))"},{"line_number":292,"context_line":"        seed_num_chars \u003d CONF.glance.swift_store_multiple_containers_seed"},{"line_number":293,"context_line":"        if (seed_num_chars is None or seed_num_chars \u003c 0"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa69d971_cd9e4707","line":290,"in_reply_to":"3a7e1126_9f16604a","updated":"2015-12-30 11:18:22.000000000","message":"Done","commit_id":"c387636028846b6b805e50a3e35e8df9198353ed"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"df0b567f464527dc52a3b46a721f013ac5f2a83f","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                      \u0027enabled this will determine if a cached entry will \u0027"},{"line_number":70,"context_line":"                      \u0027still be valid when the download starts. \u0027"},{"line_number":71,"context_line":"                      \u0027swift_temp_url_duration value must be greater than or \u0027"},{"line_number":72,"context_line":"                      \u0027equal to this option\\\u0027s value. Defaults to 0.\u0027)),"},{"line_number":73,"context_line":"    cfg.StrOpt("},{"line_number":74,"context_line":"        \u0027swift_endpoint_url\u0027,"},{"line_number":75,"context_line":"        help\u003d_(\u0027The \"endpoint\" (scheme, hostname, optional port) for \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa69d971_02b0a9dc","line":72,"range":{"start_line":72,"start_character":67,"end_line":72,"end_character":72},"updated":"2015-12-30 12:00:27.000000000","message":"Seems like an operator, if they were to use this, would want the setting to be POST time plus IPA startup time.  Maybe that would make a little more sense to an operator?","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"2f8052d9467c79e38dc3ed135e236edfc9fc3396","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                      \u0027enabled this will determine if a cached entry will \u0027"},{"line_number":70,"context_line":"                      \u0027still be valid when the download starts. \u0027"},{"line_number":71,"context_line":"                      \u0027swift_temp_url_duration value must be greater than or \u0027"},{"line_number":72,"context_line":"                      \u0027equal to this option\\\u0027s value. Defaults to 0.\u0027)),"},{"line_number":73,"context_line":"    cfg.StrOpt("},{"line_number":74,"context_line":"        \u0027swift_endpoint_url\u0027,"},{"line_number":75,"context_line":"        help\u003d_(\u0027The \"endpoint\" (scheme, hostname, optional port) for \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"da6ed579_09fb0949","line":72,"range":{"start_line":72,"start_character":67,"end_line":72,"end_character":72},"in_reply_to":"da6ed579_2b30ea9d","updated":"2016-01-15 19:40:59.000000000","message":"I think the clarification looks good.   I think conceptually those operations are covered since the operator is able to grasp that the IPA ramdisk needs to be running for this use.","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a04d41654a0201dacb58a6ce7d1f39eb72d8d631","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                      \u0027enabled this will determine if a cached entry will \u0027"},{"line_number":70,"context_line":"                      \u0027still be valid when the download starts. \u0027"},{"line_number":71,"context_line":"                      \u0027swift_temp_url_duration value must be greater than or \u0027"},{"line_number":72,"context_line":"                      \u0027equal to this option\\\u0027s value. Defaults to 0.\u0027)),"},{"line_number":73,"context_line":"    cfg.StrOpt("},{"line_number":74,"context_line":"        \u0027swift_endpoint_url\u0027,"},{"line_number":75,"context_line":"        help\u003d_(\u0027The \"endpoint\" (scheme, hostname, optional port) for \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa69d971_d509ed32","line":72,"range":{"start_line":72,"start_character":67,"end_line":72,"end_character":72},"in_reply_to":"fa69d971_02b0a9dc","updated":"2015-12-30 12:26:45.000000000","message":"I\u0027ve added some more clarification in the docs patch. But this delay also includes these steps:\n\n    deploy_opts \u003d deploy_utils.build_agent_options(node)\n    task.driver.boot.prepare_ramdisk(task, deploy_opts)\n\nSo I\u0027m not sure the level of detail that should be added here. WDYT?","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a734bbb15d92dde229bea323e42685737fffd1d7","unresolved":false,"context_lines":[{"line_number":69,"context_line":"                      \u0027enabled this will determine if a cached entry will \u0027"},{"line_number":70,"context_line":"                      \u0027still be valid when the download starts. \u0027"},{"line_number":71,"context_line":"                      \u0027swift_temp_url_duration value must be greater than or \u0027"},{"line_number":72,"context_line":"                      \u0027equal to this option\\\u0027s value. Defaults to 0.\u0027)),"},{"line_number":73,"context_line":"    cfg.StrOpt("},{"line_number":74,"context_line":"        \u0027swift_endpoint_url\u0027,"},{"line_number":75,"context_line":"        help\u003d_(\u0027The \"endpoint\" (scheme, hostname, optional port) for \u0027"}],"source_content_type":"text/x-python","patch_set":5,"id":"da6ed579_2b30ea9d","line":72,"range":{"start_line":72,"start_character":67,"end_line":72,"end_character":72},"in_reply_to":"fa69d971_d509ed32","updated":"2016-01-13 09:57:57.000000000","message":"Hi Julia, I\u0027ve changed the description a bit, please take a look if it is good for you.","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"df0b567f464527dc52a3b46a721f013ac5f2a83f","unresolved":false,"context_lines":[{"line_number":166,"context_line":""},{"line_number":167,"context_line":"        Generates (or returns the cached one if caching is enabled) a"},{"line_number":168,"context_line":"        temporary URL that gives unauthenticated access to the Swift object."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"        :param path: The full path to the Swift object. Example:"},{"line_number":171,"context_line":"            /v1/AUTH_account/c/o."},{"line_number":172,"context_line":"        :param seconds: The amount of time in seconds the temporary URL will"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa69d971_22d60dc6","line":169,"updated":"2015-12-30 12:00:27.000000000","message":"Just a suggestion, but it may be worth mentioning the cache utilization in the method docstring.","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a04d41654a0201dacb58a6ce7d1f39eb72d8d631","unresolved":false,"context_lines":[{"line_number":166,"context_line":""},{"line_number":167,"context_line":"        Generates (or returns the cached one if caching is enabled) a"},{"line_number":168,"context_line":"        temporary URL that gives unauthenticated access to the Swift object."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"        :param path: The full path to the Swift object. Example:"},{"line_number":171,"context_line":"            /v1/AUTH_account/c/o."},{"line_number":172,"context_line":"        :param seconds: The amount of time in seconds the temporary URL will"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa69d971_d5d80df2","line":169,"in_reply_to":"fa69d971_22d60dc6","updated":"2015-12-30 12:26:45.000000000","message":"There is \"(or returns the cached one if caching is enabled)\" part, you mean to describe it in more detail?","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"2f8052d9467c79e38dc3ed135e236edfc9fc3396","unresolved":false,"context_lines":[{"line_number":166,"context_line":""},{"line_number":167,"context_line":"        Generates (or returns the cached one if caching is enabled) a"},{"line_number":168,"context_line":"        temporary URL that gives unauthenticated access to the Swift object."},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"        :param path: The full path to the Swift object. Example:"},{"line_number":171,"context_line":"            /v1/AUTH_account/c/o."},{"line_number":172,"context_line":"        :param seconds: The amount of time in seconds the temporary URL will"}],"source_content_type":"text/x-python","patch_set":5,"id":"da6ed579_0948e9cb","line":169,"in_reply_to":"fa69d971_d5d80df2","updated":"2016-01-15 19:40:59.000000000","message":"I was more meaning the configuration their of, but it works for me.","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"df0b567f464527dc52a3b46a721f013ac5f2a83f","unresolved":false,"context_lines":[{"line_number":286,"context_line":"        if (CONF.glance.swift_temp_url_duration \u003c"},{"line_number":287,"context_line":"                CONF.glance.swift_temp_url_expected_download_start_delay):"},{"line_number":288,"context_line":"            raise exc.InvalidParameterValue(_("},{"line_number":289,"context_line":"                \u0027\"swift_temp_url_duration\" must be greater than or equal to \u0027"},{"line_number":290,"context_line":"                \u0027\"[glance]swift_temp_url_expected_download_start_delay\" \u0027"},{"line_number":291,"context_line":"                \u0027option, otherwise the Swift temporary URL may expire before \u0027"},{"line_number":292,"context_line":"                \u0027the download starts.\u0027))"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa69d971_a21d1dbf","line":289,"range":{"start_line":289,"start_character":64,"end_line":289,"end_character":75},"updated":"2015-12-30 12:00:27.000000000","message":"\"equal to\" is misleading, especially when the operator is less than.","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"a04d41654a0201dacb58a6ce7d1f39eb72d8d631","unresolved":false,"context_lines":[{"line_number":286,"context_line":"        if (CONF.glance.swift_temp_url_duration \u003c"},{"line_number":287,"context_line":"                CONF.glance.swift_temp_url_expected_download_start_delay):"},{"line_number":288,"context_line":"            raise exc.InvalidParameterValue(_("},{"line_number":289,"context_line":"                \u0027\"swift_temp_url_duration\" must be greater than or equal to \u0027"},{"line_number":290,"context_line":"                \u0027\"[glance]swift_temp_url_expected_download_start_delay\" \u0027"},{"line_number":291,"context_line":"                \u0027option, otherwise the Swift temporary URL may expire before \u0027"},{"line_number":292,"context_line":"                \u0027the download starts.\u0027))"}],"source_content_type":"text/x-python","patch_set":5,"id":"fa69d971_55e2ddd6","line":289,"range":{"start_line":289,"start_character":64,"end_line":289,"end_character":75},"in_reply_to":"fa69d971_a21d1dbf","updated":"2015-12-30 12:26:45.000000000","message":"You mean you want to change this check to be\n\n if (CONF.glance.swift_temp_url_duration \u003c\u003d CONF.glance.swift_temp_url_expected_download_start_delay):\n\nOtherwise this message seems to be correct?","commit_id":"8f9b7398806722c985b2bb05901df85c25d8f09b"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"011b7cbed66e4d53f6c7a9d281805a844e89b94c","unresolved":false,"context_lines":[{"line_number":161,"context_line":"    def delete(self, image_id):"},{"line_number":162,"context_line":"        return self._delete(image_id, method\u003d\u0027delete\u0027)"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    def _generate_temp_url(self, path, seconds, key, method, endpoint,"},{"line_number":165,"context_line":"                           image_id):"},{"line_number":166,"context_line":"        \"\"\"Get Swift temporary URL."},{"line_number":167,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"da6ed579_41054d12","line":164,"range":{"start_line":164,"start_character":27,"end_line":164,"end_character":31},"updated":"2016-01-16 03:13:44.000000000","message":"Can a direct unit test be added for this function?\n\nI think this is being tested indirectly, but I don\u0027t see any unit tests that are calling this directly.","commit_id":"ddb763eeeb817e689b40af4ed3d8ce96d983ae5c"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"6a5beec8162e67a28ad7e2da8ee7ac53f0950673","unresolved":false,"context_lines":[{"line_number":161,"context_line":"    def delete(self, image_id):"},{"line_number":162,"context_line":"        return self._delete(image_id, method\u003d\u0027delete\u0027)"},{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    def _generate_temp_url(self, path, seconds, key, method, endpoint,"},{"line_number":165,"context_line":"                           image_id):"},{"line_number":166,"context_line":"        \"\"\"Get Swift temporary URL."},{"line_number":167,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"ba63e191_255fcce6","line":164,"range":{"start_line":164,"start_character":27,"end_line":164,"end_character":31},"in_reply_to":"da6ed579_41054d12","updated":"2016-01-19 18:01:00.000000000","message":"Done","commit_id":"ddb763eeeb817e689b40af4ed3d8ce96d983ae5c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"7a78f8e2778aa464d8886d0b1dc8b680371a958b","unresolved":false,"context_lines":[{"line_number":288,"context_line":"                CONF.glance.swift_temp_url_expected_download_start_delay):"},{"line_number":289,"context_line":"            raise exc.InvalidParameterValue(_("},{"line_number":290,"context_line":"                \u0027\"swift_temp_url_duration\" must be greater than or equal to \u0027"},{"line_number":291,"context_line":"                \u0027\"[glance]swift_temp_url_expected_download_start_delay\" \u0027"},{"line_number":292,"context_line":"                \u0027option, otherwise the Swift temporary URL may expire before \u0027"},{"line_number":293,"context_line":"                \u0027the download starts.\u0027))"},{"line_number":294,"context_line":"        seed_num_chars \u003d CONF.glance.swift_store_multiple_containers_seed"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba63e191_bcd2eefe","line":291,"updated":"2016-01-19 20:59:30.000000000","message":"we must have moved the configs from another group. Will the \u0027[glance]\u0027 be confusing since it is only here and not with swift_temp_url_duration? The other msgs don\u0027t prefix with the group so maybe we should remove \u0027[glance]\u0027. (Although I actually think it is clearer for the user if we specify the groups but I don\u0027t know what we\u0027ve done wrt the rest of our configs so that\u0027ll be another story.)","commit_id":"60aad944976c201983871a862a325f68aa82aa0a"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"68c4963e5c94d62dd20b656acde066d3dcc6e27b","unresolved":false,"context_lines":[{"line_number":345,"context_line":""},{"line_number":346,"context_line":"        return getattr(image_meta, \u0027direct_url\u0027, None)"},{"line_number":347,"context_line":""},{"line_number":348,"context_line":"    def _remove_expired_items_from_cache(self):"},{"line_number":349,"context_line":"        \"\"\"Remove expired items from temporary URL cache"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"        This function removes entries that will expire before the expected"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba63e191_a5abb288","line":348,"updated":"2016-01-19 21:16:49.000000000","message":"vdrok, sorry about this. But can we get unit tests for this function also?","commit_id":"60aad944976c201983871a862a325f68aa82aa0a"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"e7a6a978a302118b9302613f47e25497e1571466","unresolved":false,"context_lines":[{"line_number":345,"context_line":""},{"line_number":346,"context_line":"        return getattr(image_meta, \u0027direct_url\u0027, None)"},{"line_number":347,"context_line":""},{"line_number":348,"context_line":"    def _remove_expired_items_from_cache(self):"},{"line_number":349,"context_line":"        \"\"\"Remove expired items from temporary URL cache"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"        This function removes entries that will expire before the expected"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba63e191_c5b9067b","line":348,"in_reply_to":"ba63e191_a5abb288","updated":"2016-01-19 21:23:26.000000000","message":"Hi John, there is a test called test_remove_expired_items_from_cache in this change, it tests this function directly.","commit_id":"60aad944976c201983871a862a325f68aa82aa0a"},{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"53eec8b6d2d484c23f8ad60e8fa0cd5978e295ca","unresolved":false,"context_lines":[{"line_number":345,"context_line":""},{"line_number":346,"context_line":"        return getattr(image_meta, \u0027direct_url\u0027, None)"},{"line_number":347,"context_line":""},{"line_number":348,"context_line":"    def _remove_expired_items_from_cache(self):"},{"line_number":349,"context_line":"        \"\"\"Remove expired items from temporary URL cache"},{"line_number":350,"context_line":""},{"line_number":351,"context_line":"        This function removes entries that will expire before the expected"}],"source_content_type":"text/x-python","patch_set":7,"id":"ba63e191_710fb82e","line":348,"in_reply_to":"ba63e191_c5b9067b","updated":"2016-01-19 22:42:17.000000000","message":"My bad :( New Gerrit interface messed me up. Tried to use Edit-\u003eFind in the browser and that doesn\u0027t work. Forced to use the Gerrit find.","commit_id":"60aad944976c201983871a862a325f68aa82aa0a"}]}
