Description of problem: During installation I selected to create a user acount. Entered full name, username, password and marked the user as an administrator. Clicked on Advanced. Closed the window with the advanced options. Clicked on Advanced again. Version-Release number of selected component: anaconda-22.20.13-1 The following was filed automatically by anaconda: anaconda 22.20.13-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/user.py", line 153, in refresh group = self._groupDict[group_name] File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/user.py", line 633, in on_advanced_clicked self._advanced.refresh() KeyError: 'wheel' Additional info: addons: com_redhat_kdump cmdline: /usr/bin/python2 /sbin/anaconda cmdline_file: BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=Fedora-22-x86_64 quiet executable: /sbin/anaconda hashmarkername: anaconda kernel: 4.0.4-301.fc22.x86_64 product: Fedora release: Cannot get release name. type: anaconda version: 22 Potential duplicate: bug 1122042
Created attachment 1032536 [details] File: anaconda-tb
Created attachment 1032537 [details] File: anaconda.log
Created attachment 1032538 [details] File: dnf.log
Created attachment 1032539 [details] File: dnf.rpm.log
Created attachment 1032540 [details] File: environ
Created attachment 1032541 [details] File: lsblk_output
Created attachment 1032542 [details] File: nmcli_dev_list
Created attachment 1032543 [details] File: os_info
Created attachment 1032544 [details] File: program.log
Created attachment 1032545 [details] File: storage.log
Created attachment 1032546 [details] File: syslog
Created attachment 1032547 [details] File: ifcfg.log
Created attachment 1032548 [details] File: packaging.log
Created attachment 1033253 [details] Fix KeyError exception during user creation as administrator. Steps to reproduce: 1. Go to User creation page 2. Enter Full name, username and password. 3. Mark "Make this user as administrator" 4. Click on "Advanced" 5. Remove "wheel" group and mention a new group. Ex: my-team (1245) 6. Save Changes. 7. See that "Make this user administrator" is unchecked. So check it again and go to "Advanced" again. 8. Exception is thrown. Observation: "wheel" group is necessary for an user to be an administrator. If "wheel" group is absent when user is marked as administrator, "wheel" group is appended to list of groups of the user(in function:on_advanced_clicked()). However adding the same to group_dictionary is missing. This is causing the exception. Requesting review & comments for the attached patch.
The changes in https://github.com/rhinstaller/anaconda/commit/9f0ada938d7abe7f9ee36f2f818c7740d5202aa0 should fix this.
*** Bug 1272839 has been marked as a duplicate of this bug. ***
*** Bug 1279738 has been marked as a duplicate of this bug. ***