)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"99cf00035f79d5eadfb5863eccf4975f2d4c6bd8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"c607bde1_7f7d9f8e","updated":"2024-08-28 13:44:14.000000000","message":"Just curious whether we need to consider upgrade scenario here, there are two ways to consider it.\n\nOption 1: Instead of renaming existing value in db I think we should insert new property with existing value and then in following cycle delete the existing properties.\n\nOption 2: In code wherever old properties are used, we should also check new property name with OR condition and then remove old property key from the code in following cycle.","commit_id":"76dfa5a37bfc4aa3f357152846c56152f0e960a7"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"c77d77c95dffa5771f5cb405ea30fe61d222ba97","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"59f20b19_a04b5ba0","updated":"2024-08-28 07:24:40.000000000","message":"Thank you Abhishek, that really solved my problems. Now I can run the migration.","commit_id":"76dfa5a37bfc4aa3f357152846c56152f0e960a7"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"d95b1e5e52bd49acdd4f9878898c7dbf519eab6f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"c7f7d960_2f6a7e73","updated":"2024-08-28 15:00:14.000000000","message":"recheck - 3 unrelated tests failed with a time-out","commit_id":"76dfa5a37bfc4aa3f357152846c56152f0e960a7"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"bfe0462369838a4845cf2b8796d470f73d2e4f0c","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":5,"id":"bff94f85_37a07816","in_reply_to":"311912da_03de4e70","updated":"2024-08-28 14:21:26.000000000","message":"yeah this patch depends on the glance patch - I have this in the commit message:\n\"Depends-On: I3a030b1e044653a6470377f58eeed5baf779b7c3\".\nSo this patch will only be merged, when the other Glance patch for the Image Encryption is merged, right?","commit_id":"76dfa5a37bfc4aa3f357152846c56152f0e960a7"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0bd3d84cd6990d017855e044bb71d6a562e98822","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":5,"id":"311912da_03de4e70","in_reply_to":"9bc94803_891d367a","updated":"2024-08-28 14:17:44.000000000","message":"yeah, this is sufficient but I think this should get merged prior to migration chnage.","commit_id":"76dfa5a37bfc4aa3f357152846c56152f0e960a7"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"5d1f47188e37e2a17bcd81e6b8bc30cf90a77c43","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"1a481dd7_77a5d89b","in_reply_to":"bff94f85_37a07816","updated":"2024-08-28 14:34:18.000000000","message":"Yep, sorry I missed that","commit_id":"76dfa5a37bfc4aa3f357152846c56152f0e960a7"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"28580f9d9292dd8b6f29b012871754823dd26ffa","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":5,"id":"9bc94803_891d367a","in_reply_to":"c607bde1_7f7d9f8e","updated":"2024-08-28 14:14:53.000000000","message":"regarding Option 2: We have this in the Cinder and Glance patches for the Image Encryption. E.g.: https://review.opendev.org/c/openstack/cinder/+/926298/3/cinder/image/glance.py\n\nSo would this be sufficient?","commit_id":"76dfa5a37bfc4aa3f357152846c56152f0e960a7"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"8daa1e2ec1ab09c4b9bd5969c3216072b02513d5","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"76f51923_bf110d20","updated":"2025-08-27 13:14:50.000000000","message":"Hi, to follow up on this patch (and image encryption at all): was everything answered sufficiently? Is there still anything blocking?","commit_id":"249ca7dc00c9903bfd977455e246b6ce41a4925b"},{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"9f89f8f748987e778d9a2315424349dd5ac735f6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"221142be_0d00e62c","updated":"2025-07-08 15:16:15.000000000","message":"Just a couple of questions, but I\u0027m not super familiar with alembic migrations so I might just be confused.\n\n@akekane@redhat.com We always have db migration patches as separate patches, right? No chance this can be squashed with https://review.opendev.org/c/openstack/glance/+/926295 ?","commit_id":"249ca7dc00c9903bfd977455e246b6ce41a4925b"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"eacf58f796d22afa508ddbe26d301afe1d9bf3fe","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"429da8ef_03d717d9","in_reply_to":"221142be_0d00e62c","updated":"2025-07-08 15:50:20.000000000","message":"why do you want to be a part of #926295 any specific reason?\nI think it should be better to be a separate one.","commit_id":"249ca7dc00c9903bfd977455e246b6ce41a4925b"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"bbc2c231b595059981696cfd91bafd81da32c0cc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"3ca5e3f3_cdd4020c","updated":"2025-12-11 16:40:01.000000000","message":"Also you need to add functional tests for this change.","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0ba9bf885b94e9c3403189f32e63b6d964339f0a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"13e33ccc_49efba80","updated":"2025-12-11 15:40:23.000000000","message":"Hi Luzi,\nCould you please try suggested changes? Let me know whether it works or not!","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"e06e0c91212641be3ee5556f562d96208e590a53","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"9fb5a099_2447a8f5","updated":"2025-12-12 09:37:56.000000000","message":"Thank you Abhishek, it works now. I will add unit tests soon.","commit_id":"bfec46cbeb6d26eed5a605955c98306551f8bd31"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"681e509251b54e01ada156c27badf35e34ec6126","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"cecd8cdc_a1abc081","updated":"2025-12-12 09:44:14.000000000","message":"luzi glad it worked, let me know if you need help in adding functional tests","commit_id":"bfec46cbeb6d26eed5a605955c98306551f8bd31"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":15,"id":"e5b3dcf3_92bda911","updated":"2026-11-13 13:28:26.000000000","message":"Abhishek, thank you for your thorough review and guidance!\n\nI am sorry for completely missing updating the functional tests as well.\n\nI have overhauled them accordingly and tested them locally using a mysql database.","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":15,"id":"7e517108_86ad3390","updated":"2026-11-12 18:39:50.000000000","message":"It should have upgrade release note describing the one-way data migration, property renames, added os_encrypt_format\u003dLUKSv1, and container-format update.\n\nAlso new migration files omit the copyright lines.\n\nBetter to have additional coverage for multiple images, an image already having os_encrypt_format, deletion-policy-only images, rerun after partial migration, exact property names/values, legacy-property removal, and container-format conversion.","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"}],"glance/db/sqlalchemy/alembic_migrations/data_migrations/2024_2_migrate01_rename_encryption_metadata.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"23750163609d34784086ae2b094c21ff39c1c3de","unresolved":true,"context_lines":[{"line_number":25,"context_line":"    meta \u003d MetaData()"},{"line_number":26,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, meta, autoload_with\u003dengine)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    cinder_key \u003d \u0027cinder_encryption_key_id\u0027"},{"line_number":29,"context_line":"    cinder_deletion \u003d \u0027cinder_encryption_key_deletion_policy\u0027"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    with engine.connect() as conn:"},{"line_number":32,"context_line":"        rows_with_cinder_metadata \u003d conn.execute("}],"source_content_type":"text/x-python","patch_set":3,"id":"fe106e82_e608c723","line":29,"range":{"start_line":28,"start_character":4,"end_line":29,"end_character":61},"updated":"2024-08-28 04:52:05.000000000","message":"Also you can move this outside function to make this module level variable so that it can be used in both functions,\n\ndeclare it before line 18 like;\nCINDER_KEY \u003d \u0027cinder_encryption_key_id\u0027\nCINDER_DELETION \u003d \u0027cinder_encryption_key_deletion_policy\u0027","commit_id":"8daa4672b0e88a27e1445aa7e6c4657af1c9064a"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"c77d77c95dffa5771f5cb405ea30fe61d222ba97","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    meta \u003d MetaData()"},{"line_number":26,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, meta, autoload_with\u003dengine)"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"    cinder_key \u003d \u0027cinder_encryption_key_id\u0027"},{"line_number":29,"context_line":"    cinder_deletion \u003d \u0027cinder_encryption_key_deletion_policy\u0027"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    with engine.connect() as conn:"},{"line_number":32,"context_line":"        rows_with_cinder_metadata \u003d conn.execute("}],"source_content_type":"text/x-python","patch_set":3,"id":"afec6ffa_048849d3","line":29,"range":{"start_line":28,"start_character":4,"end_line":29,"end_character":61},"in_reply_to":"fe106e82_e608c723","updated":"2024-08-28 07:24:40.000000000","message":"Done","commit_id":"8daa4672b0e88a27e1445aa7e6c4657af1c9064a"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d9cbb217a965158c1db27e5cabc04c586701dc95","unresolved":true,"context_lines":[{"line_number":31,"context_line":"    with engine.connect() as conn:"},{"line_number":32,"context_line":"        rows_with_cinder_metadata \u003d conn.execute("},{"line_number":33,"context_line":"            select(image_properties.c.name).where("},{"line_number":34,"context_line":"                and_("},{"line_number":35,"context_line":"                    image_properties.c.name \u003d\u003d cinder_key,"},{"line_number":36,"context_line":"                    image_properties.c.name \u003d\u003d cinder_deletion"},{"line_number":37,"context_line":"                )"}],"source_content_type":"text/x-python","patch_set":3,"id":"f3f93557_fea14182","line":34,"range":{"start_line":34,"start_character":16,"end_line":34,"end_character":20},"updated":"2024-08-27 14:10:35.000000000","message":"I think you need to separate this with or\n\nhttps://paste.openstack.org/show/bkJzD1JH0FD0pVLCMv1q/","commit_id":"8daa4672b0e88a27e1445aa7e6c4657af1c9064a"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"c77d77c95dffa5771f5cb405ea30fe61d222ba97","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    with engine.connect() as conn:"},{"line_number":32,"context_line":"        rows_with_cinder_metadata \u003d conn.execute("},{"line_number":33,"context_line":"            select(image_properties.c.name).where("},{"line_number":34,"context_line":"                and_("},{"line_number":35,"context_line":"                    image_properties.c.name \u003d\u003d cinder_key,"},{"line_number":36,"context_line":"                    image_properties.c.name \u003d\u003d cinder_deletion"},{"line_number":37,"context_line":"                )"}],"source_content_type":"text/x-python","patch_set":3,"id":"e6142e65_299884cb","line":34,"range":{"start_line":34,"start_character":16,"end_line":34,"end_character":20},"in_reply_to":"f3f93557_fea14182","updated":"2024-08-28 07:24:40.000000000","message":"Done","commit_id":"8daa4672b0e88a27e1445aa7e6c4657af1c9064a"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"23750163609d34784086ae2b094c21ff39c1c3de","unresolved":true,"context_lines":[{"line_number":78,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, metadata,"},{"line_number":79,"context_line":"                             autoload_with\u003dengine)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    return _rename_cinder_encryption_parameters(image_properties)"}],"source_content_type":"text/x-python","patch_set":3,"id":"bc9216b3_0593ee6b","line":81,"range":{"start_line":81,"start_character":48,"end_line":81,"end_character":64},"updated":"2024-08-28 04:52:05.000000000","message":"I think you also need to pass engine here as a parameter","commit_id":"8daa4672b0e88a27e1445aa7e6c4657af1c9064a"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"c77d77c95dffa5771f5cb405ea30fe61d222ba97","unresolved":false,"context_lines":[{"line_number":78,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, metadata,"},{"line_number":79,"context_line":"                             autoload_with\u003dengine)"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"    return _rename_cinder_encryption_parameters(image_properties)"}],"source_content_type":"text/x-python","patch_set":3,"id":"78e4c86b_9370606a","line":81,"range":{"start_line":81,"start_character":48,"end_line":81,"end_character":64},"in_reply_to":"bc9216b3_0593ee6b","updated":"2024-08-28 07:24:40.000000000","message":"Done","commit_id":"8daa4672b0e88a27e1445aa7e6c4657af1c9064a"}],"glance/db/sqlalchemy/alembic_migrations/data_migrations/2026_1_migrate01_rename_encryption_metadata.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0ba9bf885b94e9c3403189f32e63b6d964339f0a","unresolved":true,"context_lines":[{"line_number":25,"context_line":"    there are rows with the name \u0027cinder_encryption_key_id\u0027 or"},{"line_number":26,"context_line":"    \u0027cinder_encryption_key_deletion_policy\u0027."},{"line_number":27,"context_line":"    \"\"\""},{"line_number":28,"context_line":"    meta \u003d MetaData()"},{"line_number":29,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, meta, autoload_with\u003dengine)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    with engine.connect() as conn:"}],"source_content_type":"text/x-python","patch_set":10,"id":"e8c43da9_8db564d6","line":28,"updated":"2025-12-11 15:40:23.000000000","message":"```suggestion\n    meta \u003d MetaData()\n    image_properties \u003d Table(\u0027image_properties\u0027, meta, autoload_with\u003dengine)\n\n    with engine.connect() as conn:\n        result \u003d conn.execute(\n            select(image_properties.c.name).where(\n                or_(\n                    image_properties.c.name \u003d\u003d CINDER_KEY,\n                    image_properties.c.name \u003d\u003d CINDER_DELETION\n                )\n            ).limit(1)\n        )\n        # Fetch the first row to check if any exist\n        row \u003d result.fetchone()\n\n    return row is not None\n```","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"4274b877c01eb5b52a6fb80801db08ad2fc4951b","unresolved":true,"context_lines":[{"line_number":25,"context_line":"    there are rows with the name \u0027cinder_encryption_key_id\u0027 or"},{"line_number":26,"context_line":"    \u0027cinder_encryption_key_deletion_policy\u0027."},{"line_number":27,"context_line":"    \"\"\""},{"line_number":28,"context_line":"    meta \u003d MetaData()"},{"line_number":29,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, meta, autoload_with\u003dengine)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    with engine.connect() as conn:"}],"source_content_type":"text/x-python","patch_set":10,"id":"8cdaac65_1dbc93d7","line":28,"in_reply_to":"678e1a7f_7ccf10bf","updated":"2025-12-11 16:50:39.000000000","message":"The issue is that has_migrations() uses rowcount, which returns -1 for SELECT in SQLAlchemy 2.0, so it always returns False. So better to make suggested changes","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"e06e0c91212641be3ee5556f562d96208e590a53","unresolved":false,"context_lines":[{"line_number":25,"context_line":"    there are rows with the name \u0027cinder_encryption_key_id\u0027 or"},{"line_number":26,"context_line":"    \u0027cinder_encryption_key_deletion_policy\u0027."},{"line_number":27,"context_line":"    \"\"\""},{"line_number":28,"context_line":"    meta \u003d MetaData()"},{"line_number":29,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, meta, autoload_with\u003dengine)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    with engine.connect() as conn:"}],"source_content_type":"text/x-python","patch_set":10,"id":"17ef26ce_a8daebc8","line":28,"in_reply_to":"8cdaac65_1dbc93d7","updated":"2025-12-12 09:37:56.000000000","message":"I integrated it.","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"cd9e82213f320a9ecc363e0433ff8c2476586429","unresolved":true,"context_lines":[{"line_number":25,"context_line":"    there are rows with the name \u0027cinder_encryption_key_id\u0027 or"},{"line_number":26,"context_line":"    \u0027cinder_encryption_key_deletion_policy\u0027."},{"line_number":27,"context_line":"    \"\"\""},{"line_number":28,"context_line":"    meta \u003d MetaData()"},{"line_number":29,"context_line":"    image_properties \u003d Table(\u0027image_properties\u0027, meta, autoload_with\u003dengine)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    with engine.connect() as conn:"}],"source_content_type":"text/x-python","patch_set":10,"id":"678e1a7f_7ccf10bf","line":28,"in_reply_to":"e8c43da9_8db564d6","updated":"2025-12-11 16:36:07.000000000","message":"this is just improvement, the other change at line #61 should be enough for this to work","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"0ba9bf885b94e9c3403189f32e63b6d964339f0a","unresolved":true,"context_lines":[{"line_number":58,"context_line":"    \u0027os_encrypt_key_deletion_policy\u0027"},{"line_number":59,"context_line":"    \"\"\""},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    with engine.connect() as conn:"},{"line_number":62,"context_line":"        migrated_rows1 \u003d conn.execute("},{"line_number":63,"context_line":"            images.update().values("},{"line_number":64,"context_line":"                container_format\u003d\u0027luks\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"d87d2ea6_f376b100","line":61,"range":{"start_line":61,"start_character":3,"end_line":61,"end_character":34},"updated":"2025-12-11 15:40:23.000000000","message":"```suggestion\n    with engine.connect() as conn, conn.begin():\n```","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"},{"author":{"_account_id":28271,"name":"Josephine Seifert","email":"josephine.seifert@cloudandheat.com","username":"josei"},"change_message_id":"e06e0c91212641be3ee5556f562d96208e590a53","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    \u0027os_encrypt_key_deletion_policy\u0027"},{"line_number":59,"context_line":"    \"\"\""},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    with engine.connect() as conn:"},{"line_number":62,"context_line":"        migrated_rows1 \u003d conn.execute("},{"line_number":63,"context_line":"            images.update().values("},{"line_number":64,"context_line":"                container_format\u003d\u0027luks\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"96c06d56_3ff78afc","line":61,"range":{"start_line":61,"start_character":3,"end_line":61,"end_character":34},"in_reply_to":"d87d2ea6_f376b100","updated":"2025-12-12 09:37:56.000000000","message":"Thank you, that solved the problem.","commit_id":"e45826d3a1114eeea29b4f4f6e9e1a88149305e0"}],"glance/db/sqlalchemy/alembic_migrations/data_migrations/2027_1_migrate01_update_encryption_metadata.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":62,"context_line":"    \"\"\""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    with engine.connect() as conn, conn.begin():"},{"line_number":65,"context_line":"        migrated_rows1 \u003d conn.execute("},{"line_number":66,"context_line":"            images.update().values("},{"line_number":67,"context_line":"                container_format\u003d\u0027luks\u0027"},{"line_number":68,"context_line":"            ).where(images.c.id.in_("},{"line_number":69,"context_line":"                select(image_properties.c.image_id).where("},{"line_number":70,"context_line":"                    image_properties.c.name \u003d\u003d CINDER_KEY"},{"line_number":71,"context_line":"                )"},{"line_number":72,"context_line":"            ))"},{"line_number":73,"context_line":"        )"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        migrated_rows2 \u003d conn.execute("},{"line_number":76,"context_line":"            image_properties.update().values("}],"source_content_type":"text/x-python","patch_set":15,"id":"5df830f7_95aa5270","line":73,"range":{"start_line":65,"start_character":0,"end_line":73,"end_character":9},"updated":"2026-11-12 18:39:50.000000000","message":"As our implementation does not allow luks contianer-format with qcow2 disk-format I think we should  restrict the container-format update to disk_format\u003d\u0027raw\u0027 (or explicitly raw/gpt if intended), and add a test proving qcow2 remains bare.","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    \"\"\""},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"    with engine.connect() as conn, conn.begin():"},{"line_number":65,"context_line":"        migrated_rows1 \u003d conn.execute("},{"line_number":66,"context_line":"            images.update().values("},{"line_number":67,"context_line":"                container_format\u003d\u0027luks\u0027"},{"line_number":68,"context_line":"            ).where(images.c.id.in_("},{"line_number":69,"context_line":"                select(image_properties.c.image_id).where("},{"line_number":70,"context_line":"                    image_properties.c.name \u003d\u003d CINDER_KEY"},{"line_number":71,"context_line":"                )"},{"line_number":72,"context_line":"            ))"},{"line_number":73,"context_line":"        )"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":"        migrated_rows2 \u003d conn.execute("},{"line_number":76,"context_line":"            image_properties.update().values("}],"source_content_type":"text/x-python","patch_set":15,"id":"d626cb39_4215f794","line":73,"range":{"start_line":65,"start_character":0,"end_line":73,"end_character":9},"in_reply_to":"5df830f7_95aa5270","updated":"2026-11-13 13:28:26.000000000","message":"Done. Also added a corresponding test case.","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":88,"context_line":"            + migrated_rows3.rowcount)"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"def _augment_os_encrypt_format(engine, image_properties, images):"},{"line_number":92,"context_line":"    \"\"\"Returns the number of rows which were inserted for os_encrypt_format."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    Rows in the image_properties table that are added to insert the new"}],"source_content_type":"text/x-python","patch_set":15,"id":"50a874f6_b625f38e","line":91,"range":{"start_line":91,"start_character":57,"end_line":91,"end_character":63},"updated":"2026-11-12 18:39:50.000000000","message":"This is unused and can be removed.","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":88,"context_line":"            + migrated_rows3.rowcount)"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"def _augment_os_encrypt_format(engine, image_properties, images):"},{"line_number":92,"context_line":"    \"\"\"Returns the number of rows which were inserted for os_encrypt_format."},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"    Rows in the image_properties table that are added to insert the new"}],"source_content_type":"text/x-python","patch_set":15,"id":"bcda1041_448d3367","line":91,"range":{"start_line":91,"start_character":57,"end_line":91,"end_character":63},"in_reply_to":"50a874f6_b625f38e","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"}],"glance/db/sqlalchemy/alembic_migrations/versions/2025_2_contract01_empty.py":[{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"9f89f8f748987e778d9a2315424349dd5ac735f6","unresolved":true,"context_lines":[{"line_number":17,"context_line":"revision \u003d \u00272024_2_contract01\u0027"},{"line_number":18,"context_line":"down_revision \u003d \u00272024_1_contract01\u0027"},{"line_number":19,"context_line":"branch_labels \u003d None"},{"line_number":20,"context_line":"depends_on \u003d \u00272024_2_expand01\u0027"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def upgrade():"}],"source_content_type":"text/x-python","patch_set":7,"id":"1866c714_571daa87","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":10},"updated":"2025-07-08 15:16:15.000000000","message":"Shouldn\u0027t these read 2025?","commit_id":"249ca7dc00c9903bfd977455e246b6ce41a4925b"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"eacf58f796d22afa508ddbe26d301afe1d9bf3fe","unresolved":true,"context_lines":[{"line_number":17,"context_line":"revision \u003d \u00272024_2_contract01\u0027"},{"line_number":18,"context_line":"down_revision \u003d \u00272024_1_contract01\u0027"},{"line_number":19,"context_line":"branch_labels \u003d None"},{"line_number":20,"context_line":"depends_on \u003d \u00272024_2_expand01\u0027"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"def upgrade():"}],"source_content_type":"text/x-python","patch_set":7,"id":"b083a131_1b477a18","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":10},"in_reply_to":"1866c714_571daa87","updated":"2025-07-08 15:50:20.000000000","message":"There were no alembic expand script present for 2025. I should be depend on the last expand operation which was performed.","commit_id":"249ca7dc00c9903bfd977455e246b6ce41a4925b"}],"glance/db/sqlalchemy/alembic_migrations/versions/2025_2_expand01_empty.py":[{"author":{"_account_id":8122,"name":"Cyril Roelandt","email":"cyril@redhat.com","username":"cyril.roelandt.enovance"},"change_message_id":"9f89f8f748987e778d9a2315424349dd5ac735f6","unresolved":true,"context_lines":[{"line_number":22,"context_line":"revision \u003d \u00272024_2_expand01\u0027"},{"line_number":23,"context_line":"down_revision \u003d \u00272024_1_expand01\u0027"},{"line_number":24,"context_line":"branch_labels \u003d None"},{"line_number":25,"context_line":"depends_on \u003d None"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def upgrade():"}],"source_content_type":"text/x-python","patch_set":7,"id":"5fce57be_313a134a","line":25,"range":{"start_line":25,"start_character":0,"end_line":25,"end_character":10},"updated":"2025-07-08 15:16:15.000000000","message":"Ditto","commit_id":"249ca7dc00c9903bfd977455e246b6ce41a4925b"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"eacf58f796d22afa508ddbe26d301afe1d9bf3fe","unresolved":true,"context_lines":[{"line_number":22,"context_line":"revision \u003d \u00272024_2_expand01\u0027"},{"line_number":23,"context_line":"down_revision \u003d \u00272024_1_expand01\u0027"},{"line_number":24,"context_line":"branch_labels \u003d None"},{"line_number":25,"context_line":"depends_on \u003d None"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"def upgrade():"}],"source_content_type":"text/x-python","patch_set":7,"id":"b3b01c5d_271aab8e","line":25,"range":{"start_line":25,"start_character":0,"end_line":25,"end_character":10},"in_reply_to":"5fce57be_313a134a","updated":"2025-07-08 15:50:20.000000000","message":"Same, this is the beginning of the alembic migration for current cycle so depends_on None is correct here.","commit_id":"249ca7dc00c9903bfd977455e246b6ce41a4925b"}],"glance/db/sqlalchemy/alembic_migrations/versions/2027_1_expand01_empty.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"\"\"\"empty expand for symmetry with 2024_2_expand01"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Revision ID: 2024_2_expand01"},{"line_number":16,"context_line":"Revises: 2024_1_expand01"},{"line_number":17,"context_line":"Create Date: 2024-08-22 11:55:16.657499"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"876b15cb_4e1980c8","line":15,"range":{"start_line":15,"start_character":13,"end_line":15,"end_character":28},"updated":"2026-11-12 18:39:50.000000000","message":"This should be 2027_1_expand01","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"\"\"\"empty expand for symmetry with 2024_2_expand01"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Revision ID: 2024_2_expand01"},{"line_number":16,"context_line":"Revises: 2024_1_expand01"},{"line_number":17,"context_line":"Create Date: 2024-08-22 11:55:16.657499"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"78e7c62f_0e519c88","line":15,"range":{"start_line":15,"start_character":13,"end_line":15,"end_character":28},"in_reply_to":"876b15cb_4e1980c8","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"}],"glance/tests/functional/db/migrations/test_2027_1_migrate01.py":[{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":28,"context_line":"        return test_migrations.AlembicMigrationsMixin._get_revisions("},{"line_number":29,"context_line":"            self, config, head\u003d\u00272027_1_expand01\u0027)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def _pre_upgrade_2027_1_migrate01(self, engine):"},{"line_number":32,"context_line":"        images \u003d db_utils.get_table(engine, \u0027images\u0027)"},{"line_number":33,"context_line":"        image_properties \u003d db_utils.get_table(engine, \u0027image_properties\u0027)"},{"line_number":34,"context_line":"        now \u003d datetime.datetime.now()"}],"source_content_type":"text/x-python","patch_set":15,"id":"78303e61_c9ae7afa","line":31,"range":{"start_line":31,"start_character":8,"end_line":31,"end_character":37},"updated":"2026-11-12 18:39:50.000000000","message":"this should be _pre_upgrade_2027_1_expand01","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":28,"context_line":"        return test_migrations.AlembicMigrationsMixin._get_revisions("},{"line_number":29,"context_line":"            self, config, head\u003d\u00272027_1_expand01\u0027)"},{"line_number":30,"context_line":""},{"line_number":31,"context_line":"    def _pre_upgrade_2027_1_migrate01(self, engine):"},{"line_number":32,"context_line":"        images \u003d db_utils.get_table(engine, \u0027images\u0027)"},{"line_number":33,"context_line":"        image_properties \u003d db_utils.get_table(engine, \u0027image_properties\u0027)"},{"line_number":34,"context_line":"        now \u003d datetime.datetime.now()"}],"source_content_type":"text/x-python","patch_set":15,"id":"31dddb3d_3843e661","line":31,"range":{"start_line":31,"start_character":8,"end_line":31,"end_character":37},"in_reply_to":"78303e61_c9ae7afa","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":63,"context_line":"        with engine.connect() as conn, conn.begin():"},{"line_number":64,"context_line":"            conn.execute(image_properties.insert().values(temp))"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    def _check_train_migrate01(self, engine, data):"},{"line_number":67,"context_line":"        image_properties \u003d db_utils.get_table(engine, \u0027image_properties\u0027)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        # check that the names of existing image_properties are either"}],"source_content_type":"text/x-python","patch_set":15,"id":"d377d124_1ccaf830","line":66,"range":{"start_line":66,"start_character":8,"end_line":66,"end_character":30},"updated":"2026-11-12 18:39:50.000000000","message":"this should be _check_2027_1_expand01","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":63,"context_line":"        with engine.connect() as conn, conn.begin():"},{"line_number":64,"context_line":"            conn.execute(image_properties.insert().values(temp))"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    def _check_train_migrate01(self, engine, data):"},{"line_number":67,"context_line":"        image_properties \u003d db_utils.get_table(engine, \u0027image_properties\u0027)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"        # check that the names of existing image_properties are either"}],"source_content_type":"text/x-python","patch_set":15,"id":"610df906_8cfe40eb","line":66,"range":{"start_line":66,"start_character":8,"end_line":66,"end_character":30},"in_reply_to":"d377d124_1ccaf830","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":78,"context_line":"            self.assertIn(\u0027cinder_encryption_key\u0027, row.name)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        # run data migrations"},{"line_number":81,"context_line":"        data_migrations.migrate(engine, release\u003d\u00272026_1\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"        # check that in name the \u0027cinder_encryption_key*\u0027 is replaced with"},{"line_number":84,"context_line":"        # \u0027os_encryption_key*\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"8fc04068_8c4ebddd","line":81,"range":{"start_line":81,"start_character":49,"end_line":81,"end_character":55},"updated":"2026-11-12 18:39:50.000000000","message":"this should be 2027_1","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":78,"context_line":"            self.assertIn(\u0027cinder_encryption_key\u0027, row.name)"},{"line_number":79,"context_line":""},{"line_number":80,"context_line":"        # run data migrations"},{"line_number":81,"context_line":"        data_migrations.migrate(engine, release\u003d\u00272026_1\u0027)"},{"line_number":82,"context_line":""},{"line_number":83,"context_line":"        # check that in name the \u0027cinder_encryption_key*\u0027 is replaced with"},{"line_number":84,"context_line":"        # \u0027os_encryption_key*\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"4e0f93f7_2f771839","line":81,"range":{"start_line":81,"start_character":49,"end_line":81,"end_character":55},"in_reply_to":"8fc04068_8c4ebddd","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":87,"context_line":"                image_properties.select().order_by(image_properties.c.id)"},{"line_number":88,"context_line":"            ).fetchall()"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        self.assertEqual(2, len(rows))"},{"line_number":91,"context_line":"        for row in rows:"},{"line_number":92,"context_line":"            self.assertNotIn(\u0027cinder_encryption_key\u0027, row.meta_data)"},{"line_number":93,"context_line":"            self.assertIn(\u0027os_encryption_key\u0027, row.meta_data)"}],"source_content_type":"text/x-python","patch_set":15,"id":"5b12980f_18d6d861","line":90,"range":{"start_line":90,"start_character":8,"end_line":90,"end_character":38},"updated":"2026-11-12 18:39:50.000000000","message":"The test setup inserts two image-property rows:\n\ncinder_encryption_key_id\ncinder_encryption_key_deletion_policy\n\nThe migration then:\n\n1. Renames cinder_encryption_key_id to os_encrypt_key_id\n2. Renames cinder_encryption_key_deletion_policy to os_encrypt_key_deletion_policy\n3. Inserts a new property, os_encrypt_format\u003dLUKSv1\n\nSo after migration there are three property rows","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":87,"context_line":"                image_properties.select().order_by(image_properties.c.id)"},{"line_number":88,"context_line":"            ).fetchall()"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        self.assertEqual(2, len(rows))"},{"line_number":91,"context_line":"        for row in rows:"},{"line_number":92,"context_line":"            self.assertNotIn(\u0027cinder_encryption_key\u0027, row.meta_data)"},{"line_number":93,"context_line":"            self.assertIn(\u0027os_encryption_key\u0027, row.meta_data)"}],"source_content_type":"text/x-python","patch_set":15,"id":"3141b45d_f30dde67","line":90,"range":{"start_line":90,"start_character":8,"end_line":90,"end_character":38},"in_reply_to":"5b12980f_18d6d861","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        self.assertEqual(2, len(rows))"},{"line_number":91,"context_line":"        for row in rows:"},{"line_number":92,"context_line":"            self.assertNotIn(\u0027cinder_encryption_key\u0027, row.meta_data)"},{"line_number":93,"context_line":"            self.assertIn(\u0027os_encryption_key\u0027, row.meta_data)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"efeb6a9f_60c7c094","line":92,"range":{"start_line":92,"start_character":58,"end_line":92,"end_character":67},"updated":"2026-11-12 18:39:50.000000000","message":"this will raise AttributeError as meta_data is not is not a column in image_properties. \n\nit should be;\n\nself.assertNotIn(\u0027cinder_encryption_key\u0027, row.name)\nself.assertIn(\u0027os_encrypt_key\u0027, row.name)","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":89,"context_line":""},{"line_number":90,"context_line":"        self.assertEqual(2, len(rows))"},{"line_number":91,"context_line":"        for row in rows:"},{"line_number":92,"context_line":"            self.assertNotIn(\u0027cinder_encryption_key\u0027, row.meta_data)"},{"line_number":93,"context_line":"            self.assertIn(\u0027os_encryption_key\u0027, row.meta_data)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":15,"id":"47ffb328_a36567b4","line":92,"range":{"start_line":92,"start_character":58,"end_line":92,"end_character":67},"in_reply_to":"efeb6a9f_60c7c094","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"d88b6ff896710820d7f798b0dafbad2789f7505c","unresolved":true,"context_lines":[{"line_number":91,"context_line":"        for row in rows:"},{"line_number":92,"context_line":"            self.assertNotIn(\u0027cinder_encryption_key\u0027, row.meta_data)"},{"line_number":93,"context_line":"            self.assertIn(\u0027os_encryption_key\u0027, row.meta_data)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"class Test2027_1Migrate01MySQL("},{"line_number":97,"context_line":"    Test2027_1Migrate01Mixin,"}],"source_content_type":"text/x-python","patch_set":15,"id":"f1d7a143_39dcd0dc","line":94,"updated":"2026-11-12 18:39:50.000000000","message":"It does not verify container_format is changed to luks","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":27665,"name":"Markus Hentsch","email":"markus.hentsch@cloudandheat.com","username":"mhen"},"change_message_id":"5fea4496ca6f864d2af1896d892619d444378579","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        for row in rows:"},{"line_number":92,"context_line":"            self.assertNotIn(\u0027cinder_encryption_key\u0027, row.meta_data)"},{"line_number":93,"context_line":"            self.assertIn(\u0027os_encryption_key\u0027, row.meta_data)"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"class Test2027_1Migrate01MySQL("},{"line_number":97,"context_line":"    Test2027_1Migrate01Mixin,"}],"source_content_type":"text/x-python","patch_set":15,"id":"93aac51a_5de229f1","line":94,"in_reply_to":"f1d7a143_39dcd0dc","updated":"2026-11-13 13:28:26.000000000","message":"Done","commit_id":"8f3640fe0a1477591510483c31b90d278d0a74d1"},{"author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"change_message_id":"02be95faee5a21b3799384e9c812aa7b58abd8d4","unresolved":true,"context_lines":[{"line_number":47,"context_line":"        with engine.connect() as conn, conn.begin():"},{"line_number":48,"context_line":"            conn.execute(images.insert().values(image_1))"},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"        temp \u003d dict(deleted\u003dFalse,"},{"line_number":51,"context_line":"                    created_at\u003dnow,"},{"line_number":52,"context_line":"                    image_id\u003d\u0027image_1\u0027,"},{"line_number":53,"context_line":"                    name\u003d\u0027cinder_encryption_key_id\u0027,"},{"line_number":54,"context_line":"                    value\u003d\u0027eeb11646-e072-4307-b554-5418518fb925\u0027,"},{"line_number":55,"context_line":"                    id\u003d1)"},{"line_number":56,"context_line":"        with engine.connect() as conn, conn.begin():"},{"line_number":57,"context_line":"            conn.execute(image_properties.insert().values(temp))"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-python","patch_set":17,"id":"b58b3e20_03c0ec0c","line":55,"range":{"start_line":50,"start_character":0,"end_line":55,"end_character":25},"updated":"2026-11-16 09:08:06.000000000","message":"this is creating problem with PostgreSQL.Remove Id\u003d1 to ID\u003d8 from  each temp \u003d dict(...) call.","commit_id":"98af4ef6b17ffffe9cbe150a7a4de87b239cfdb7"}]}
