Bug 1044336
| Summary: | OSError: [Errno 9] Bad file descriptor | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Persona non grata <nobody+324336> | ||||||||||||||||||||||
| Component: | python | Assignee: | Bohuslav "Slavek" Kabrda <bkabrda> | ||||||||||||||||||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||
| Version: | 20 | CC: | bcl, bkabrda, caf, dmalcolm, dshea, g.kaviyarasu, ivazqueznet, jonathan, jonathansteffan, mstuchli, nobody+324336, tomspur, tradej, vanmeeuwen+fedora | ||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||
| Whiteboard: | abrt_hash:c7727fafeeed70b0616f5a65db198461c72b1be018e00dddabd49c3a94311793 | ||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||
| Last Closed: | 2014-10-13 14:11:41 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: |
|
||||||||||||||||||||||||
Created attachment 838126 [details]
File: anaconda-tb
Created attachment 838127 [details]
File: anaconda.log
Created attachment 838128 [details]
File: environ
Created attachment 838129 [details]
File: lsblk_output
Created attachment 838130 [details]
File: nmcli_dev_list
Created attachment 838131 [details]
File: os_info
Created attachment 838132 [details]
File: program.log
Created attachment 838133 [details]
File: storage.log
Created attachment 838134 [details]
File: syslog
Created attachment 838135 [details]
File: ifcfg.log
Please provide steps to reproduce this bug *** Bug 1044706 has been marked as a duplicate of this bug. *** Comment on attachment 838126 [details]
File: anaconda-tb
Hi
I'm not sure how to respond to these emails.
I was trying to install F20 Final and had to go through the pre install setup 3 times which necessitated rebooting to start the process again.
I had difficulty finalising the target hdd partition setup. This failed so I restarted and went through it again and suddenly the bug problem popped up.
regards
Steven
I think this is a python bug.The failure is happening when errpipe_write is closed in the parent process. take a look at anaconda-tb for the local variables present when the TB happens.
Note, the blivet call to subprocess looks like this:
def _run_program(argv, root='/', stdin=None, env_prune=None):
if env_prune is None:
env_prune = []
def chroot():
if root and root != '/':
os.chroot(root)
with program_log_lock:
program_log.info("Running... %s" % " ".join(argv))
env = os.environ.copy()
env.update({"LC_ALL": "C",
"INSTALL_PATH": root})
for var in env_prune:
env.pop(var, None)
try:
proc = subprocess.Popen(argv,
stdin=stdin,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
close_fds=True,
preexec_fn=chroot, cwd=root, env=env)
out = proc.communicate()[0]
if out:
for line in out.splitlines():
program_log.info(line)
except OSError as e:
program_log.error("Error running %s: %s" % (argv[0], e.strerror))
raise
program_log.debug("Return code: %d" % proc.returncode)
return (proc.returncode, out)
kickstart install reusing existing partitions cmdline: /usr/bin/python /sbin/anaconda cmdline_file: initrd=/images/fedora-20-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.10.10.1/cblr/svc/op/ks/system/palila BOOT_IMAGE=/images/fedora-20-x86_64/vmlinuz BOOTIF=01-b8-ac-6f-75-21-3a hashmarkername: anaconda kernel: 3.11.10-301.fc20.x86_64 package: anaconda-20.25.15-1 packaging.log: product: Fedora reason: OSError: [Errno 9] Bad file descriptor release: Cannot get release name. version: 20 Seems to be a race - tried again and it's working. *** Bug 1056315 has been marked as a duplicate of this bug. *** Hi Its quite some time ago since this happened and I an unable to provide any further info beyond what I said initially. I'm sorry, but I am not a developer just an enthusiastic user. regards Steven *** This bug has been marked as a duplicate of bug 1103450 *** |
Version-Release number of selected component: anaconda-20.25.15-1 The following was filed automatically by anaconda: anaconda 20.25.15-1 exception report Traceback (most recent call first): File "/usr/lib64/python2.7/subprocess.py", line 1299, in _execute_child os.close(errpipe_read) File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib/python2.7/site-packages/blivet/util.py", line 40, in _run_program preexec_fn=chroot, cwd=root, env=env) File "/usr/lib/python2.7/site-packages/blivet/util.py", line 56, in run_program return _run_program(*args, **kwargs)[0] File "/usr/lib/python2.7/site-packages/blivet/udev.py", line 86, in udev_settle util.run_program(["udevadm", "settle", "--timeout=300"]) File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 745, in _preTeardown udev_settle() File "/usr/lib/python2.7/site-packages/blivet/devices.py", line 756, in teardown if not self._preTeardown(recursive=recursive): File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 3053, in findExistingInstallations device.teardown() File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 427, in reset self.roots = findExistingInstallations(self.devicetree) File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 142, in storageInitialize storage.reset() 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 192, in run threading.Thread.run(self, *args, **kwargs) OSError: [Errno 9] Bad file descriptor Additional info: cmdline: /usr/bin/python /sbin/anaconda cmdline_file: initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020\x20x86_64 rd.live.check quiet BOOT_IMAGE=vmlinuz executable: /sbin/anaconda hashmarkername: anaconda kernel: 3.11.10-301.fc20.x86_64 product: Fedora release: Cannot get release name. type: anaconda version: 20