Bug 1260396

Summary: TypeError: uid should be integer, not str
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anaconda-maint-list, g.kaviyarasu, jonathan, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:71ba50b06bb7b6a4ab4c4be298eec0cdf465349bd6152fea0529678a4413061d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-08 13:48:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.log
none
File: dnf.rpm.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log
none
File: program.log none

Description Nicolas Mailhot 2015-09-06 12:03:26 UTC
Description of problem:
At user creation phase in anaconda

Version-Release number of selected component:
anaconda-24.1-1

The following was filed automatically by anaconda:
anaconda 24.1-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python3.4/site-packages/pyanaconda/iutil.py", line 1286, in eintr_retry_call
    return func(*args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/iutil.py", line 1058, in conditional_chown
    eintr_retry_call(os.chown, path, uid, gid)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/iutil.py", line 1067, in <lambda>
    from_gid_only))
  File "/usr/lib64/python3.4/site-packages/pyanaconda/iutil.py", line 1015, in dir_tree_map
    func(dir_ent)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/iutil.py", line 1065, in chown_dir_tree
    dir_tree_map(root, lambda path: conditional_chown(path, uid, gid,
  File "/usr/lib64/python3.4/site-packages/pyanaconda/users.py", line 335, in createUser
    orig_uid, orig_gid)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/kickstart.py", line 1741, in execute
    if not users.createUser(usr.name, **kwargs):
  File "/usr/lib64/python3.4/site-packages/pyanaconda/install.py", line 96, in doConfiguration
    ksdata.user.execute(storage, ksdata, instClass, u)
  File "/usr/lib64/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/threads.py", line 253, in run
    threading.Thread.run(self, *args, **kwargs)
TypeError: uid should be integer, not str

Additional info:
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
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-1.fc24.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        Rawhide

Potential duplicate: bug 1260318

Comment 1 Nicolas Mailhot 2015-09-06 12:03:46 UTC
Created attachment 1070723 [details]
File: anaconda-tb

Comment 2 Nicolas Mailhot 2015-09-06 12:03:49 UTC
Created attachment 1070724 [details]
File: anaconda.log

Comment 3 Nicolas Mailhot 2015-09-06 12:03:50 UTC
Created attachment 1070725 [details]
File: dnf.log

Comment 4 Nicolas Mailhot 2015-09-06 12:03:52 UTC
Created attachment 1070726 [details]
File: dnf.rpm.log

Comment 5 Nicolas Mailhot 2015-09-06 12:03:53 UTC
Created attachment 1070727 [details]
File: environ

Comment 6 Nicolas Mailhot 2015-09-06 12:03:55 UTC
Created attachment 1070728 [details]
File: lsblk_output

Comment 7 Nicolas Mailhot 2015-09-06 12:03:56 UTC
Created attachment 1070729 [details]
File: nmcli_dev_list

Comment 8 Nicolas Mailhot 2015-09-06 12:03:57 UTC
Created attachment 1070730 [details]
File: os_info

Comment 9 Nicolas Mailhot 2015-09-06 12:04:08 UTC
Created attachment 1070731 [details]
File: storage.log

Comment 10 Nicolas Mailhot 2015-09-06 12:04:11 UTC
Created attachment 1070732 [details]
File: syslog

Comment 11 Nicolas Mailhot 2015-09-06 12:04:12 UTC
Created attachment 1070733 [details]
File: ifcfg.log

Comment 12 Nicolas Mailhot 2015-09-06 12:04:13 UTC
Created attachment 1070734 [details]
File: packaging.log

Comment 13 Nicolas Mailhot 2015-09-06 12:04:16 UTC
Created attachment 1070735 [details]
File: program.log

Comment 14 David Shea 2015-09-08 13:48:29 UTC

*** This bug has been marked as a duplicate of bug 1260318 ***