Install failed on disk previously used for ZFS
Bug #1782744 reported by
Andreas Hasenack
This bug affects 25 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Undecided
|
Unassigned | ||
subiquity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This might be a dupe of #1768384, but since that bug has no logs, I can't tell.
I tried to install on a machine with 4 disks of which two were previously part of a zpool. I used them for raid this time. The installer crashed while I was filling out my username details.
I mention ZFS because the log shows it tried to do something with zpools, even though the installer doesn't support zfs yet. Attached.
Related branches
~chad.smith/curtin:ubuntu/devel
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 40 lines (+9/-3)2 files modifieddebian/changelog (+3/-2)
tests/unittests/test_block_zfs.py (+6/-1)
~chad.smith/curtin:ubuntu/devel
- Scott Moser (community): Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 1195 lines (+626/-86)23 files modifiedcurtin/block/__init__.py (+14/-0)
curtin/block/clear_holders.py (+11/-9)
curtin/block/lvm.py (+23/-5)
curtin/block/mdadm.py (+2/-3)
curtin/block/zfs.py (+18/-7)
curtin/commands/block_meta.py (+5/-3)
curtin/commands/install.py (+2/-1)
curtin/log.py (+43/-0)
curtin/udev.py (+2/-0)
curtin/util.py (+33/-8)
debian/changelog (+11/-0)
examples/tests/dirty_disks_config.yaml (+30/-3)
examples/tests/lvmoverraid.yaml (+98/-0)
examples/tests/vmtest_defaults.yaml (+14/-0)
tests/unittests/test_block.py (+35/-0)
tests/unittests/test_block_lvm.py (+13/-13)
tests/unittests/test_block_mdadm.py (+4/-5)
tests/unittests/test_block_zfs.py (+80/-24)
tests/unittests/test_clear_holders.py (+60/-3)
tests/unittests/test_util.py (+62/-0)
tests/vmtests/__init__.py (+15/-1)
tests/vmtests/test_lvm_raid.py (+50/-0)
tests/vmtests/test_lvm_root.py (+1/-1)
~raharper/curtin:fix/wipe-zfs-no-utils
Merged
into
curtin:master
- Server Team CI bot: Approve (continuous-integration)
- Scott Moser (community): Approve
-
Diff: 443 lines (+213/-43)7 files modifiedcurtin/block/__init__.py (+14/-0)
curtin/block/clear_holders.py (+8/-9)
curtin/block/zfs.py (+18/-7)
curtin/commands/block_meta.py (+3/-2)
tests/unittests/test_block.py (+35/-0)
tests/unittests/test_block_zfs.py (+80/-24)
tests/unittests/test_clear_holders.py (+55/-1)
Changed in subiquity: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in curtin: | |
status: | New → Fix Released |
To post a comment you must log in.
The boot environment does not include the zfslinux-utils package.
Has that changed?
Command: ['zpool', 'list', '-H', '-o', 'name']
Reason: [Errno 2] No such file or directory: 'zpool': 'zpool'
I don't think this is a dupe of that; there was an issue with other zfs pools being activated which curtin now will remove/disable. But to do so it using zfs tools to query the system state.
Can you dpkg query system to see if any zfs packages are installed?
The live image needs to have zfslinux-utils package, or invoke curtin with --install-deps (which will check and apt install as needed).