kickstart installation failed with software raid and logvol with --grow option

Solution Unverified - Updated -

Issue

  • I'm using the following kickstart commands.
part raid.11 --size=1  --ondisk=sda
part raid.12 --size=32768 --ondisk=sda
part raid.13 --size=1024  --ondisk=sda
part raid.14 --size=1 --grow --ondisk=sda

part raid.21 --size=1  --ondisk=sdb
part raid.22 --size=32768 --ondisk=sdb
part raid.23 --size=1024  --ondisk=sdb
part raid.24 --size=1 --grow --ondisk=sdb

raid /bios --level=RAID1 --device=md0 --fstype=biosboot raid.11 raid.21
raid swap --level=RAID1 --device=md1 --fstype=swap raid.12 raid.22
raid /boot --level=RAID1 --device=md2 --fstype=xfs raid.13 raid.23
raid pv.01 --level=RAID1 --device=md3 raid.14 raid.24

volgroup vg00 pv.01
logvol /      --fstype="xfs" --size=20480 --name=lvroot --vgname=vg00
logvol /tmp  --fstype="xfs" --grow --maxsize=10240 --size=8192 --name=lvtmp --vgname=vg00
logvol /var  --fstype="xfs" --grow --maxsize=400000 --size=2040 --name=lvvar --vgname=vg00
  • But, it failed with the following error.
ValueError: not enough free space in volume group
  • It seems to be a duplicate of Bug 1093144, https://bugzilla.redhat.com/show_bug.cgi?id=1093144#c7
  • In our yum repo we have the fixed python-blivet.

Environment

Red Hat Enterprise Linux 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content