Bug 2036976
| Summary: | create_options ignored for mkfs.btrfs | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | mb+fedora |
| Component: | python-blivet | Assignee: | Vojtech Trefny <vtrefny> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | blivet-maint-list, dlehman, exnihilo, japokorn, mkolman, rvykydal, vponcova, vtrefny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-blivet-3.11.0-1.fc41 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-09-24 00:16:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
mb+fedora
2022-01-04 14:41:30 UTC
Reproducer without Anaconda:
```
In [1]: import blivet; b=blivet.Blivet(); b.reset()
In [2]: sdb1 = b.devicetree.get_device_by_name("sdb1")
In [3]: b.format_device(sdb1, blivet.formats.get_format("btrfs"))
In [4]: vol = b.new_btrfs(parents=[sdb1], create_options="--csum xxhash")
In [5]: b.create_device(vol)
In [6]: b.do_it()
```
neither passing the create_options directly to BTRFSVolumeDevice nor to the format with fmt_args={"create_options": "--csum xxhash"}) work with "new_btrfs" -- the mkfs options are not passed to the bd_btrfs_create_volume function from blivet.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. If this bug can be fixed for F36 that'd be wonderful, but I suspect that ship has now sailed, so I might change it back to rawhide. I don't know how long the bug has been there, certainly at least a couple of years so maybe always. This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37. This bug persists in Fedora 37. This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38. Looks like this bug is still present in F40. I'd love to see it fixed, especially if (I can hope..) btrfs might make a re-appearance in RHEL10. *** Bug 2274375 has been marked as a duplicate of this bug. *** upstream PR: https://github.com/storaged-project/blivet/pull/1260 updates image for rawhide (41): https://vtrefny.fedorapeople.org/img/rhbz2036976.img FEDORA-2024-8173c55024 (python-blivet-3.11.0-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8173c55024 FEDORA-2024-8173c55024 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8173c55024` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8173c55024 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2024-8173c55024 (python-blivet-3.11.0-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |