Description of problem: Crash happens when you reach the main hub in Rawhide 2015-08-25 nightly. All openQA tests for this nightly (except kickstart ones) failed this way. Version-Release number of selected component: anaconda-24.0-1 The following was filed automatically by anaconda: anaconda 24.0-1 exception report Traceback (most recent call first): File "/usr/lib64/python3.4/site-packages/pyanaconda/packaging/dnfpayload.py", line 598, in environmentDescription raise packaging.NoSuchGroup(environmentid) File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/spokes/software.py", line 315, in status return self.payload.environmentDescription(self.environment)[0] File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 216, in _updateCompleteness spoke.selector.set_property("status", spoke.status) File "/usr/lib64/python3.4/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 296, in _update_spokes self._updateCompleteness(spoke) pyanaconda.packaging.NoSuchGroup: None Additional info: addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda cmdline_file: BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 quiet dnf.rpm.log: Aug 25 16:11:54 INFO --- logging initialized --- executable: /sbin/anaconda hashmarkername: anaconda kernel: 4.2.0-0.rc8.git0.1.fc24.x86_64 product: Fedora release: Cannot get release name. type: anaconda version: Rawhide
Created attachment 1067149 [details] File: anaconda-tb
Created attachment 1067150 [details] File: anaconda.log
Created attachment 1067151 [details] File: dnf.log
Created attachment 1067152 [details] File: environ
Created attachment 1067153 [details] File: lsblk_output
Created attachment 1067154 [details] File: nmcli_dev_list
Created attachment 1067155 [details] File: os_info
Created attachment 1067156 [details] File: program.log
Created attachment 1067157 [details] File: storage.log
Created attachment 1067158 [details] File: syslog
Created attachment 1067159 [details] File: ifcfg.log
Created attachment 1067160 [details] File: packaging.log
Proposing as an F24 Alpha blocker: "When using a release-blocking dedicated installer image, the installer must be able to use either HTTP or FTP repositories (or both) as package sources. Release-blocking network install images must default to a valid publicly-accessible package source." - https://fedoraproject.org/wiki/Fedora_23_Alpha_Release_Criteria#Remote_package_sources
Problem here is this commit: https://github.com/rhinstaller/anaconda/commit/634d2d9a85481dc9d7729444c3b4c50ca39b7d59 Note that it changes the condition in status() for calling self.payload.environmentDescription(self.environment) from 'if not env:' to 'if not flags.automatedInstall and not self.environment_valid:'. However, 'None' is explicitly considered 'valid' by self.environment_valid : if self.environment is None: return True , hence the crash. Obvious fix would be: ========== diff --git a/pyanaconda/ui/gui/spokes/software.py b/pyanaconda/ui/gui/spokes/software.py index 9b50a98..d8bb8d6 100644 --- a/pyanaconda/ui/gui/spokes/software.py +++ b/pyanaconda/ui/gui/spokes/software.py @@ -306,7 +306,7 @@ class SoftwareSelectionSpoke(NormalSpoke): elif not self.environment: return _("Nothing selected") - if not flags.automatedInstall and not self.environment_valid: + if not flags.automatedInstall and (not self.environment_valid or not self.environment): # selected environment is not valid, this can happen when a valid environment # is selected (by default, manually or from kickstart) and then the installation # source is switched to one where the selected environment is no longer valid =========== but not sure if there are other considerations.
actually that'd say "Selected environment is not valid" for None, which doesn't seem right. Probably just needs the 'if not self.environment return "Nothing selected"' clause back.
https://github.com/rhinstaller/anaconda/pull/325
Hmm, seems like something else is broken. That patch solves the crash, but the hub then sits with INSTALLATION SOURCE in "Setting up installation source..." state and SOFTWARE SELECTION showing "Nothing selected". You have to go into SOFTWARE SELECTION and select an environment before INSTALLATION SOURCE is happy. So no crash, but it still doesn't behave right (it should pick the default environment and clear both spokes with no user interaction required).
Another user experienced a similar problem: booted rawhide boot.iso, selected disks, started deleting partitions, installer crashed. addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda cmdline_file: BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 rd.live.check quiet dnf.rpm.log: Aug 26 13:30:06 INFO --- logging initialized --- hashmarkername: anaconda kernel: 4.2.0-0.rc8.git0.1.fc24.x86_64 package: anaconda-24.0-1 product: Fedora reason: pyanaconda.packaging.NoSuchGroup: None release: Cannot get release name. version: Rawhide
https://github.com/rhinstaller/anaconda/pull/323 fixes the initial environment selection. Even without 325 that avoids the crash, so 325 isn't really needed, but we may still want it just in case the 'None' situation somehow ever crops up.
I fixed the root case by this PR https://github.com/rhinstaller/anaconda/pull/323 but the PR from comment 19 is another layer of protection from error so it will be applied too.
Another user experienced a similar problem: 1. Started installer 2. Set host name 3. Started partitioning 3a. Removed all partitions 3b. Realized it removed a partition that I wanted to keep (I had already added it manually to the new installation) 3c. Reset partitioning 4. Go back to main menu while waiting for it to finish partitioning 5. Go back to partitioning menu 6. Crash addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-rawhide-x86_64 quiet dnf.rpm.log: Aug 29 12:54:25 INFO --- logging initialized --- hashmarkername: anaconda kernel: 4.2.0-0.rc8.git2.1.fc24.x86_64 package: anaconda-24.0-1 product: Fedora reason: pyanaconda.packaging.NoSuchGroup: None release: Cannot get release name. version: Rawhide
Another user experienced a similar problem: Tried to install Rawhide 32 bit in Virtual Box. addons: com_redhat_kdump cmdline: /usr/bin/python3 /sbin/anaconda cmdline_file: BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=Fedora-rawhide-i386 quiet dnf.rpm.log: Aug 30 21:20:22 INFO --- logging initialized --- hashmarkername: anaconda kernel: 4.2.0-0.rc8.git3.1.fc24.i686 package: anaconda-24.0-1 product: Fedora reason: pyanaconda.packaging.NoSuchGroup: None release: Cannot get release name. version: Rawhide
python-blivet-1.12.2-1.fc23 anaconda-23.19.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update anaconda python-blivet'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-15030
anaconda-23.19.2-1.fc23, python-blivet-1.12.2-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Please check https://bugzilla.redhat.com/show_bug.cgi?id=1393674 too