Bug 852864
Summary: | [abrt] system-config-lvm-1.1.12-12.el6: ExtentBlock.py:14:__init__:AttributeError: 'NoneType' object has no attribute 'add_extent_block' | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jeff Bastian <jbastian> | ||||||
Component: | system-config-lvm | Assignee: | Marek Grac <mgrac> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 6.3 | CC: | agk, cluster-maint, dwysocha, mbroz, prajnoha, prockai, rsteiger | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | abrt_hash:8e701696e13bd3a0075cee31b7d460fa96814870 | ||||||||
Fixed In Version: | system-config-lvm-1.1.12-14.el6 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-02-21 10:04:53 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Jeff Bastian
2012-08-29 19:46:45 UTC
Created attachment 607985 [details]
File: sosreport.tar.xz
@Jeff: Is system-config-lvm working correctly after migration was completed? No, it still fails with the same traceback. (Sorry, I promised to update when the migration finished but I forgot!) The migration is complete and working now: $ sudo lvs -a -o name,copy_percent,devices LV Copy% Devices gecko_home 100.00 gecko_home_rimage_0(0),gecko_home_rimage_1(0) [gecko_home_rimage_0] /dev/sda5(0) [gecko_home_rimage_1] /dev/sdb1(8194) [gecko_home_rmeta_0] /dev/sda5(13441) [gecko_home_rmeta_1] /dev/sdb1(8193) gecko_root 100.00 gecko_root_rimage_0(0),gecko_root_rimage_1(0) [gecko_root_rimage_0] /dev/sda5(4608) [gecko_root_rimage_1] /dev/sdb1(1) [gecko_root_rmeta_0] /dev/sda5(13440) [gecko_root_rmeta_1] /dev/sdb1(0) swap /dev/sda5(4096) win7-vm /dev/sda5(12800) Reproducer: dd if=/dev/zero of=/disk1 dd if=/dev/zero of=/disk2 dd if=/dev/zero of=/disk3 losetup -f /disk1 losetup -f /disk2 losetup -f /disk3 losetup -a (check devices) pvcreate /dev/loop[012] vgcreate test /dev/loop[012] lvcreate -n first -L 100M test lvconvert --type raid1 -m 1 test/first system-config-lvm Created attachment 611473 [details]
Proposed patch
Proposed patch fixes problem with crashing. Please try to apply and test it too.
You should see part of RAID1 what is not an ideal solution but adding support for RAID1 in LVM to system-config-lvm should be treat under RFE.
I confirm the patch solves the crash. s-c-lvm shows all the pieces of the RAID1 as if they were equivalent logical volumes. That is, instead of just gecko_home and gecko_root, I get: gecko_home gecko_home_rimage_0 gecko_home_rimage_1 gecko_home_rmeta_0 gecko_home_rmeta_1 gecko_root gecko_root_rimage_0 gecko_root_rimage_1 gecko_root_rmeta_0 gecko_root_rmeta_1 But as you say, this problem is for an RFE. Thank you! Patch is posted to upstream: http://git.fedorahosted.org/cgit/system-config-lvm.git/commit/?id=7169d7adf12d5bd3acb585ec0858fec458e6aca0 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-2013-0385.html |