| Summary: | s-c-lvm ends with traceback when EFI GPT is used | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Marek Grac <mgrac> | ||||
| Component: | system-config-lvm | Assignee: | Marek Grac <mgrac> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.2 | CC: | agk, bbrock, cluster-maint, dwysocha, mbroz, prajnoha, prockai, rsteiger, zkabelac | ||||
| Target Milestone: | rc | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | system-config-lvm-1.1.12-8 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | 700253 | Environment: | |||||
| Last Closed: | 2012-06-20 14:49:25 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | 700253 | ||||||
| Bug Blocks: | 756082 | ||||||
| Attachments: |
|
||||||
|
Description
Marek Grac
2011-05-26 15:20:47 UTC
Changing fdisk (no support for EFI GPT) for parted will be major change in system-config-lvm which is going to be deprecated. We should try to fix traceback issue and replace it with proper error message. Patch is part of upstream now: http://git.fedorahosted.org/git/?p=system-config-lvm.git;a=commit;h=f97d4e1ffc906fec7d1d9005c9d3f88d6bbeff02 unit test:
1) add a hard drive
2a) parted /dev/hdb
2b) mklabel gpt
2c) mkpart - create one partition
2d) quit
3a) system-config-lvm
3b) select Unitialized devices / dev/hdb
3c) initialize entry - answer yes to every question
3d) previously: python traceback
correct: error message 'Autopartition failed'
I don't think the unit test is really taken from 6.X as the previous behavior is not reproducible in 6.X series. The actual behavior is that GPT-labelled devices are not shown in the "Unitialised Entities" list, it looks like they are masked out and therefore no operations can be be made as opposed to the description in the original bugreport and/or unit test. From what I tested in system-config-lvm-1.1.12-7 adding a device partition manually from "Tools / Initialize Block Device" menu with GPT does make no problem at all so from my point of view this bug is non-existent. Created attachment 528541 [details] /dev/sdb with GPT A screenshot for Comment #6, /dev/sdb with GPT table is not listed and it gives this error when added manually. [root@z1 tmp]# fdisk -l /dev/sdb WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdb: 219.4 GB, 219417673728 bytes 255 heads, 63 sectors/track, 26676 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 26677 214275071+ ee GPT @Radek: thanks for a report Moving to 6.3 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. http://rhn.redhat.com/errata/RHBA-2012-0960.html |