Description of problem:
When installing custom livecd spins on kvm, I often encounter the following
python error in post-install:
Traceback (most recent call first):
File "/usr/lib/anaconda/livecd.py", live 63, in copytree
except Error, err:
File "/usr/lib/anaconda/livecd.py", line 223, in _doFilesystemMangling
"%s/mnt/%s" %(anaconda.rootPath, tocopy))
File "/usr/lib/anaconda/livecd.py", line 279, in doPostInstall
File "/usr/lib/anaconda/backend.py", line 233, in doPostInstall
File "/usr/lib/anaconda/dispatch.py", line 203, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
File "/usr/lib/anaconda/text.py", line 605, in run
File "/usr/sbin/anaconda", line 955, in <module>
NameError: global name 'Error' is not defined
The install still completes and runs, although it's unclear to me whether or not
it's the whole of the install I intended.
Version-Release number of selected component (if applicable):
Consistent within my livecd images, but we are experimenting with some wacky
things in postscript. I've attached one such kickstart.
Steps to Reproduce:
2.qemu-img create -f qcow vm-disk.img 4G
3.qemu-kvm -no-acpi -m 384 -cdrom <that_iso.iso> -boot d -hda vm-disk.img -vnc :2
4.vncviewer (or w/e you prefer) into the vm
copytree succeeds, or fails gracefully
At a glance seems to be a pretty simple Python mistake, I just don't have time
to poke at it myself.
Created attachment 158892 [details]
sample wacky kickstart
My bad, system won't boot from hard disk, install failed. Upgraded to high priority.
*** This bug has been marked as a duplicate of 241754 ***