Bug 1233438
| Summary: | [RFE] Anaconda action for CDL formatting for LDL low level formatted disks. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Samantha N. Bueno <sbueno> |
| Component: | python-blivet | Assignee: | Samantha N. Bueno <sbueno> |
| Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | bugproxy, ebrizuel, hannsj_uhl, jstodola, release-test-team-automation, salmy, sbueno |
| Target Milestone: | rc | Keywords: | FutureFeature, Triaged |
| Target Release: | 7.3 | ||
| Hardware: | s390x | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-blivet-0.61.15.46-1 | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1170656 | Environment: | |
| Last Closed: | 2016-11-03 23:49:37 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: | |||
| Bug Depends On: | 1170656, 1244833 | ||
| Bug Blocks: | 1191019, 1214407, 1230910, 1232849, 1271742, 1428456 | ||
|
Description
Samantha N. Bueno
2015-06-18 23:08:54 UTC
Retested with python-blivet-0.61.15.34-1.el7, but also FBA DASDs are treated as LDL disks, which is not correct. Since also other LDL bugs have been moved to 7.3 and this bug is not a blocker, proposing this bug for 7.3 and moving back to ASSIGNED. Anaconda still asks to format FBA devices, the following change is needed to fix that:
diff --git a/blivet/devicelibs/dasd.py b/blivet/devicelibs/dasd.py
index 5b5f64f..446908a 100644
--- a/blivet/devicelibs/dasd.py
+++ b/blivet/devicelibs/dasd.py
@@ -131,7 +131,7 @@ def is_ldl_dasd(device):
return False
# check we're not on an FBA DASD, since dasdfmt can't run on them
- if arg.type[0:2] == 'FBA':
+ if arg.type[0:3] == 'FBA':
return False
# check DASD volume label; "VOL1" is CDL formatted DASD, won't
Tested with python-blivet-0.61.15.45-1.el7
Anaconda no longer asks to format FBA disks, and detection and formatting of LDL disks works fine - tried in text and vnc mode, kickstart and manual installation. Tested with anaconda-21.48.22.86-1.el7, pykickstart-1.99.66.10-1.el7, python-blivet-0.61.15.55-1.el7. Thanks, moving to VERIFIED. *** Bug 1271742 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-2168.html |