)]}'
{"cinder/image/image_utils.py":[{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"daea2fa001610a4d478f935e83020dcabe7fb038","unresolved":true,"context_lines":[{"line_number":309,"context_line":"    :param compress: compress w/ qemu-img when possible (best effort)"},{"line_number":310,"context_line":"    :param src_passphrase_file: filename containing source volume\u0027s"},{"line_number":311,"context_line":"                                luks passphrase"},{"line_number":312,"context_line":"    :param resize: Allor extending the source image in order to add"},{"line_number":313,"context_line":"                   the encrypt header"},{"line_number":314,"context_line":"    \"\"\""},{"line_number":315,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"a2fb6d49_171d957e","line":312,"range":{"start_line":312,"start_character":19,"end_line":312,"end_character":24},"updated":"2021-05-17 17:15:18.000000000","message":"typo: Allow","commit_id":"32be5eb8273e333a06b59427a26a9685a8613664"},{"author":{"_account_id":27615,"name":"Rajat Dhasmana","email":"rajatdhasmana@gmail.com","username":"whoami-rajat"},"change_message_id":"c12eda8fb1bb9e110d899464d408519b7f2e7274","unresolved":true,"context_lines":[{"line_number":334,"context_line":"    if resize:"},{"line_number":335,"context_line":"        # Increase the source volume size to be slightly"},{"line_number":336,"context_line":"        # larger in order to fit the the encryption header"},{"line_number":337,"context_line":"        encrypt_header_size \u003d 5"},{"line_number":338,"context_line":"        message \u003d _(\"The destination file needs to be encrypted so it \""},{"line_number":339,"context_line":"                    \"is necessary to increase the size by  %(size)s MB \""},{"line_number":340,"context_line":"                    \"before conversion.\") % {\u0027size\u0027: encrypt_header_size}"}],"source_content_type":"text/x-python","patch_set":6,"id":"ce316805_af412a7d","line":337,"range":{"start_line":337,"start_character":8,"end_line":337,"end_character":31},"updated":"2021-04-16 05:10:18.000000000","message":"Adding this comment to not forget my doubt, this shouldn\u0027t be an exact size and should be determined from the LUKS header.","commit_id":"32be5eb8273e333a06b59427a26a9685a8613664"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"c5f86b556d68ae4850f4c47ea7f9fba559ccd7a9","unresolved":true,"context_lines":[{"line_number":334,"context_line":"    if resize:"},{"line_number":335,"context_line":"        # Increase the source volume size to be slightly"},{"line_number":336,"context_line":"        # larger in order to fit the the encryption header"},{"line_number":337,"context_line":"        encrypt_header_size \u003d 5"},{"line_number":338,"context_line":"        message \u003d _(\"The destination file needs to be encrypted so it \""},{"line_number":339,"context_line":"                    \"is necessary to increase the size by  %(size)s MB \""},{"line_number":340,"context_line":"                    \"before conversion.\") % {\u0027size\u0027: encrypt_header_size}"}],"source_content_type":"text/x-python","patch_set":6,"id":"a84f4325_fd3e6c64","line":337,"range":{"start_line":337,"start_character":30,"end_line":337,"end_character":31},"updated":"2021-05-17 17:16:57.000000000","message":"By default, LUKS2 uses a 16MB header, so this won\u0027t work in that scenario.","commit_id":"32be5eb8273e333a06b59427a26a9685a8613664"},{"author":{"_account_id":20813,"name":"Sofia Enriquez","email":"lsofia.enriquez@gmail.com","username":"enriquetaso"},"change_message_id":"822d7d51ebe6c8cc4f0d98f5e49e4fd4237a33bb","unresolved":true,"context_lines":[{"line_number":334,"context_line":"    if resize:"},{"line_number":335,"context_line":"        # Increase the source volume size to be slightly"},{"line_number":336,"context_line":"        # larger in order to fit the the encryption header"},{"line_number":337,"context_line":"        encrypt_header_size \u003d 5"},{"line_number":338,"context_line":"        message \u003d _(\"The destination file needs to be encrypted so it \""},{"line_number":339,"context_line":"                    \"is necessary to increase the size by  %(size)s MB \""},{"line_number":340,"context_line":"                    \"before conversion.\") % {\u0027size\u0027: encrypt_header_size}"}],"source_content_type":"text/x-python","patch_set":6,"id":"6653c4cb_ce0c058f","line":337,"range":{"start_line":337,"start_character":8,"end_line":337,"end_character":31},"in_reply_to":"ce316805_af412a7d","updated":"2021-04-19 16:36:37.000000000","message":"You\u0027re right, the header size may vary between LUKSv1/LUKSv2 and PLAIN dm-crypt formats. I\u0027m not sure how we\u0027re going to get this info from, i.e. Nova does it in this way: https://github.com/openstack/nova/blob/edd8fefe3f6cb99bc244ffde0b83517456982356/nova/virt/libvirt/driver.py#L2064-L2088","commit_id":"32be5eb8273e333a06b59427a26a9685a8613664"},{"author":{"_account_id":4523,"name":"Eric Harney","email":"eharney@redhat.com","username":"eharney"},"change_message_id":"daea2fa001610a4d478f935e83020dcabe7fb038","unresolved":true,"context_lines":[{"line_number":336,"context_line":"        # larger in order to fit the the encryption header"},{"line_number":337,"context_line":"        encrypt_header_size \u003d 5"},{"line_number":338,"context_line":"        message \u003d _(\"The destination file needs to be encrypted so it \""},{"line_number":339,"context_line":"                    \"is necessary to increase the size by  %(size)s MB \""},{"line_number":340,"context_line":"                    \"before conversion.\") % {\u0027size\u0027: encrypt_header_size}"},{"line_number":341,"context_line":"        LOG.info(message)"},{"line_number":342,"context_line":"        resize_cmd \u003d (\u0027qemu-img\u0027, \u0027resize\u0027, \u0027-f\u0027, src_format,"}],"source_content_type":"text/x-python","patch_set":6,"id":"4b72937d_93b6eae1","line":339,"range":{"start_line":339,"start_character":58,"end_line":339,"end_character":59},"updated":"2021-05-17 17:15:18.000000000","message":"typo: extra space","commit_id":"32be5eb8273e333a06b59427a26a9685a8613664"}]}
