Bug 621100
Summary: | Failed to install in anaconda | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | MingtaoNiu <mniu> | ||||
Component: | anaconda | Assignee: | Brian Lane <bcl> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | dmalcolm, ivazqueznet, james.antill, jonathan, jonathansteffan, rhe, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-06 17:06:28 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
MingtaoNiu
2010-08-04 09:20:21 UTC
Thanks for filing this bug report. I'm not familiar with the Anaconda code, but this appears to be happening in error handling: it is preparing this error message: "Your current installation cannot be upgraded. This " "is likely due to it being too old. Only the previous two " "release may be upgraded. To upgrade older releases " "you must first upgrade through all intermediate releases." trying to list the older installs that aren't possible. This looks like an anaconda bug; reassigning. The exception: TypeError: sequence item 0: expected string, NoneType found is from the join invocation in oldInstalls += " on ".join(info) File "/usr/lib/python2.7/site-packages/pyanaconda/upgrade.py", line 86, in findRootParts All elements of the input iterable must be strings or unicode, but the 0th element of info is None. notUpgradeable seems to be initialized in storage/__init__.py, findExistingRootDevices, using getReleaseString (by opening /etc/redhat-release), and if that file can't be opened, relName and relVer will both be None; I believe this will trigger the exception you're seeing. So I believe you'll see this if you have a pre-existing install that has a /etc/fstab but doesn't have a /etc/redhat-release. (I'm fairly sure that "".join didn't change behavior here between python 2.6 and 2.7, fwiw) Please attach the complete exception report, preferably in a non-xml format, so we have more context on this error. Also what OS do you have installed currently, and is there a /etc/fedora-release file? If so, what are its contents? Created attachment 436760 [details]
Exception Log
Reproduced it in both i386 and x86_64 system after it examined the storage devices. Exception Log attached. And there's no /etc/fedora-release file in the system.
How did you end up in a situation where there's no /etc/fedora-release? *** Bug 621817 has been marked as a duplicate of this bug. *** (In reply to comment #5) > How did you end up in a situation where there's no /etc/fedora-release? ? What does that mean? I turned to console tty2 and found no /etc/fedora-release existed. I meant on some previously (possibly corrupted) installed system. I should have made that clear. But we know what the problem is and Brian is already looking into it. I'll reassign this to him so he can mark as a duplicate. *** This bug has been marked as a duplicate of bug 621685 *** |