)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"2d04e9fe_78212a0a","updated":"2026-10-30 14:09:29.000000000","message":"a number of comments inline - some of them are close to being blockers","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"c87568ae_bd1ba6c0","in_reply_to":"2d04e9fe_78212a0a","updated":"2026-10-30 18:37:00.000000000","message":"Thanks a lot for the detailed review, Simon. Patch set 2 should address all comments. The main changes:\n- the decision moved from _migrate_volume_generic() to the volume manager retype(), before migration_status is touched, with a user message when the size increase is needed but not allowed;\n- the same checks as an extend to size + 1 (volume:extend policy, provision_filter_on_size and per_volume_gigabytes), done before any reservation, and the scheduler sees size + 1;\n- the extra reservation rides in request_spec, only VolumeAPI.retype is bumped, and the spec lists how every exit path rolls it back;\n- the capability is tri-state and only False changes the behaviour. It is reported in every pool, because host[\u0027capabilities\u0027] is the pool\u0027s dictionary. Operators can set it with the existing extra_capabilities option, and the in-tree audit marks False only where the retype can not succeed today;\n- the rolling upgrade section covers the API -\u003e scheduler -\u003e c-vol hop, including the version cap that the scheduler keeps until SIGHUP;\n- the RPC version and the os-retype changes are aligned with the snapshot-aware retype spec that merged on 22 October (989322). I left the threads on L99, L120 and L266 open for you to confirm.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"5c253630_25d2f395","updated":"2026-11-13 15:57:05.000000000","message":"One thing before a +2: the False list. The spec says the audit must be exact for False and the release note will name the backends, but the text names LVM and \"for example\" Huawei and leaves the rest to the implementation. Inline at 247, plus a few small ones.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"b81ccfff_fd791fa1","in_reply_to":"5c253630_25d2f395","updated":"2026-11-13 16:47:16.000000000","message":"Thanks Simon. PS3 puts the False list in the spec: LVM and the Huawei iSCSI/FC drivers, each backed by a reproduction. The upgrade note will name them. The rest is answered inline. The reference implementation is up as PS5 of https://review.opendev.org/c/openstack/cinder/+/1010230 (WIP).","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"449c3b5108b555f161d67f09b1c50eb1963c72c8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"03391176_5591cf86","updated":"2026-11-13 17:14:10.000000000","message":"PS2 comments are done as described. Two nits inline, neither needs a respin. Also reproduced on a FlashArray.","commit_id":"7e9ccec8ccdbde4577bbbe78096d03a0957ae733"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"14e9aa94b3da2691784796dc1072d7a754f233c3","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"3a769752_c7c1c4b3","in_reply_to":"03391176_5591cf86","updated":"2026-11-13 19:23:20.000000000","message":"Thanks Simon! PS4 adds the Everpure drivers with your FlashArray results and fixes both nits. Sorry for resetting your +2.","commit_id":"7e9ccec8ccdbde4577bbbe78096d03a0957ae733"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"1e943a69222eadef4cfa8eb0726b4e732a26d579","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"e42c6a4e_82aead23","updated":"2026-11-13 20:00:21.000000000","message":"Happy with this now","commit_id":"d8b3245532f62f29730637db9b3fbb8b0e117dce"}],"specs/2027.1/retype-encrypt-allow-size-increase.rst":[{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":57,"context_line":"Use Cases"},{"line_number":58,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* As an end user, I want to encrypt an existing unencrypted volume, for"},{"line_number":61,"context_line":"  example a boot volume of a stopped or deleted instance, by retyping it to a"},{"line_number":62,"context_line":"  volume type with encryption, and I accept that the volume becomes 1 GB"},{"line_number":63,"context_line":"  larger."}],"source_content_type":"text/x-rst","patch_set":1,"id":"f4e6b75b_ad920c74","line":60,"updated":"2026-10-30 14:09:29.000000000","message":"A stopped instance\u0027s volume is still in-use, which the spec rejects. Say \"detached or left behind\".","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[{"line_number":57,"context_line":"Use Cases"},{"line_number":58,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"* As an end user, I want to encrypt an existing unencrypted volume, for"},{"line_number":61,"context_line":"  example a boot volume of a stopped or deleted instance, by retyping it to a"},{"line_number":62,"context_line":"  volume type with encryption, and I accept that the volume becomes 1 GB"},{"line_number":63,"context_line":"  larger."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3062e715_88841472","line":60,"in_reply_to":"f4e6b75b_ad920c74","updated":"2026-10-30 18:37:00.000000000","message":"Good catch, a stopped instance keeps its volume attached. Changed to \"detached, or left behind by a deleted instance\".","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":62,"context_line":"  volume type with encryption, and I accept that the volume becomes 1 GB"},{"line_number":63,"context_line":"  larger."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"* As an end user, when the retype can not succeed without a size increase that"},{"line_number":66,"context_line":"  I did not allow, I want the request to fail early with a clear message, and"},{"line_number":67,"context_line":"  not after a long data copy with a low level ``dd`` error."},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"2ef6cff0_2cb851a7","line":65,"updated":"2026-10-30 14:09:29.000000000","message":"Retype is async (202), so the \"fails early with a clear message\" claim can\u0027t reach the user without a user message. Doing the check inside `_migrate_volume_generic` leaves `migration_status\u003d\u0027error\u0027`. Check in `retype()` before starting.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[{"line_number":62,"context_line":"  volume type with encryption, and I accept that the volume becomes 1 GB"},{"line_number":63,"context_line":"  larger."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"* As an end user, when the retype can not succeed without a size increase that"},{"line_number":66,"context_line":"  I did not allow, I want the request to fail early with a clear message, and"},{"line_number":67,"context_line":"  not after a long data copy with a low level ``dd`` error."},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"4f5961a5_23b3cd99","line":65,"in_reply_to":"2ef6cff0_2cb851a7","updated":"2026-10-30 18:37:00.000000000","message":"Agreed. The check is now in the volume manager retype(), after the existing migration_policy, snapshot and replication checks and before migration_status is set to \"starting\". It only runs for retypes that meet the three conditions (no encryption key, front-end LUKS on the new type, volume available), so other retypes are not affected. It stops through _retype_error(), so the volume goes back to its previous status, all reservations are rolled back, migration_status is not changed and nothing is created on the destination (no volume and no key). The user gets a user message (new \"retype volume\" action and a detail that says to retry with allow_size_increase).","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":81,"context_line":"* The flag is accepted only with the new microversion. With older"},{"line_number":82,"context_line":"  microversions the request body is validated as today."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"* When the flag is ``true``, the volume has no encryption key, the new volume"},{"line_number":85,"context_line":"  type has an encryption with ``control_location`` ``front-end``, and the"},{"line_number":86,"context_line":"  volume is ``available``, the API reserves 1 GB of ``gigabytes`` and of"},{"line_number":87,"context_line":"  ``gigabytes_\u003cnew type\u003e`` in addition to the existing retype reservations."}],"source_content_type":"text/x-rst","patch_set":1,"id":"c2efdbc7_12823c54","line":84,"updated":"2026-10-30 14:09:29.000000000","message":"Quota checks are weaker than for extend. Neither `provision_filter_on_size` nor `per_volume_gigabytes` is re-checked at size+1, and the scheduler picks a backend for the old size.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[{"line_number":81,"context_line":"* The flag is accepted only with the new microversion. With older"},{"line_number":82,"context_line":"  microversions the request body is validated as today."},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"* When the flag is ``true``, the volume has no encryption key, the new volume"},{"line_number":85,"context_line":"  type has an encryption with ``control_location`` ``front-end``, and the"},{"line_number":86,"context_line":"  volume is ``available``, the API reserves 1 GB of ``gigabytes`` and of"},{"line_number":87,"context_line":"  ``gigabytes_\u003cnew type\u003e`` in addition to the existing retype reservations."}],"source_content_type":"text/x-rst","patch_set":1,"id":"280ef862_06ecf65e","line":84,"in_reply_to":"c2efdbc7_12823c54","updated":"2026-10-30 18:37:00.000000000","message":"Agreed, the spec now does the same checks as an extend to size + 1, before any reservation: provision_filter_on_size() of the new type (400) and the per_volume_gigabytes limit (413). request_spec[\u0027volume_properties\u0027] is a copy with size + 1, so the CapacityFilter checks the larger size on the other pools. As today, it skips the pool that already holds the volume (vol_exists_on); the spec says so and does not change it.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":89,"context_line":"  back on its own. If the reservation exceeds the quota, the API returns"},{"line_number":90,"context_line":"  ``413``, like an extend."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"* The flag has no effect for other retypes (no encryption change, encrypted"},{"line_number":93,"context_line":"  to encrypted, encrypted to unencrypted). This keeps the change narrow: only"},{"line_number":94,"context_line":"  the case that is known to need more space is changed."},{"line_number":95,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"98c9c016_d464fc0d","line":92,"range":{"start_line":92,"start_character":2,"end_line":92,"end_character":6},"updated":"2026-10-30 14:09:29.000000000","message":"nit: Inconsistent validation: a non-applicable retype silently ignores the flag, but a non-available volume gets 400.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[{"line_number":89,"context_line":"  back on its own. If the reservation exceeds the quota, the API returns"},{"line_number":90,"context_line":"  ``413``, like an extend."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":"* The flag has no effect for other retypes (no encryption change, encrypted"},{"line_number":93,"context_line":"  to encrypted, encrypted to unencrypted). This keeps the change narrow: only"},{"line_number":94,"context_line":"  the case that is known to need more space is changed."},{"line_number":95,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"d7263058_45fd4c33","line":92,"in_reply_to":"98c9c016_d464fc0d","updated":"2026-10-30 18:37:00.000000000","message":"Fixed by treating the flag as a permission everywhere: when it does not apply (no encryption change, encrypted source, not front-end LUKS, or a volume that is not available) it is ignored the same way, and the retype works as today. There is no 400 for \"flag does not apply\" any more. When the flag applies, the errors are those of an extend to size + 1 (400 for the size limits of the new type, 413 for per_volume_gigabytes and the quota, 403 without volume:extend), plus 400 (ServiceTooOld) until all c-vol services are upgraded and cinder-api is restarted. The flag with an older microversion gets a 400 from the schema.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":96,"context_line":"* The flag is rejected with ``400`` for volumes that are not ``available``."},{"line_number":97,"context_line":"  Retyping an in-use volume uses Nova to copy the data and is out of scope."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"The extra reservation is passed to the volume manager through the scheduler"},{"line_number":100,"context_line":"and volume RPC APIs (new optional argument, RPC version bump)."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Volume manager (``_migrate_volume_generic()``):"}],"source_content_type":"text/x-rst","patch_set":1,"id":"db517375_ea6da623","line":99,"updated":"2026-10-30 14:09:29.000000000","message":"The extra reservation needs rollback on every existing exit path (API, scheduler `NoValidBackend`, and manager `_retype_error` for policy never, snapshots and replicated). It can ride in `request_spec`, so only `VolumeAPI.retype` needs a version bump. Say what happens when the pin blocks the new version.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":false,"context_lines":[{"line_number":96,"context_line":"* The flag is rejected with ``400`` for volumes that are not ``available``."},{"line_number":97,"context_line":"  Retyping an in-use volume uses Nova to copy the data and is out of scope."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"The extra reservation is passed to the volume manager through the scheduler"},{"line_number":100,"context_line":"and volume RPC APIs (new optional argument, RPC version bump)."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Volume manager (``_migrate_volume_generic()``):"}],"source_content_type":"text/x-rst","patch_set":1,"id":"acfe664a_d8a9926b","line":99,"in_reply_to":"ae644474_bf720b1b","updated":"2026-11-13 15:57:05.000000000","message":"Done","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":true,"context_lines":[{"line_number":96,"context_line":"* The flag is rejected with ``400`` for volumes that are not ``available``."},{"line_number":97,"context_line":"  Retyping an in-use volume uses Nova to copy the data and is out of scope."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"The extra reservation is passed to the volume manager through the scheduler"},{"line_number":100,"context_line":"and volume RPC APIs (new optional argument, RPC version bump)."},{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Volume manager (``_migrate_volume_generic()``):"}],"source_content_type":"text/x-rst","patch_set":1,"id":"ae644474_bf720b1b","line":99,"in_reply_to":"db517375_ea6da623","updated":"2026-10-30 18:37:00.000000000","message":"Thanks, done as you suggested: the extra reservation rides in request_spec, the scheduler passes it to VolumeAPI.retype() as a new optional argument, and only the volume RPC API is bumped (to 3.23, as the snapshot-aware retype spec that merged on 22 October takes 3.21 and 3.22). In the API, the new checks run before any reservation and the extra reservation is taken last, so a 413 on it also rolls back the existing retype reservations; after that the only API exit is the conditional update. The spec lists the other exit paths: the scheduler (missing type, NoValidBackend and other find_retype_backend() errors) and the manager (policy never, snapshots, replication, the new \"not allowed\" case, migrate_volume() errors, and DriverNotInitialized, which today only restores the status and will roll back too). The rollbacks use the volume\u0027s project, so they also work when an admin retypes another project\u0027s volume. When the pin blocks the new version, the API returns 400 (ServiceTooOld) before it reserves anything, and a scheduler whose cached cap is still below it stops the retype through _retype_volume_set_error() instead of dropping the reservation, the same way the snapshot-aware retype spec handles its new argument.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Volume manager (``_migrate_volume_generic()``):"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* The destination backend tells whether it allocates the space for the"},{"line_number":105,"context_line":"  encryption header itself, using a new optional backend capability"},{"line_number":106,"context_line":"  ``encryption_header_space_allocated`` (default ``False``). The RBD driver"},{"line_number":107,"context_line":"  and the RemoteFS based drivers report ``True``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"6439e04b_941057c7","line":104,"updated":"2026-10-30 14:09:29.000000000","message":"Capability reaches the manager via `host[\u0027capabilities\u0027]`, but needs threading into `_migrate_volume_generic`.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[{"line_number":101,"context_line":""},{"line_number":102,"context_line":"Volume manager (``_migrate_volume_generic()``):"},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"* The destination backend tells whether it allocates the space for the"},{"line_number":105,"context_line":"  encryption header itself, using a new optional backend capability"},{"line_number":106,"context_line":"  ``encryption_header_space_allocated`` (default ``False``). The RBD driver"},{"line_number":107,"context_line":"  and the RemoteFS based drivers report ``True``."}],"source_content_type":"text/x-rst","patch_set":1,"id":"f3f80106_6ef521ee","line":104,"in_reply_to":"6439e04b_941057c7","updated":"2026-10-30 18:37:00.000000000","message":"The decision is now made in retype(), which already gets host[\u0027capabilities\u0027] from the scheduler, so nothing has to be threaded into _migrate_volume_generic(): retype() passes only new_size to migrate_volume() (a direct call, not RPC) and on to _migrate_volume_generic(). One detail I fixed on the way: host[\u0027capabilities\u0027] holds the capabilities of the destination pool, and the scheduler copies only a fixed list of backend level keys into the pools. So the spec now says the value is in every pool: drivers set a class attribute that the volume manager adds to every pool (like cacheable), or report it per pool, and extra_capabilities overrides it.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* If the migration fails, the extra reservation is rolled back."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* If the size increase is needed but was not allowed, the migration fails"},{"line_number":121,"context_line":"  before the destination volume is created, with a message that the retype"},{"line_number":122,"context_line":"  requires ``allow_size_increase``. The volume stays ``available`` with its"},{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"}],"source_content_type":"text/x-rst","patch_set":1,"id":"de44c356_8c07aae2","line":120,"updated":"2026-10-30 14:09:29.000000000","message":"\"Only changes the moment and message of failure\" is false for out-of-tree drivers that work today. Default unknown drivers to the current behaviour, or add an upgrade note. Audit the in-tree drivers.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"02f6eb811378952259e8c1391479c98cc10c7225","unresolved":false,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* If the migration fails, the extra reservation is rolled back."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* If the size increase is needed but was not allowed, the migration fails"},{"line_number":121,"context_line":"  before the destination volume is created, with a message that the retype"},{"line_number":122,"context_line":"  requires ``allow_size_increase``. The volume stays ``available`` with its"},{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"}],"source_content_type":"text/x-rst","patch_set":1,"id":"72908c91_c0fc7468","line":120,"in_reply_to":"2c309cef_ccf9c1ed","updated":"2026-11-13 19:23:18.000000000","message":"Thanks for reproducing it! Added PureBaseVolumeDriver to the False list with your numbers, and the code change sets it too (PS6 of 1010230).","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"107b98ab45a26e1f795ec2f0557b7d5a307dc29f","unresolved":true,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* If the migration fails, the extra reservation is rolled back."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* If the size increase is needed but was not allowed, the migration fails"},{"line_number":121,"context_line":"  before the destination volume is created, with a message that the retype"},{"line_number":122,"context_line":"  requires ``allow_size_increase``. The volume stays ``available`` with its"},{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"}],"source_content_type":"text/x-rst","patch_set":1,"id":"a284c585_ebf7c405","line":120,"in_reply_to":"3a249579_2a087377","updated":"2026-11-13 16:47:19.000000000","message":"Done in PS3. Since create_volume() can\u0027t show array-side rounding, I only marked drivers where the failure was actually reproduced: LVM (bug 1687880 and its duplicate 1824321) and Huawei (c-vol log in comment 7 of bug 1925818, and again on my 2024.2 setup; the FC driver creates the LUN with the same code). I found no reports for other backends, so FlashArray stays unreported. If you can reproduce it on a FlashArray, I\u0027m happy to add the Pure drivers in the next PS.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"449c3b5108b555f161d67f09b1c50eb1963c72c8","unresolved":true,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* If the migration fails, the extra reservation is rolled back."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* If the size increase is needed but was not allowed, the migration fails"},{"line_number":121,"context_line":"  before the destination volume is created, with a message that the retype"},{"line_number":122,"context_line":"  requires ``allow_size_increase``. The volume stays ``available`` with its"},{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"}],"source_content_type":"text/x-rst","patch_set":1,"id":"2c309cef_ccf9c1ed","line":120,"in_reply_to":"a284c585_ebf7c405","updated":"2026-11-13 17:14:10.000000000","message":"Reproduced on a FlashArray (Purity 6.10.6) today, same method as the Huawei case. A 1 GiB volume presents exactly 1073741824 bytes to the host (the driver provisions exactly size * GiB on create and extend). With os-brick\u0027s `cryptsetup luksFormat --type luks1 --cipher aes-xts-plain64 --key-size 256` the decrypted device is 1069547520 bytes (4 MiB header with cryptsetup 2.8.1), with luks2 it is 1056964608 bytes (16 MiB), and Cinder\u0027s `dd count\u003d1073741824 bs\u003d1M iflag\u003dcount_bytes oflag\u003ddirect` into either fails with \"No space left on device\" at 1020 and 1008 MiB respectively. Please add `PureBaseVolumeDriver` (PureISCSIDriver, PureFCDriver and PureNVMEDriver inherit it) to the False list with this as the evidence.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* If the migration fails, the extra reservation is rolled back."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* If the size increase is needed but was not allowed, the migration fails"},{"line_number":121,"context_line":"  before the destination volume is created, with a message that the retype"},{"line_number":122,"context_line":"  requires ``allow_size_increase``. The volume stays ``available`` with its"},{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a249579_2a087377","line":120,"in_reply_to":"c2820654_5f7bf5b3","updated":"2026-11-13 15:57:05.000000000","message":"This is the only behaviour change for existing deployments, so the list has to be here rather than in the implementation. Under this rule every driver that passes `volume.size` through unchanged reports False: the Everpure FlashArray iSCSI, FC and NVMe drivers (`create_volume` provisions exactly size in bytes), Huawei, and most SAN block drivers. Please list the in-tree classes, or driver families, that will be marked False, say that this list is final and later changes need their own review, and say how exact-size was confirmed: reading `create_volume()` cannot see array-side rounding (PowerFlex\u0027s 8 GB happens to be visible in code; most granularity is not), so a driver stays unreported unless the array\u0027s allocated capacity is known to equal the request.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":true,"context_lines":[{"line_number":117,"context_line":""},{"line_number":118,"context_line":"* If the migration fails, the extra reservation is rolled back."},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"* If the size increase is needed but was not allowed, the migration fails"},{"line_number":121,"context_line":"  before the destination volume is created, with a message that the retype"},{"line_number":122,"context_line":"  requires ``allow_size_increase``. The volume stays ``available`` with its"},{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"}],"source_content_type":"text/x-rst","patch_set":1,"id":"c2820654_5f7bf5b3","line":120,"in_reply_to":"de44c356_8c07aae2","updated":"2026-10-30 18:37:00.000000000","message":"You are right, that sentence was wrong for drivers that work today. The capability is now tri-state, and only False changes the behaviour: True and not reported both keep the source size and never stop the retype early, exactly as today. The audit rule is conservative: a driver reports False only when the retype can not succeed today, because it creates the volume with exactly the requested size and os-brick formats LUKS inside it (LVM, and drivers like Huawei; the implementation checks each class). RBD and RBD iSCSI report True. Everything else stays unreported, including drivers that create larger volumes than requested (PowerFlex rounds to 8 GB, so some of these retypes work there today) and the RemoteFS drivers, which handle encryption in different ways. Operators can set or override the value per backend with the existing extra_capabilities option, and the release note gets an upgrade note for the backends that report False.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"},{"line_number":124,"context_line":"  only the moment and the message of the failure."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* After a successful migration with a size increase, Cinder emits the"},{"line_number":127,"context_line":"  ``volume.resize.end`` usage notification with the new size, the same as"},{"line_number":128,"context_line":"  after an extend."},{"line_number":129,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"848736aa_1fe04427","line":126,"updated":"2026-10-30 14:09:29.000000000","message":"Say whether only `resize.end` is sent, and where the reservation is committed (`retype()`).","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[{"line_number":123,"context_line":"  original type. Today the same retype fails later in ``dd``, so this changes"},{"line_number":124,"context_line":"  only the moment and the message of the failure."},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"* After a successful migration with a size increase, Cinder emits the"},{"line_number":127,"context_line":"  ``volume.resize.end`` usage notification with the new size, the same as"},{"line_number":128,"context_line":"  after an extend."},{"line_number":129,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"46440626_cd7da823","line":126,"in_reply_to":"848736aa_1fe04427","updated":"2026-10-30 18:37:00.000000000","message":"Clarified: the reservation is committed in the volume manager retype() together with the other new type reservations. The existing volume.retype notification carries the new size, and only volume.resize.end is added (no resize.start, as there is no separate resize operation), sent from retype() after the commit.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":201,"context_line":""},{"line_number":202,"context_line":"  * Other codes are unchanged."},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"Policy: no new policy. The existing ``volume_extension:volume_actions:retype``"},{"line_number":205,"context_line":"policy covers the action. Operators who do not want users to grow volumes"},{"line_number":206,"context_line":"through retype can keep the clients on an older microversion, or we can add a"},{"line_number":207,"context_line":"separate policy if reviewers prefer it."}],"source_content_type":"text/x-rst","patch_set":1,"id":"e332d37f_2a30d9d0","line":204,"updated":"2026-10-30 14:09:29.000000000","message":"Policy paragraph: clients choose the microversion, so the \"keep clients on an older microversion\" lever doesn\u0027t exist. A user denied `volume:extend` can still grow a volume by retype. Require the extend rule too. The rule is `volume:retype`. Don\u0027t leave \"or a separate policy\" open.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":false,"context_lines":[{"line_number":201,"context_line":""},{"line_number":202,"context_line":"  * Other codes are unchanged."},{"line_number":203,"context_line":""},{"line_number":204,"context_line":"Policy: no new policy. The existing ``volume_extension:volume_actions:retype``"},{"line_number":205,"context_line":"policy covers the action. Operators who do not want users to grow volumes"},{"line_number":206,"context_line":"through retype can keep the clients on an older microversion, or we can add a"},{"line_number":207,"context_line":"separate policy if reviewers prefer it."}],"source_content_type":"text/x-rst","patch_set":1,"id":"99ac82be_e945cbd5","line":204,"in_reply_to":"e332d37f_2a30d9d0","updated":"2026-10-30 18:37:00.000000000","message":"Agreed on all points, thanks. Fixed the rule name to volume:retype, dropped the \"older microversion\" lever and the open \"separate policy\" option. When the flag applies, the API also enforces volume:extend, so a user who may not extend a volume can not grow it through a retype either (403). The policy reference of volume:extend will list os-retype too.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"eb9ef277ff5dcab312b08c2aad63bc2b800a7d56","unresolved":true,"context_lines":[{"line_number":263,"context_line":"  which is the safe default: the flag then grows the volume by 1 GB, and"},{"line_number":264,"context_line":"  without the flag the retype fails early with a clear message."},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"* Rolling upgrades: the API only sends the new RPC argument when all volume"},{"line_number":267,"context_line":"  services support the new RPC version. Otherwise the flag is rejected with"},{"line_number":268,"context_line":"  ``400``."},{"line_number":269,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"f85d4d81_43969c5f","line":266,"updated":"2026-10-30 14:09:29.000000000","message":"The rolling-upgrade text ignores the API to scheduler to c-vol hop. Say where the 400 is raised, what happens when only c-vol is old, and what happens to in-flight retypes.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":false,"context_lines":[{"line_number":263,"context_line":"  which is the safe default: the flag then grows the volume by 1 GB, and"},{"line_number":264,"context_line":"  without the flag the retype fails early with a clear message."},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"* Rolling upgrades: the API only sends the new RPC argument when all volume"},{"line_number":267,"context_line":"  services support the new RPC version. Otherwise the flag is rejected with"},{"line_number":268,"context_line":"  ``400``."},{"line_number":269,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"7fb5bd71_09938218","line":266,"in_reply_to":"2066fd34_4710b50e","updated":"2026-11-13 15:57:05.000000000","message":"Done","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"874841c30fb2d59b4763b9f1cc9dcd8693127f49","unresolved":true,"context_lines":[{"line_number":263,"context_line":"  which is the safe default: the flag then grows the volume by 1 GB, and"},{"line_number":264,"context_line":"  without the flag the retype fails early with a clear message."},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"* Rolling upgrades: the API only sends the new RPC argument when all volume"},{"line_number":267,"context_line":"  services support the new RPC version. Otherwise the flag is rejected with"},{"line_number":268,"context_line":"  ``400``."},{"line_number":269,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"2066fd34_4710b50e","line":266,"in_reply_to":"f85d4d81_43969c5f","updated":"2026-10-30 18:37:00.000000000","message":"Rewritten, following the documented order (scheduler, volume, backup, API last, then SIGHUP):\n- the 400 is raised in cinder-api, before any reservation, when the flag applies and its volume RPC version cap is below the new version. cinder-api computes the cap when it starts, so while some c-vol services are old, retypes where the flag applies are rejected until all are upgraded and cinder-api is restarted. All other retypes work as today;\n- the scheduler is upgraded first, so it keeps a cap below the new version until the SIGHUP at the end. A flagged retype that a new API accepts in that window stops in the scheduler with ServiceTooOld (reservations rolled back, nothing created) instead of losing the reservation;\n- if the order is not followed and an old scheduler drops the reservation, an upgraded c-vol handles the retype like one without the flag, and the reservation expires after reservation_expire;\n- in-flight retypes carry no extra reservation. An upgraded c-vol handles them like retypes without the flag: on a backend that reports False they stop early with the user message, otherwise they complete as today.","commit_id":"1cc7f32d027f2c6de28bceb2e25d7947222936a6"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/cinder/+spec/retype-encrypt-allow-size-increase"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Retyping an available, unencrypted volume to a volume type with front-end"},{"line_number":14,"context_line":"LUKS encryption fails on many backends, because the encryption header does not"},{"line_number":15,"context_line":"fit in a destination volume of the same size. This spec adds an opt-in flag to"},{"line_number":16,"context_line":"the retype API that lets Cinder create the destination volume 1 GB larger, so"}],"source_content_type":"text/x-rst","patch_set":2,"id":"25adaa02_cdd3262b","line":13,"updated":"2026-11-13 15:57:05.000000000","message":"nit:The summary and the commit message describe only the flag. The upgrade-visible change is the other half: on backends that report False, a retype to a front-end encrypted type without the flag now stops before the copy with a user message. One sentence here and in the commit message.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"https://blueprints.launchpad.net/cinder/+spec/retype-encrypt-allow-size-increase"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Retyping an available, unencrypted volume to a volume type with front-end"},{"line_number":14,"context_line":"LUKS encryption fails on many backends, because the encryption header does not"},{"line_number":15,"context_line":"fit in a destination volume of the same size. This spec adds an opt-in flag to"},{"line_number":16,"context_line":"the retype API that lets Cinder create the destination volume 1 GB larger, so"}],"source_content_type":"text/x-rst","patch_set":2,"id":"a7a17be4_6f670d2d","line":13,"in_reply_to":"25adaa02_cdd3262b","updated":"2026-11-13 16:47:16.000000000","message":"Done, here and in the commit message.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":44,"context_line":"was almost completely copied. Bug 1925818 reports this since 2021, and it is"},{"line_number":45,"context_line":"reproducible on master."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Not all backends are affected in the same way. The RBD driver creates"},{"line_number":48,"context_line":"encrypted volumes with ``qemu-img create -f luks`` for the full volume size,"},{"line_number":49,"context_line":"so the header is allocated in addition to the volume size. Some drivers create"},{"line_number":50,"context_line":"volumes larger than requested, for example PowerFlex rounds sizes up to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa55b752_204dbd29","line":47,"updated":"2026-11-13 15:57:05.000000000","message":"nit: The RBD and PowerFlex details here are repeated in full in the audit at 252-259; one sentence pointing at the audit is enough. Likewise the parenthetical at 30-31 restates the condition of its own sentence and can be \"(for example LVM)\".","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[{"line_number":44,"context_line":"was almost completely copied. Bug 1925818 reports this since 2021, and it is"},{"line_number":45,"context_line":"reproducible on master."},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Not all backends are affected in the same way. The RBD driver creates"},{"line_number":48,"context_line":"encrypted volumes with ``qemu-img create -f luks`` for the full volume size,"},{"line_number":49,"context_line":"so the header is allocated in addition to the volume size. Some drivers create"},{"line_number":50,"context_line":"volumes larger than requested, for example PowerFlex rounds sizes up to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"568e0a6e_b5eda91a","line":47,"in_reply_to":"fa55b752_204dbd29","updated":"2026-11-13 16:47:16.000000000","message":"Done, both.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":102,"context_line":"* Policy: besides ``volume:retype``, the caller must also pass the"},{"line_number":103,"context_line":"  ``volume:extend`` rule, because the volume can grow (``403``)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"* The same size checks as for an extend to ``size + 1``:"},{"line_number":106,"context_line":"  ``provision_filter_on_size()`` of the new volume type (``400``) and the"},{"line_number":107,"context_line":"  ``per_volume_gigabytes`` limit (``413``)."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"202d1d9a_d3f17c1a","line":105,"updated":"2026-11-13 15:57:05.000000000","message":"nit: \"The same size checks as for an extend\" taken literally checks `per_volume_gigabytes` against the caller\u0027s project (`_extend` passes `project_id\u003dcontext.project_id`), while the reservation at 115 and the rollbacks at 230 use the volume\u0027s project. Say the limit check uses the volume\u0027s project too, so an admin retyping another project\u0027s volume is consistent across check, reservation and rollback.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[{"line_number":102,"context_line":"* Policy: besides ``volume:retype``, the caller must also pass the"},{"line_number":103,"context_line":"  ``volume:extend`` rule, because the volume can grow (``403``)."},{"line_number":104,"context_line":""},{"line_number":105,"context_line":"* The same size checks as for an extend to ``size + 1``:"},{"line_number":106,"context_line":"  ``provision_filter_on_size()`` of the new volume type (``400``) and the"},{"line_number":107,"context_line":"  ``per_volume_gigabytes`` limit (``413``)."},{"line_number":108,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"a3fd22b1_76b5a3cf","line":105,"in_reply_to":"202d1d9a_d3f17c1a","updated":"2026-11-13 16:47:16.000000000","message":"Done, the limit check uses the volume\u0027s project too.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* Passes the extra reservation to ``VolumeAPI.retype()`` as a new optional"},{"line_number":141,"context_line":"  argument. This is the only RPC change: a new version of the volume RPC API"},{"line_number":142,"context_line":"  (3.23 at the time of writing, after the versions that the snapshot aware"},{"line_number":143,"context_line":"  retype [3]_ adds), called \"the new version\" below. The scheduler RPC API"},{"line_number":144,"context_line":"  does not change, because ``request_spec`` is a dictionary."},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"73bffa78_ad9e79f6","line":142,"updated":"2026-11-13 15:57:05.000000000","message":"nit: \"3.23, after the versions that the snapshot aware retype adds\" fixes a merge order that 524-525 leaves open, and 986740 and 1000900 also claim 3.21. Say \"the next free volume RPC version\", as 315 already does for the microversion, and drop the number.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[{"line_number":139,"context_line":""},{"line_number":140,"context_line":"* Passes the extra reservation to ``VolumeAPI.retype()`` as a new optional"},{"line_number":141,"context_line":"  argument. This is the only RPC change: a new version of the volume RPC API"},{"line_number":142,"context_line":"  (3.23 at the time of writing, after the versions that the snapshot aware"},{"line_number":143,"context_line":"  retype [3]_ adds), called \"the new version\" below. The scheduler RPC API"},{"line_number":144,"context_line":"  does not change, because ``request_spec`` is a dictionary."},{"line_number":145,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"cadc2940_eea16eb5","line":142,"in_reply_to":"73bffa78_ad9e79f6","updated":"2026-11-13 16:47:16.000000000","message":"Done, dropped the number. Dependencies now says each change takes the next free numbers when it merges.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":397,"context_line":"Other end user impact"},{"line_number":398,"context_line":"---------------------"},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"* python-cinderclient: ``cinder retype --allow-size-increase \u003cvolume\u003e \u003ctype\u003e``"},{"line_number":401,"context_line":"  with a client release that supports the new microversion."},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"* python-openstackclient: ``openstack --os-volume-api-version \u003cnew version\u003e"}],"source_content_type":"text/x-rst","patch_set":2,"id":"41dbb400_f3624fe1","line":400,"updated":"2026-11-13 15:57:05.000000000","message":"A retype that adds encryption always needs a migration, so this example fails with the default `migration_policy` of never; add `--migration-policy on-demand`, as the OSC example at 403 has.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[{"line_number":397,"context_line":"Other end user impact"},{"line_number":398,"context_line":"---------------------"},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"* python-cinderclient: ``cinder retype --allow-size-increase \u003cvolume\u003e \u003ctype\u003e``"},{"line_number":401,"context_line":"  with a client release that supports the new microversion."},{"line_number":402,"context_line":""},{"line_number":403,"context_line":"* python-openstackclient: ``openstack --os-volume-api-version \u003cnew version\u003e"}],"source_content_type":"text/x-rst","patch_set":2,"id":"f57d1983_f0ca10a2","line":400,"in_reply_to":"41dbb400_f3624fe1","updated":"2026-11-13 16:47:16.000000000","message":"Good catch, added.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":554,"context_line":"Documentation Impact"},{"line_number":555,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":556,"context_line":""},{"line_number":557,"context_line":"* api-ref: new ``allow_size_increase`` parameter of the ``os-retype`` action."},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"* Admin guide, volume encryption and volume migration sections: a retype of an"},{"line_number":560,"context_line":"  unencrypted volume to an encrypted type may need the size increase, how to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"c9613731_10f08c77","line":557,"updated":"2026-11-13 15:57:05.000000000","message":"nit: The api-ref retype text already says a same-size encrypted retype \"will most likely fail\"; this spec changes that, so include rewriting that paragraph, not only adding the parameter.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[{"line_number":554,"context_line":"Documentation Impact"},{"line_number":555,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":556,"context_line":""},{"line_number":557,"context_line":"* api-ref: new ``allow_size_increase`` parameter of the ``os-retype`` action."},{"line_number":558,"context_line":""},{"line_number":559,"context_line":"* Admin guide, volume encryption and volume migration sections: a retype of an"},{"line_number":560,"context_line":"  unencrypted volume to an encrypted type may need the size increase, how to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"e3080ba5_0741bffe","line":557,"in_reply_to":"c9613731_10f08c77","updated":"2026-11-13 16:47:16.000000000","message":"Done. The same warning is also in the encryption config guide and the contributor migration doc, so I listed those too.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"9d46df0811b98e2d6990246a5576d23512da29fc","unresolved":true,"context_lines":[{"line_number":569,"context_line":"References"},{"line_number":570,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":571,"context_line":""},{"line_number":572,"context_line":"* Bug 1925818: https://bugs.launchpad.net/cinder/+bug/1925818"},{"line_number":573,"context_line":""},{"line_number":574,"context_line":"* Cinder meeting on 2026-10-21, where it was agreed that the new microversion"},{"line_number":575,"context_line":"  needs a spec:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"ba2eabca_dd5a8992","line":572,"updated":"2026-11-13 15:57:05.000000000","message":"Bug 1687880 (2017, Confirmed, High) reports the same failure and is still open; cite it here and as a second Related-Bug, and change \"since 2021\" at 44 to 2017. Marking 1925818 a duplicate of it on Launchpad would be tidier still.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"0ef0e0b88f8f8e6662c5d2421dbee8156b0d81de","unresolved":false,"context_lines":[{"line_number":569,"context_line":"References"},{"line_number":570,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":571,"context_line":""},{"line_number":572,"context_line":"* Bug 1925818: https://bugs.launchpad.net/cinder/+bug/1925818"},{"line_number":573,"context_line":""},{"line_number":574,"context_line":"* Cinder meeting on 2026-10-21, where it was agreed that the new microversion"},{"line_number":575,"context_line":"  needs a spec:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"38b23c11_23abc7ad","line":572,"in_reply_to":"ba2eabca_dd5a8992","updated":"2026-11-13 16:47:16.000000000","message":"Thanks, I missed it. Cited 1687880 (the dd output is now from that bug), added it as Related-Bug and fixed the year. I\u0027d rather keep 1925818 open, since its description is about a later attach failure. The code change will close 1687880.","commit_id":"53362a4bbcf1529e8bbe80d1a06b5f06cd349877"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"449c3b5108b555f161d67f09b1c50eb1963c72c8","unresolved":true,"context_lines":[{"line_number":548,"context_line":"  snapshot check in ``retype()`` stays as it is for retypes to an encrypted"},{"line_number":549,"context_line":"  type."},{"line_number":550,"context_line":""},{"line_number":551,"context_line":"* Other changes in review, for example 986740 and 1000900, also take new"},{"line_number":552,"context_line":"  microversions and volume RPC versions. No merge order is assumed: each"},{"line_number":553,"context_line":"  change takes the next free numbers when it merges."},{"line_number":554,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"1023ed61_621aa904","line":551,"updated":"2026-11-13 17:14:10.000000000","message":"nit: 986740 adds a volume RPC version only, no microversion; 1000900 takes both. \"take new microversions or volume RPC versions\" covers both.","commit_id":"7e9ccec8ccdbde4577bbbe78096d03a0957ae733"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"14e9aa94b3da2691784796dc1072d7a754f233c3","unresolved":false,"context_lines":[{"line_number":548,"context_line":"  snapshot check in ``retype()`` stays as it is for retypes to an encrypted"},{"line_number":549,"context_line":"  type."},{"line_number":550,"context_line":""},{"line_number":551,"context_line":"* Other changes in review, for example 986740 and 1000900, also take new"},{"line_number":552,"context_line":"  microversions and volume RPC versions. No merge order is assumed: each"},{"line_number":553,"context_line":"  change takes the next free numbers when it merges."},{"line_number":554,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"5c67e706_2e7f6f18","line":551,"in_reply_to":"1023ed61_621aa904","updated":"2026-11-13 19:23:20.000000000","message":"Done.","commit_id":"7e9ccec8ccdbde4577bbbe78096d03a0957ae733"},{"author":{"_account_id":13425,"name":"Simon Dodsley","email":"simon@everpuredata.com","username":"sdodsley"},"change_message_id":"449c3b5108b555f161d67f09b1c50eb1963c72c8","unresolved":true,"context_lines":[{"line_number":579,"context_line":"Documentation Impact"},{"line_number":580,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":581,"context_line":""},{"line_number":582,"context_line":"* api-ref: new ``allow_size_increase`` parameter of the ``os-retype`` action."},{"line_number":583,"context_line":"  The paragraph that says a retype of an unencrypted volume to the same size"},{"line_number":584,"context_line":"  encrypted volume \"will most likely fail\" is rewritten."},{"line_number":585,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"bcdfa23c_178d5842","line":582,"updated":"2026-11-13 17:14:10.000000000","message":"nit: The v2 api-ref carries the same paragraph (api-ref/source/v2/volumes-v2-volumes-actions.inc:408); since it is still published, include it in the rewrite.","commit_id":"7e9ccec8ccdbde4577bbbe78096d03a0957ae733"},{"author":{"_account_id":32861,"name":"Jan Wasilewski","email":"jan.wasilewski@atman.pl","username":"janwasilewski"},"change_message_id":"14e9aa94b3da2691784796dc1072d7a754f233c3","unresolved":false,"context_lines":[{"line_number":579,"context_line":"Documentation Impact"},{"line_number":580,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":581,"context_line":""},{"line_number":582,"context_line":"* api-ref: new ``allow_size_increase`` parameter of the ``os-retype`` action."},{"line_number":583,"context_line":"  The paragraph that says a retype of an unencrypted volume to the same size"},{"line_number":584,"context_line":"  encrypted volume \"will most likely fail\" is rewritten."},{"line_number":585,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"e1932043_a910386d","line":582,"in_reply_to":"bcdfa23c_178d5842","updated":"2026-11-13 19:23:20.000000000","message":"Done, and PS6 of the code change rewrites the v2 paragraph as well.","commit_id":"7e9ccec8ccdbde4577bbbe78096d03a0957ae733"}]}
