)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":36227,"name":"Katarina Strenkova","email":"kstrenko@redhat.com","username":"kstrenko"},"change_message_id":"e27c6f43b88067be3a746b6ed1903288c7ff96f0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"51ce24bd_5101e216","updated":"2026-09-02 14:04:37.000000000","message":"Nice patch. I added small suggestions to the code, I hope it makes sense to you.","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"12cd7eb531d5b4bcec103a453c8435f22ffbf69a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"85995d63_a3e0f408","updated":"2026-07-15 14:45:35.000000000","message":"S3 backend configurations is enabled in glance-s3-multistore job in https://review.opendev.org/c/openstack/glance/+/997191","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"f30ca17f9586e83e9a3b5ee8ceeb19364a8eb3cc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"082166cb_75d58b8e","updated":"2026-08-26 07:56:55.000000000","message":"Test run in `glance-s3-multistore` job","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"4d8bb9a5edd85f8cfb5c49fb20f6c873ab01755f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"314a820d_1483260a","updated":"2026-11-06 17:24:54.000000000","message":"Just one thing: can you please add a release note item?","commit_id":"f6aeaca7fe7c9f3e5a3d1750b5564584b2d17de6"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"5e7f218d6f75e06d458705e653311e796797dec2","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"7296ab55_4534e589","updated":"2026-10-06 09:30:42.000000000","message":"recheck","commit_id":"f6aeaca7fe7c9f3e5a3d1750b5564584b2d17de6"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"df82cefe866efbdc10f839a8e431b14d63f04b57","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"88bebbd9_42a549ce","updated":"2026-10-08 13:10:47.000000000","message":"recheck","commit_id":"f6aeaca7fe7c9f3e5a3d1750b5564584b2d17de6"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"738daab671f43806cd4716bcf3e5516f523c93af","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"d9b0afe9_a4c2fc8b","updated":"2026-10-18 16:31:55.000000000","message":"recheck","commit_id":"f6aeaca7fe7c9f3e5a3d1750b5564584b2d17de6"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"7628fbf759d30121935382f2b06c4f6382d32261","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"46efc843_2075ed78","updated":"2026-11-11 10:15:30.000000000","message":"recheck\n\nA bunch of failures downloading cirros image","commit_id":"323a002a71cd97eb80896781832270996ca82511"}],"config_tempest/services/image.py":[{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"660f3687143a62b25115867c0e55b3fa767e9024","unresolved":true,"context_lines":[{"line_number":97,"context_line":"                       \u0027to the stores information\u0027)"},{"line_number":98,"context_line":"            return []"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    def _is_multistore_enabled(self, stores\u003dNone):"},{"line_number":101,"context_line":"        if stores is None:"},{"line_number":102,"context_line":"            stores \u003d self._get_stores()"},{"line_number":103,"context_line":"        return len(stores) \u003e 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"2d18578b_890a1f44","line":100,"updated":"2026-09-02 12:44:01.000000000","message":"as we use this function just once, and stores can\u0027t really be None (_get_store always returns an array), why not remove this completely and change line 60 with a simple if len(stores) \u003e 0 ?","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"1ec17417318580868481d6a9c62559d442ee1160","unresolved":false,"context_lines":[{"line_number":97,"context_line":"                       \u0027to the stores information\u0027)"},{"line_number":98,"context_line":"            return []"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    def _is_multistore_enabled(self, stores\u003dNone):"},{"line_number":101,"context_line":"        if stores is None:"},{"line_number":102,"context_line":"            stores \u003d self._get_stores()"},{"line_number":103,"context_line":"        return len(stores) \u003e 0"}],"source_content_type":"text/x-python","patch_set":2,"id":"d4b01e86_f5aadc1b","line":100,"in_reply_to":"2d18578b_890a1f44","updated":"2026-10-05 05:42:19.000000000","message":"Done","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":36227,"name":"Katarina Strenkova","email":"kstrenko@redhat.com","username":"kstrenko"},"change_message_id":"e27c6f43b88067be3a746b6ed1903288c7ff96f0","unresolved":true,"context_lines":[{"line_number":102,"context_line":"            stores \u003d self._get_stores()"},{"line_number":103,"context_line":"        return len(stores) \u003e 0"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    def _has_s3_store(self, stores\u003dNone):"},{"line_number":106,"context_line":"        if stores is None:"},{"line_number":107,"context_line":"            stores \u003d self._get_stores()"},{"line_number":108,"context_line":"        for store in stores:"}],"source_content_type":"text/x-python","patch_set":2,"id":"db21cab4_f2050893","line":105,"updated":"2026-09-02 14:04:37.000000000","message":"Something on a similar note to what Luigi said, but isn\u0027t the `stores\u003dNone` never used when this function is called? Maybe it could be `_has_s3_store(self, stores)` explicitly and then the `if stores is None` is not necessary.","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"1ec17417318580868481d6a9c62559d442ee1160","unresolved":false,"context_lines":[{"line_number":102,"context_line":"            stores \u003d self._get_stores()"},{"line_number":103,"context_line":"        return len(stores) \u003e 0"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"    def _has_s3_store(self, stores\u003dNone):"},{"line_number":106,"context_line":"        if stores is None:"},{"line_number":107,"context_line":"            stores \u003d self._get_stores()"},{"line_number":108,"context_line":"        for store in stores:"}],"source_content_type":"text/x-python","patch_set":2,"id":"e0df5014_a8f36ef6","line":105,"in_reply_to":"db21cab4_f2050893","updated":"2026-10-05 05:42:19.000000000","message":"Done","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":36227,"name":"Katarina Strenkova","email":"kstrenko@redhat.com","username":"kstrenko"},"change_message_id":"e27c6f43b88067be3a746b6ed1903288c7ff96f0","unresolved":true,"context_lines":[{"line_number":106,"context_line":"        if stores is None:"},{"line_number":107,"context_line":"            stores \u003d self._get_stores()"},{"line_number":108,"context_line":"        for store in stores:"},{"line_number":109,"context_line":"            if \u0027s3\u0027 in store.get(\u0027id\u0027, \u0027\u0027).lower():"},{"line_number":110,"context_line":"                return True"},{"line_number":111,"context_line":"        return False"},{"line_number":112,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"bc0476dd_ef794880","line":109,"updated":"2026-09-02 14:04:37.000000000","message":"Just double-checking, but will this not return false positives if we check for substring `s3` only?","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"1ec17417318580868481d6a9c62559d442ee1160","unresolved":false,"context_lines":[{"line_number":106,"context_line":"        if stores is None:"},{"line_number":107,"context_line":"            stores \u003d self._get_stores()"},{"line_number":108,"context_line":"        for store in stores:"},{"line_number":109,"context_line":"            if \u0027s3\u0027 in store.get(\u0027id\u0027, \u0027\u0027).lower():"},{"line_number":110,"context_line":"                return True"},{"line_number":111,"context_line":"        return False"},{"line_number":112,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"78815bf2_c2848aa4","line":109,"in_reply_to":"bc0476dd_ef794880","updated":"2026-10-05 05:42:19.000000000","message":"Done","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"8763aa996a2f6b47ba4640ceebb4767eb65d0efb","unresolved":true,"context_lines":[{"line_number":61,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027import_image\u0027, \u0027True\u0027)"},{"line_number":62,"context_line":"        if self._has_s3_store(stores):"},{"line_number":63,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027s3_store\u0027, \u0027True\u0027)"},{"line_number":64,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_host\u0027, \u0027\u0027)"},{"line_number":65,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_access_key\u0027, \u0027\u0027)"},{"line_number":66,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_secret_key\u0027, \u0027\u0027)"},{"line_number":67,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_large_object_size\u0027, \u00270\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"9ff558f8_291c9d52","line":64,"updated":"2026-11-11 14:51:11.000000000","message":"just one thing: if an s3 store is detected, but the user does not pass any value, nothing will work. A possible alternative would be to not set the value if those variables are not set at all (the user does not set them). Or at least maybe write down a LOG.warning if those values are not set. Not sure.","commit_id":"323a002a71cd97eb80896781832270996ca82511"},{"author":{"_account_id":10459,"name":"Luigi Toscano","email":"ltoscano@redhat.com","username":"ltoscano"},"change_message_id":"f76a42f3ebf21ad7e3d405cecf962d7a0693694c","unresolved":false,"context_lines":[{"line_number":61,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027import_image\u0027, \u0027True\u0027)"},{"line_number":62,"context_line":"        if self._has_s3_store(stores):"},{"line_number":63,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027s3_store\u0027, \u0027True\u0027)"},{"line_number":64,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_host\u0027, \u0027\u0027)"},{"line_number":65,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_access_key\u0027, \u0027\u0027)"},{"line_number":66,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_secret_key\u0027, \u0027\u0027)"},{"line_number":67,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_large_object_size\u0027, \u00270\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"8fb51e72_2253cf34","line":64,"in_reply_to":"371d35b1_8cce9eef","updated":"2026-11-30 08:18:47.000000000","message":"I only see a change in a test?","commit_id":"323a002a71cd97eb80896781832270996ca82511"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"e804ae539b86463da8b7c5ba9020db5eda4ab68a","unresolved":false,"context_lines":[{"line_number":61,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027import_image\u0027, \u0027True\u0027)"},{"line_number":62,"context_line":"        if self._has_s3_store(stores):"},{"line_number":63,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027s3_store\u0027, \u0027True\u0027)"},{"line_number":64,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_host\u0027, \u0027\u0027)"},{"line_number":65,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_access_key\u0027, \u0027\u0027)"},{"line_number":66,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_secret_key\u0027, \u0027\u0027)"},{"line_number":67,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_large_object_size\u0027, \u00270\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"62334023_406f87e6","line":64,"in_reply_to":"8fb51e72_2253cf34","updated":"2026-11-30 08:47:00.000000000","message":"I think at l#93 you can find log message and all logic if user don\u0027t set s3 configs","commit_id":"323a002a71cd97eb80896781832270996ca82511"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"e6852362c233cd8c3e5d056c82ee39e1ea33c6f4","unresolved":false,"context_lines":[{"line_number":61,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027import_image\u0027, \u0027True\u0027)"},{"line_number":62,"context_line":"        if self._has_s3_store(stores):"},{"line_number":63,"context_line":"            conf.set(\u0027image-feature-enabled\u0027, \u0027s3_store\u0027, \u0027True\u0027)"},{"line_number":64,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_host\u0027, \u0027\u0027)"},{"line_number":65,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_access_key\u0027, \u0027\u0027)"},{"line_number":66,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_secret_key\u0027, \u0027\u0027)"},{"line_number":67,"context_line":"            conf.set(\u0027image\u0027, \u0027s3_store_large_object_size\u0027, \u00270\u0027)"}],"source_content_type":"text/x-python","patch_set":4,"id":"371d35b1_8cce9eef","line":64,"in_reply_to":"9ff558f8_291c9d52","updated":"2026-11-29 14:08:27.000000000","message":"Done","commit_id":"323a002a71cd97eb80896781832270996ca82511"}],"config_tempest/tests/services/test_image.py":[{"author":{"_account_id":36227,"name":"Katarina Strenkova","email":"kstrenko@redhat.com","username":"kstrenko"},"change_message_id":"e27c6f43b88067be3a746b6ed1903288c7ff96f0","unresolved":true,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    @mock.patch(\u0027config_tempest.services.image.ImageService._get_stores\u0027)"},{"line_number":229,"context_line":"    def test_has_s3_store_true(self, mock_get_stores):"},{"line_number":230,"context_line":"        mock_get_stores.return_value \u003d [{\u0027id\u0027: \u0027file\u0027}, {\u0027id\u0027: \u0027s3\u0027}]"},{"line_number":231,"context_line":"        self.assertTrue(self.Service._has_s3_store())"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"    @mock.patch(\u0027config_tempest.services.image.ImageService._get_stores\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"04068b59_fb7481cf","line":230,"updated":"2026-09-02 14:04:37.000000000","message":"This might not need a mock if my suggestion is implemented. Setting stores \u003d [...] and passing it to `_has_s3_store(stores)` should be enough. Same for the other `has_s3_store` tests.","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"},{"author":{"_account_id":34510,"name":"Maxim Sava","email":"msava@redhat.com","username":"msava@redhat.com"},"change_message_id":"1ec17417318580868481d6a9c62559d442ee1160","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    @mock.patch(\u0027config_tempest.services.image.ImageService._get_stores\u0027)"},{"line_number":229,"context_line":"    def test_has_s3_store_true(self, mock_get_stores):"},{"line_number":230,"context_line":"        mock_get_stores.return_value \u003d [{\u0027id\u0027: \u0027file\u0027}, {\u0027id\u0027: \u0027s3\u0027}]"},{"line_number":231,"context_line":"        self.assertTrue(self.Service._has_s3_store())"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"    @mock.patch(\u0027config_tempest.services.image.ImageService._get_stores\u0027)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff72467c_f0f9ec69","line":230,"in_reply_to":"04068b59_fb7481cf","updated":"2026-10-05 05:42:19.000000000","message":"Done","commit_id":"8893385bbb3e76c4930d177aa10482e1422aaac7"}]}
