[Bug 2107381] Re: zfs + encryption fails with plucky iso dated 20250415 - Requested offset is beyond real size of device /dev/zvol/rpool/keystore
Olivier Gayot
2107381 at bugs.launchpad.net
Fri Aug 1 12:28:24 UTC 2025
I tested on noble using the desktop installer with the latest ubuntu-
desktop-bootstrap snap (rev 413) and latest daily ISO (20250801). The
installation went successfully.
When installing on a VM, I did run into an issue on first boot and filed
bug 2119293 (which I don't consider critical for .3 since it is not a
regression).
Marking fix released since the regression with the zfs luks header size
is addressed.
** Changed in: subiquity (Ubuntu Noble)
Status: Fix Committed => Fix Released
** Changed in: Ubuntu Noble
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2107381
Title:
zfs + encryption fails with plucky iso dated 20250415 - Requested
offset is beyond real size of device /dev/zvol/rpool/keystore
Status in curtin:
Fix Committed
Status in subiquity:
Fix Released
Status in Ubuntu:
Fix Released
Status in subiquity package in Ubuntu:
Fix Released
Status in The Noble Numbat:
Fix Released
Status in subiquity source package in Noble:
Fix Released
Bug description:
Title, log attached, installer crashes simply with system problem
detected etc
```
An error occured handling 'zpool-1': ProcessExecutionError - Unexpected error while running command.
Command: ['cryptsetup', 'open', '--type', 'luks', '/dev/zvol/rpool/keystore', 'keystore-rpool', '--key-file', '/tmp/zpool-key-p4shdf2v']
Exit code: 1
Reason: -
Stdout: ''
Stderr: Requested offset is beyond real size of device /dev/zvol/rpool/keystore.
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring zpool: zpool-1
TIMED BLOCK_META: 22.242
finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: curtin command block-meta
Traceback (most recent call last):
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/commands/main.py", line 202, in main
ret = args.func(args)
^^^^^^^^^^^^^^^
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/log.py", line 97, in wrapper
return log_time("TIMED %s: " % msg, func, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/log.py", line 79, in log_time
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/commands/block_meta.py", line 128, in block_meta
return meta_custom(args)
^^^^^^^^^^^^^^^^^
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/commands/block_meta.py", line 2284, in meta_custom
handler(command, storage_config_dict, context)
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/commands/block_meta.py", line 2041, in zpool_handler
zfs.zpool_create(poolname, vdevs_byid,
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/block/zfs.py", line 303, in zpool_create
encryption.setup(storage_config, context)
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/block/zfs.py", line 114, in setup
util.subp(cmd, capture=True)
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/util.py", line 323, in subp
return _subp(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/snap/ubuntu-desktop-bootstrap/361/lib/python3.12/site-packages/curtin/util.py", line 172, in _subp
raise ProcessExecutionError(stdout=out, stderr=err,
curtin.util.ProcessExecutionError: Unexpected error while running command.
Command: ['cryptsetup', 'open', '--type', 'luks', '/dev/zvol/rpool/keystore', 'keystore-rpool', '--key-file', '/tmp/zpool-key-p4shdf2v']
Exit code: 1
Reason: -
Stdout: ''
Stderr: Requested offset is beyond real size of device /dev/zvol/rpool/keystore.
Unexpected error while running command.
Command: ['cryptsetup', 'open', '--type', 'luks', '/dev/zvol/rpool/keystore', 'keystore-rpool', '--key-file', '/tmp/zpool-key-p4shdf2v']
Exit code: 1
Reason: -
Stdout: ''
Stderr: Requested offset is beyond real size of device /dev/zvol/rpool/keystore.
Stderr: ''
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2107381/+subscriptions
More information about the foundations-bugs
mailing list