)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"943ea762951d570d681eb7cffeb0923934c99709","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"bf7c952f_336fa114","updated":"2026-11-18 15:05:38.000000000","message":"Is it tested locally (as in manual verification for each flow, upload, import and parallel import)? If yest the I will avoid doing that.","commit_id":"462a46af924cc247b3576c901aaffd77e18cbb66"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"5f2a9d7b3a57df905b08deb9a7920c942ab417b4","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"029b8406_3733f5ea","updated":"2026-11-18 15:51:41.000000000","message":"You should increase the oslo.utils version to 10.3.0 to avoid logging of key in logs","commit_id":"462a46af924cc247b3576c901aaffd77e18cbb66"}],"glance/async_/flows/parallel_api_image_import.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"12578a3347f5bad5ae53e24a8c93dabef9cb38fb","unresolved":true,"context_lines":[{"line_number":217,"context_line":"                    \u0027actual\u0027: size}"},{"line_number":218,"context_line":"            raise exception.ImportTaskError(msg)"},{"line_number":219,"context_line":""},{"line_number":220,"context_line":"        upload_data \u003d _prepare_upload_data("},{"line_number":221,"context_line":"            data_iter, image.container_format, image.disk_format,"},{"line_number":222,"context_line":"            context\u003dcontext, extra_properties\u003dimage.extra_properties)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        def _check_task_still_running(chunk_bytes, total_bytes):"},{"line_number":225,"context_line":"            if cancel_event.is_set():"}],"source_content_type":"text/x-python","patch_set":1,"id":"a91698d8_5ff3ef33","line":222,"range":{"start_line":220,"start_character":0,"end_line":222,"end_character":69},"updated":"2026-11-18 16:42:08.000000000","message":"I think we are doing LUKS deep inspection two times here. First in _verify_staged_image_format(), and again in _prepare_upload_data() for every store copy. With six stores, key is fetched seven times and image is decrypted seven times. Can we inspect staged data only once, and then copy verified bytes to each store?","commit_id":"462a46af924cc247b3576c901aaffd77e18cbb66"}],"glance/common/utils.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"12578a3347f5bad5ae53e24a8c93dabef9cb38fb","unresolved":true,"context_lines":[{"line_number":510,"context_line":"    logger whenever Glance passes a passphrase, so a DEBUG glance-api"},{"line_number":511,"context_line":"    log does not print the key."},{"line_number":512,"context_line":"    \"\"\""},{"line_number":513,"context_line":"    stdlib_logging.getLogger("},{"line_number":514,"context_line":"        \u0027oslo_utils.imageutils._luks\u0027).setLevel(stdlib_logging.INFO)"},{"line_number":515,"context_line":""},{"line_number":516,"context_line":""},{"line_number":517,"context_line":"def get_luks_inspect_params(context, extra_properties):"}],"source_content_type":"text/x-python","patch_set":1,"id":"493902e9_7b060b15","line":514,"range":{"start_line":513,"start_character":0,"end_line":514,"end_character":68},"updated":"2026-11-18 16:42:08.000000000","message":"This workaround changes global logger level to INFO. Since oslo.utils 10.3.0 already has fix, can we bump minimum requirement and remove this code?","commit_id":"462a46af924cc247b3576c901aaffd77e18cbb66"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"12578a3347f5bad5ae53e24a8c93dabef9cb38fb","unresolved":true,"context_lines":[{"line_number":559,"context_line":"_LUKS_INSPECT_CHUNK \u003d 64 * 1024"},{"line_number":560,"context_line":""},{"line_number":561,"context_line":""},{"line_number":562,"context_line":"def _chunk_inspect_wrapper(wrapper):"},{"line_number":563,"context_line":"    \"\"\"Split large reads so LUKS payload capture can complete.\"\"\""},{"line_number":564,"context_line":"    orig \u003d wrapper._process_chunk"},{"line_number":565,"context_line":""},{"line_number":566,"context_line":"    def _process_chunk(chunk):"},{"line_number":567,"context_line":"        if len(chunk) \u003c\u003d _LUKS_INSPECT_CHUNK:"},{"line_number":568,"context_line":"            return orig(chunk)"},{"line_number":569,"context_line":"        for offset in range(0, len(chunk), _LUKS_INSPECT_CHUNK):"},{"line_number":570,"context_line":"            orig(chunk[offset:offset + _LUKS_INSPECT_CHUNK])"},{"line_number":571,"context_line":""},{"line_number":572,"context_line":"    wrapper._process_chunk \u003d _process_chunk"},{"line_number":573,"context_line":"    return wrapper"},{"line_number":574,"context_line":""},{"line_number":575,"context_line":""},{"line_number":576,"context_line":"def wrap_image_data_for_inspection(data, container_format, disk_format,"}],"source_content_type":"text/x-python","patch_set":1,"id":"b8a65549_eaf098fe","line":573,"range":{"start_line":562,"start_character":0,"end_line":573,"end_character":18},"updated":"2026-11-18 16:42:08.000000000","message":"_chunk_inspect_wrapper() replaces InspectWrapper._process_chunk, but this looks private API of oslo.utils. If oslo.utils changes inside, this can break. Is there supported way to chunk input, or should this fix go in oslo.utils?","commit_id":"462a46af924cc247b3576c901aaffd77e18cbb66"}],"glance/tests/unit/async_/flows/test_parallel_api_image_import.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"12578a3347f5bad5ae53e24a8c93dabef9cb38fb","unresolved":true,"context_lines":[{"line_number":271,"context_line":"    @mock.patch(\u0027glance.async_.flows.parallel_api_image_import.\u0027"},{"line_number":272,"context_line":"                \u0027script_utils.get_image_data_iter\u0027)"},{"line_number":273,"context_line":"    def test_staged_format_accepts_valid_luks(self, mock_get):"},{"line_number":274,"context_line":"        self.config(enable_luks_deep_inspection\u003dFalse, group\u003d\u0027image_format\u0027)"},{"line_number":275,"context_line":"        payload \u003d self._luks_bytes()"},{"line_number":276,"context_line":"        for disk_format in (\u0027raw\u0027, \u0027gpt\u0027):"},{"line_number":277,"context_line":"            mock_get.return_value \u003d (io.BytesIO(payload), len(payload))"}],"source_content_type":"text/x-python","patch_set":1,"id":"5377f094_92585183","line":274,"range":{"start_line":274,"start_character":8,"end_line":274,"end_character":76},"updated":"2026-11-18 16:42:08.000000000","message":"These staged tests disable deep inspection. Can we add one test with deep inspection enabled? It would be good to check key is fetched only once, not once per store.","commit_id":"462a46af924cc247b3576c901aaffd77e18cbb66"}]}
