Description of problem: Running liveinst on a freshly-built Rawhide desktop live image, after restarting NetworkManager.service (running it before restarting NetworkManager.service triggered #986068). Welcome screen showed up but the crash occurred immediately after. Version-Release number of selected component: anaconda-20.2-1.fc20.x86_64 The following was filed automatically by anaconda: anaconda 20.2-1 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/pykickstart/commands/method.py", line 51, in __getattr__ return getattr(self.handler.url, name) File "/usr/lib/python2.7/site-packages/pykickstart/commands/method.py", line 76, in __getattr__ return FC3_Method.__getattr__(self, name) File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/livepayload.py", line 71, in setup osimg = storage.devicetree.getDeviceByPath(self.data.method.partition) File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 671, in payloadInitialize payload.setup(storage) File "/usr/lib64/python2.7/threading.py", line 764, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run threading.Thread.run(self, *args, **kwargs) AttributeError: 'F18_Url' object has no attribute 'partition' Additional info: cmdline: /usr/bin/python /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-osimg-min --lang en_US.UTF-8 cmdline_file: initrd=initrd0.img root=live:CDLABEL=20130718-desktop-x86_64 rootfstype=auto ro rd.live.image quiet rhgb rd.luks=0 rd.md=0 rd.dm=0 slub_debug=- BOOT_IMAGE=vmlinuz0 executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.11.0-0.rc1.git1.1.fc20.x86_64 other involved packages: pykickstart-1.99.34-1.fc20.noarch, python-libs-2.7.5-3.fc20.x86_64 product: Fedora release: Fedora release 20 (Rawhide) type: anaconda version: rawhide
Created attachment 775517 [details] File: anaconda-tb
Created attachment 775518 [details] File: anaconda.log
Created attachment 775519 [details] File: environ
Created attachment 775520 [details] File: lsblk_output
Created attachment 775521 [details] File: messages
Created attachment 775522 [details] File: nmcli_dev_list
Created attachment 775523 [details] File: os_info
Created attachment 775524 [details] File: program.log
Created attachment 775525 [details] File: storage.log
Created attachment 775526 [details] File: ifcfg.log
Looks rather like an Alpha blocker: instacrash in the live installer.
This looks like a dupe: Bug 986020 - anaconda-20.2
anaconda assumes that the method object will have the appropriate attrs available when it sets the ksdata.method.method string
*** Bug 989040 has been marked as a duplicate of this bug. ***
The same bug with anaconda 20.3 ManfredB
This looks like a duplicate: Bug 986020 - anaconda-20.2
*** Bug 986020 has been marked as a duplicate of this bug. ***
I'm not sure if it was supposed to or not, but pykickstart-1.99.35-1.fc20 does not fix this, I just tested.
Changelog commit for 1.99.35: https://git.fedorahosted.org/cgit/pykickstart.git/commit/?id=e2a6531079fdbf147e4adfe48444b768265ce73c Add aliases for all the old method classes (#986069). https://git.fedorahosted.org/cgit/pykickstart.git/commit/?id=6818f020aa6061a799f4994ccc26f37de3350749
Ok, but how to use it? I installed pykickstart-1.99.35-1, but I don´t understand how I can change the aliases. ManfredB
Manfred: If you are asking how to reproduce the AttributeError exception, here is how I did it using this nightly[1]: Fedora-20-Nightly-x86_64-Live-desktop-20130728.10-1.iso: http://koji.fedoraproject.org/koji/taskinfo?taskID=5668680 1. Start the Live image in a VM: $ qemu-kvm -m 4096 -cdrom ~/xfr/fedora/nightly-composes/Fedora-20-Nightly-x86_64-Live-desktop-20130728.10-1.iso -vga std -boot menu=on 2. From the desktop, start a terminal. 3. $ liveinst A bug reporting dialog is displayed, but it is not responsive to clicks. The dialog disappears almost immediately as liveinst exits with an Aborted message in the terminal. An abrt notification is displayed. 4. $ sudo less /tmp/anaconda-tb-*. The file has a traceback for an AttributeError exception. Version is anaconda 20.3-1. NB: The screen is black for about 30 seconds before the desktop is displayed. [1] All nightlies are here: http://alt.fedoraproject.org/pub/alt/nightly-composes/
Created attachment 780532 [details] screenshot showing Aborted message in terminal and abrt notification on desktop after AttributeError exception Tested with: $ qemu-kvm -m 4096 -cdrom ~/xfr/fedora/nightly-composes/Fedora-20-Nightly-x86_64-Live-desktop-20130728.10-1.iso -vga std -boot menu=on
That commit message was wrong - the pykickstart commit should reference bug 989330. This bug is going to be fixed in anaconda instead.
I tried to see if I could confirm the fix with an updates.img, but it doesn't seem to work. http://www.happyassassin.net/extras/updates-986069.img should have the fix in it, but install attempts still fail with this error. I'm not 100% sure if the patch is wrong, or if it's just impossible to test a fix to /usr/sbin/anaconda with an updates.img in the live situation, since it's that script itself which *applies* the updates.img . /usr/sbin/anaconda does show 'ksdata.method.method= "harddrive"' after running the install attempt, though, and running the installer *twice* doesn't help, the second attempt still fails.
In the Live environment, you might be able to apply the patch directly to the Python code before starting the installer. I've done that successfully a few times. Find the file with: $ rpm -ql anaconda | grep whatever.py
doesn't appear to be necessary; bcl says the change is applied by liveinst before anaconda is run. it looks like the fix just doesn't work.
NO! anaconda-20.4.1.fc20.x86_64 has the same bug. I cannot load my bug-report here. My anaconda-20.4-1.fc20.x86_64.txt is too long to paste it here. ManfredB
This error comes after choosing another language as US_English. I tested it: no language change and the installer starts. My language: German -nodeadkeys but this is not right - therefore the bug. ManfredB
Manfred: um, it seems very unlikely you'd hit *this* bug depending on what language you select. Are you sure it's the same traceback? "The installer crashed" does not mean it's the same bug.
Sorry, the first one I wrote my comment, I had not tested enough. So I could not compare the very long bug with the bug-report from anaconda-22.3. My tests were: 1. Start installer 2. My keyboard-language was German (VirtualBox is in German, therefore the language was preset. 3. When I use only German as my keyboard-language, there comes the bug. 4. Go on klick includes English and German - no bug. This way I could not know the first one I started anaconda. This is the reason I wrote "the same bug", but it isn´t the same, now I know. Sorry for my bad comment. ManfredB
I forgot that chris' patches hadn't been pushed yet. All of them will be in 20.5
This is fixed in 20.5 and 20.6, as confirmed by me and Chris Tyler in https://bugzilla.redhat.com/show_bug.cgi?id=997690 (we couldn't reach that one if this one was still happening).