The following was filed automatically by anaconda: anaconda 13.35 exception report Traceback (most recent call first): File "/usr/lib/anaconda/storage/devices.py", line 2039, in size size += max(0, self.align(pv.size - pv.format.peStart)) File "/usr/lib/anaconda/storage/devices.py", line 2057, in freeSpace size = self.size File "/usr/lib/anaconda/storage/partitioning.py", line 1533, in growLVM total_free = vg.freeSpace File "/usr/lib/anaconda/storage/partitioning.py", line 220, in doAutoPartition growLVM(anaconda.storage) File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext self.moveStep() File "/usr/lib/anaconda/text.py", line 659, in run anaconda.dispatch.gotoNext() File "/usr/bin/anaconda", line 1187, in <module> anaconda.intf.run(anaconda) AttributeError: 'Ext4FS' object has no attribute 'peStart'
Created attachment 402649 [details] Attached traceback automatically from anaconda.
This happened when attempting to replace a lvm formatted system with: part / --onpart=sda2 --fstype=ext4 part /boot --onpart=sda1 --fstype=ext4
ks is: install url --url=http://download.fedora.devel.redhat.com/pub/fedora/linux/development/13/x86_64/os/ lang en_US.UTF-8 keyboard us network --device eth0 --bootproto dhcp firewall --service=ssh authconfig --enableshadow --passalgo=sha512 --enablefingerprint selinux --enforcing timezone --utc America/New_York bootloader --location=mbr --driveorder=sda --append="rhgb quiet" repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch #clearpart --all part / --onpart=sda2 --fstype=ext4 part /boot --onpart=sda1 --fstype=ext4 %packages --ignoremissing ConsoleKit-devel <a bunch of other stuff>
We aren't scheduling format destroy actions for the preexisting formats when handling onpart. We need to be doing a recursive destroy starting with those formats, eg: lvmpv->lvmvg->lvmlv(s)
Bill, this should be fixed in current builds (inc. TC1), as per the 'fixed in' field. Can you please test and confirm? Thanks. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Ping?
I have not had time to test this.
So, to test this correctly, all you need to do is do a kickstart install using --onpart to ask the installer to convert a partition currently occupied by an LVM into a raw ext4 partition, right? -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Correct.
okay, I should be able to test this later today. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Tested this with 0505 boot.iso. Seems to work. I first did an install with default partitioning - so a swap partition and an LVM with / and /boot. Then I replaced it with this ks: http://www.happyassassin.net/extras/test.ks . It uses the original /boot partition as swap, and replaces the LVM with an ext4 / partition. It got happily through partitioning stage and started installing packages, whereupon I stopped it because I don't have all night. :)
Closing this since the update is already pushed to stable.