Red Hat Bugzilla – Bug 961521
Kickstart installation does not accept volgroup vg --useexisting
Last modified: 2014-01-24 10:57:17 EST
Description of problem:
As discussed in Brno, kickstart is recommended way to install on custom partition layout e.g. when not possible using Anaconda.
Without working '--useexisting' options to volgroup and logvol this is impossible.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to use existing VG or LV (does not matter whether created in %pre which does not work anyway or prepared in advance) in kickstart.
Backtrace saying: "volgroup must be given a list of partitions".
Installation using prepared VG.
Now it works with PV+VG prepared in advance. PEBKAC: clearpart in my ks to blame.
However I am still unable to create PVs/VGs/LVs in %pre.
Is it supposed/known to work? (Do I need to spend more time debugging my env?)
Closing per comment #2. We do not guarantee things work via %pre. That is a preinstall script area for users, but something not working in %pre does not indicate a bug in the installer. It almost always is an invalid, incorrect, or incomplete set of commands you're running in %pre.