Description of problem: The kickstart file generated by the anaconda GUI does not correctly capture storage configurations. (I have only tested LVM and BTRFS configurations.) This means that it cannot be used to automate re-creation of the configured host, nor to provide a template for extending the configuration to cover modes (such as LVM striping) not exposed through the GUI. Version-Release number of selected component (if applicable): As of the f18 release (20130115), the DVD 'Packages' directory shows anaconda-yum-plugins-1.0-8 I'm not sure how else to infer this information, but as the DVD-format release remains unchanged, it's hard to see an ambiguity here. How reproducible: Use the anaconda GUI to configure a host with LVM or BTRFS filesystems mapped over several physical drives; on reboot, examine the kickstart file which was generated. Steps to Reproduce: 1. boot from the installation DVD and Continue to the hub. 2. select the Storage/Installation Destination spoke. 3. enable configuration of multiple (sda, sdb, sdc) Local Standard Disks. 4. enable "Encrypt my data..." and Continue. 5. enable "Let me customize the partitioning..." and Continue. 6. delete any existing partitions/filesystems. 7. add a '/' mountpoint; by-default, this sets Device Type to LVM. a Modify the Volume Group to comprise only devices sda and sdb. b re-set Desired Capacity (must be less than the combined capacity of sda and sdb.) c Apply Changes. d observe in-passing that there is no way to enable LVM striping...? 8. add a '/boot' mountpoint; by-default, this sets Device Type to Standard Partition. a configure the selected mountpoint (tools icon) to comprise only sdc. b re-set Desired Capacity (must be less than sdc.) c Apply Changes. 9. add a 'swap' mount point; by-default, this sets Device Type to LVM. a re-set the Device Type to Standard Partition. b configure the selected mountpoint (tools icon) to comprise only sdc. c re-set Desired Capacity (must less than the remainder of sdc.) d Apply Changes. e observe in-passing that the Desired Capacity gets stuck at your initial setting... that is, the value initially set cannot now be changed (either via the '+' button or via text-entry), regardless of how much free space remains on sdc, selecting Apply Changes, etc. 10. Finish Partitioning. 11. set/confirm and save a disk passphrase. 12. select the Software/Software Selection spoke. 13. select Minimal Install (since our aim is to generate a Kickstart file, there's no point installing more than the minimum) and Done. 14. Begin Installation. 15. set/confirm a root password and Done. 17. Reboot and (before the BIOS locates the DVD) disconnect the DVD. 18. on reboot, decrypt the root device. 19. Login. 20. at the command prompt, 'view /root/anaconda-ks.cfg'. Actual results: The kickstart file shows a *fragment* of a kickstart command: --encrypted --type=lvm Clearly this fragment is of no use for configuring filesystems and devices. Further, if you modify step #7, above, to configure storage for BTRFS (which does expose striping in the GUI), this will still generate the fragment: --encrypted --type=lvm - which makes no sense whatsoever. Expected results: Anaconda documentation says, "The Fedora installation program also creates a sample kickstart file based on the options that you selected during installation." Clearly actual results are different. Additional info: Happy to provide such if it will make a difference. Hard to feel confident under the circumstances.
Created attachment 694812 [details] kickstart file generated by anaconda as discussed in report (see line 24.)
I now see that, during initialization, anaconda announces its version. The version I am using is 18.37.11.
Related to this topic (re: system-config-kickstart), see https://bugzilla.redhat.com/show_bug.cgi?id=859928#c16
This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.