RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 745421 - Installation hangs on creating device - lvm logic volume on RAID
Summary: Installation hangs on creating device - lvm logic volume on RAID
Keywords:
Status: CLOSED DUPLICATE of bug 783841
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.2
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: David Lehman
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-12 10:14 UTC by michalx.sorn
Modified: 2012-02-20 13:15 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-20 13:15:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
kickstart config (1.28 KB, text/plain)
2011-10-12 10:14 UTC, michalx.sorn
no flags Details
/tmp/anaconda.log (7.50 KB, text/plain)
2011-10-12 10:14 UTC, michalx.sorn
no flags Details
/tmp/storage.log (182.87 KB, text/plain)
2011-10-12 10:15 UTC, michalx.sorn
no flags Details
/tmp/syslog (135.52 KB, text/plain)
2011-10-12 10:16 UTC, michalx.sorn
no flags Details
/tmp/program.log (14.96 KB, text/plain)
2011-10-12 15:21 UTC, michalx.sorn
no flags Details

Description michalx.sorn 2011-10-12 10:14:10 UTC
Created attachment 527664 [details]
kickstart config

Description of problem:
In one configuration two raid volumes one RAID0 15GB, second RAID10 on the same 4 disks. In auto installation with configuration:
one partition /boot and two logic volume swap and "/" on RAID0. Anaconda hangs during installation. 


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


How reproducible: Sporadically


Steps to Reproduce:
1. Create in OROM two RAID volumes (RAID0 of size 15GB and RAID10) on the same 4 disks;
2. Prepare kickstart for auto installation with partitions:
     part /boot --fstype ext2 --size=768 --ondisk=md126
     part pv.011520 --size=1 --grow --ondisk=md126 
     volgroup lvmvolgroup0 --pesize=32768 pv.011520
     logvol swap --fstype swap --size=768 --name=lvm_swap --vgname=lvmvolgroup0
     logvol / --fstype ext3 --size=10752 --name=lvm_root --vgname=lvmvolgroup0
3. Start auto installation
  
Actual results:
System hangs on "Creating device /dev/mapper/lvmvolgroup0 - lvm_root"

Expected results:


Additional info:
If change order of partitions problem not occur.

Comment 1 michalx.sorn 2011-10-12 10:14:48 UTC
Created attachment 527665 [details]
/tmp/anaconda.log

Comment 2 michalx.sorn 2011-10-12 10:15:33 UTC
Created attachment 527666 [details]
/tmp/storage.log

Comment 4 michalx.sorn 2011-10-12 10:16:13 UTC
Created attachment 527667 [details]
/tmp/syslog

Comment 5 David Cantrell 2011-10-12 14:11:31 UTC
Please collect /tmp/program.log from the installation environment after it stalls at "Creating device /dev/mapper/lvmvolgroup0 - lvm_root".  Attach /tmp/program.log to this bug report as a plain text file.

Comment 6 michalx.sorn 2011-10-12 15:21:12 UTC
Created attachment 527730 [details]
/tmp/program.log

Comment 7 David Cantrell 2011-10-12 15:36:16 UTC
(In reply to comment #0)
> Additional info:
> If change order of partitions problem not occur.

What do you mean?  What partition order works and how are you defining it?

Comment 8 michalx.sorn 2011-10-13 07:04:36 UTC
I am almost sure that for reverse configuration: 
     part pv.011520 --size=1 --grow --ondisk=md126 
     volgroup lvmvolgroup0 --pesize=32768 pv.011520
     logvol / --fstype ext3 --size=10752 --name=lvm_root --vgname=lvmvolgroup0
     logvol swap --fstype swap --size=768 --name=lvm_swap --vgname=lvmvolgroup0
     part /boot --fstype ext2 --size=768 --ondisk=md126
installation ended without problems?

Comment 10 RHEL Program Management 2011-10-25 05:48:20 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 11 michalx.sorn 2011-11-17 09:40:37 UTC
It still occur. On Snapshot5 also. Not allays, but appear.

Michal

Comment 12 Peter Rajnoha 2012-02-10 14:37:03 UTC
We've debugged one problem with very similar symptoms recently. Please, try this update for the anaconda installer, just add: 

 updates=http://dlehman.fedorapeople.org/updates/updates-783841.0.img

..to the kernel command line before starting the installation.

This update modifies anaconda udev rules so it uses a different locking scheme while calling "lvm pvs" command to obtain existing PV properties (which is a workaround for now, but a proper fix is on its way for 6.3 already).

Please, let us know if it helps. Thanks.

Comment 13 michalx.sorn 2012-02-17 11:02:01 UTC
It helps. Problem do not occurs.

Michal

Comment 14 Peter Rajnoha 2012-02-20 08:23:46 UTC
(In reply to comment #13)
> It helps. Problem do not occurs.

Thanks for testing, I'm reassigning this to anaconda team then.

Comment 16 David Cantrell 2012-02-20 13:15:58 UTC

*** This bug has been marked as a duplicate of bug 783841 ***


Note You need to log in before you can comment on or make changes to this bug.