Bug 522315

Summary: system-config-lvm fails when using pvcreate - initialize partition to use lvm
Product: [Fedora] Fedora Reporter: rwhalb <rwhalb>
Component: system-config-lvmAssignee: Marek Grac <mgrac>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: agk, dwysocha, itamar, jonathansteffan, jvillain, mbroz, mclasen, mgrac, prockai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.1.10-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 523123 (view as bug list) Environment:
Last Closed: 2009-10-03 19:02:38 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:
Bug Depends On:    
Bug Blocks: 523123    

Description rwhalb 2009-09-10 03:37:15 UTC
Description of problem:

system-config-lvm fails when using pvcreate - initialize partition to use lvm

seems like the --config option is not working...

Version-Release number of selected component (if applicable):

system-config-lvm-1.1.9-1.fc11.noarch
lvm2-2.02.48-2.fc11.i586


How reproducible:


Steps to Reproduce:
1.start system-config-lvm in a gnome-terminal
2.Try to initialize a partition for LVM use.
3.
  
Actual results:

This fails:

/sbin/pvcreate --config 'log{command_names=0}' -M 2 /dev/sdb1


Expected results:

This works:

/sbin/pvcreate -M 2 /dev/sdb1


Additional info:

python script to fix:
/usr/share/system-config-lvm/CommandHandler.py

Comment 1 Shawn 2009-09-11 02:13:16 UTC
vgcreate has the same problem. I started creating my vg in system-config-lvs and failed which led me to this bug report. Thanks for pointing out the issue rwhalb.

This fails:
/sbin/vgcreate --config 'log{command_names=0}' -M2 -l 256 -p 256 -s 8m -c n vg_data /dev/md0

This works:
/sbin/vgcreate  -M2 -l 256 -p 256 -s 8m -c n vg_data /dev/md0

lvm2-2.02.51-3.fc12.x86_64
system-config-lvm-1.1.9-1.fc12.noarch

Comment 2 Marek Grac 2009-09-14 08:15:55 UTC
It looks like this problem is in lvm2, but we don't need this arg in *create so I'm removing it. 

http://git.fedorahosted.org/git/system-config-lvm.git?p=system-config-lvm.git;a=commit;h=34b5d3ac2d07e7b6dd407166342b3f3bd4d48327

Comment 3 Marek Grac 2009-09-14 08:27:35 UTC
*** Bug 522992 has been marked as a duplicate of this bug. ***

Comment 4 Marek Grac 2009-09-14 08:29:36 UTC
*** Bug 522311 has been marked as a duplicate of this bug. ***

Comment 5 Milan Broz 2009-09-14 11:27:47 UTC
(In reply to comment #1)
> This fails:
> /sbin/vgcreate --config 'log{command_names=0}' -M2 -l 256 -p 256 -s 8m -c n
> vg_data /dev/md0

segfault is obviously lvm2 problem. But I do not understand why system-config-lvm forces -l and -p here. It can cause only problems...
(for text metadata format there is no need to set that limit)

Comment 6 Fedora Update System 2009-09-14 16:15:03 UTC
system-config-lvm-1.1.10-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/system-config-lvm-1.1.10-1.fc11

Comment 7 Fedora Update System 2009-09-14 16:15:52 UTC
system-config-lvm-1.1.10-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/system-config-lvm-1.1.10-1.fc10

Comment 8 Fedora Update System 2009-09-15 07:34:33 UTC
system-config-lvm-1.1.10-1.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-lvm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-9535

Comment 9 Fedora Update System 2009-09-15 07:43:48 UTC
system-config-lvm-1.1.10-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update system-config-lvm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9574

Comment 10 Fedora Update System 2009-10-03 19:02:33 UTC
system-config-lvm-1.1.10-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-10-03 19:11:06 UTC
system-config-lvm-1.1.10-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.