Bug 822774

Summary: Anaconda's graphical interface doesn't allow deselecting storage devices for LVM
Product: Red Hat Enterprise Linux 5 Reporter: Fred New <fred.new2911>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-20 17:44:36 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 Fred New 2012-05-18 06:05:09 UTC
Description of problem:
While upgrading from RHEL4 to RHEL5, I was attempting to preserve three volume groups and the logical volumes they contained.  Anaconda would only permit me to set up one volume group using all three physical devices.  There was a window with check boxes, implying that I could deselect some of the physical devices, but Anaconda wouldn't allow me to uncheck them.

Version-Release number of selected component (if applicable):
anaconda-11.1.2.250-1.i386

How reproducible:
Always

Steps to Reproduce:
1. Create an RHEL4 system with more than one volume group and several non-system logical volumes.  For example, in my case
  PV                VG   Fmt  Attr PSize   PFree
  /dev/cciss/c0d0p2 rhel lvm2 a--  136.56G 28.56G
  /dev/cciss/c0d1p1 vg02 lvm2 a--  279.36G 35.36G
  /dev/cciss/c0d2p1 vg03 lvm2 a--  136.70G     0
  rhel (volume group)
    juur (logical volume, "juur" = Estonian for "root")
    swap0
    u01
  vg02
    install (logical volume)
    u02
    u03
  vg03
    u04
2. Attempt to fresh-install RHEL5 on that system and preserve all of the non-system logical volumes
  
Actual results:
  I was unable to preserve the three volume groups and I was also unable to ignore two of the physical volumes using the graphical interface.

Expected results:
  The graphical interface should provide me some way of preserving the non-system logical volumes.  In particular, I should be able to select only one of the physical volumes discovered - something similar to the kickstart option "ignoredisk --only-use=cciss/c0d0".

Additional info:
  I was able to work around this by setting up a kickstart file with the following options:

ignoredisk --only-use=cciss/c0d0
part /boot --fstype=ext3 --onpart cciss/c0d0p1
part pv.01 --noformat --onpart cciss/c0d0p2
volgroup rhel pv.01 --noformat
logvol /u01 --noformat --name=u01 --vgname=rhel
logvol / --useexisting --fstype=ext3 --name=juur --vgname=rhel
logvol swap --useexisting --fstype=swap --name=swap0 --vgname=rhel

Comment 1 David Cantrell 2013-03-20 17:44:36 UTC
While Red Hat welcomes bug reports on Red Hat products here in our public
bugzilla database, please keep in mind that bugzilla is not a support tool or
means of accessing support.  If you would like technical support please visit
our support portal at access.redhat.com or call us for information on
subscription offerings to suit your needs.