Bug 1390580

Summary: OSError: [Errno 17] File exists: '/mnt/sysimage/var/tmp'
Product: Red Hat Enterprise Linux 7 Reporter: thgjerde-bugzilla-redhat
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jstodola
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a01847317674313de8f005ccf20c569fbf7b9f441925f4a2ac3669d7fbb00c6e
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-02 08:40:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description thgjerde-bugzilla-redhat 2016-11-01 12:49:55 UTC
Description of problem:
Start RHEL 7.3 WS Installation Beta
Manual partitioning
Add automatic partitions
Resize /home
Add /var/tmp
Continue installation

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

The following was filed automatically by anaconda:
anaconda 21.48.22.82-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 405, in _writeInstallConfig
    os.makedirs(iutil.getSysroot()+"/var/tmp")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1433, in preInstall
    self._writeInstallConfig()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 237, in doInstall
    payload.preInstall(packages=packages, groups=payload.languageGroups())
  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 227, in run
    threading.Thread.run(self, *args, **kwargs)
OSError: [Errno 17] File exists: '/mnt/sysimage/var/tmp'

Additional info:
addons:         org_fedora_oscap, com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz inst.stage2=hd:LABEL=RHEL-7.3\x20Workstation.x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-493.el7.x86_64
product:        Red Hat Enterprise Linux 7
release:        Red Hat Enterprise Linux Client release 7.3 Beta (Maipo)
release_type:   pre-release
reproducible:   Not sure how to reproduce the problem
type:           anaconda
version:        7.3

Comment 1 thgjerde-bugzilla-redhat 2016-11-01 12:50:02 UTC
Created attachment 1216097 [details]
File: anaconda-tb

Comment 2 thgjerde-bugzilla-redhat 2016-11-01 12:50:04 UTC
Created attachment 1216098 [details]
File: anaconda.log

Comment 3 thgjerde-bugzilla-redhat 2016-11-01 12:50:06 UTC
Created attachment 1216099 [details]
File: environ

Comment 4 thgjerde-bugzilla-redhat 2016-11-01 12:50:08 UTC
Created attachment 1216100 [details]
File: lsblk_output

Comment 5 thgjerde-bugzilla-redhat 2016-11-01 12:50:09 UTC
Created attachment 1216101 [details]
File: nmcli_dev_list

Comment 6 thgjerde-bugzilla-redhat 2016-11-01 12:50:11 UTC
Created attachment 1216102 [details]
File: os_info

Comment 7 thgjerde-bugzilla-redhat 2016-11-01 12:50:13 UTC
Created attachment 1216103 [details]
File: program.log

Comment 8 thgjerde-bugzilla-redhat 2016-11-01 12:50:17 UTC
Created attachment 1216104 [details]
File: storage.log

Comment 9 thgjerde-bugzilla-redhat 2016-11-01 12:50:19 UTC
Created attachment 1216105 [details]
File: syslog

Comment 10 thgjerde-bugzilla-redhat 2016-11-01 12:50:21 UTC
Created attachment 1216106 [details]
File: ifcfg.log

Comment 11 thgjerde-bugzilla-redhat 2016-11-01 12:50:23 UTC
Created attachment 1216107 [details]
File: packaging.log

Comment 12 Jan Stodola 2016-11-02 08:40:45 UTC
This is fixed in anaconda-21.48.22.92-1 and later and will be fixed in RHEL-7.3 GA.

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