Bug 589967
| Summary: | AttributeError: 'NoneType' object has no attribute 'rfind' | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Marian Ganisin <mganisin> | ||||||||
| Component: | anaconda | Assignee: | David Cantrell <dcantrell> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 6.0 | CC: | andriusb, atodorov, bmarson, james.brown, jstodola, prashant.s, richard.johnson, scofeldm, Sean.Stewart, tcallawa | ||||||||
| Target Milestone: | rc | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | i386 | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | anaconda_trace_hash:70830a4ddc54d7a2d028c8ba1e0bafb772be84d61881e3bdfd1eed52897dbfba | ||||||||||
| Fixed In Version: | anaconda-13.21.38-1 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2010-07-02 20:48:42 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: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 582286 | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 412329 [details]
Attached traceback automatically from anaconda.
This happens with virtio disk This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. *** Bug 590058 has been marked as a duplicate of this bug. *** Created attachment 412387 [details]
anaconda.log
Created attachment 412388 [details]
syslog
This bug is related to the changes made for bug #589713. Fix is quite simple. Here's the patch: diff --git a/storage/devicetree.py b/storage/devicetree.py index 1ed73c1..c171968 100644 --- a/storage/devicetree.py +++ b/storage/devicetree.py @@ -1357,10 +1357,12 @@ class DeviceTree(object): initcb = lambda: True else: description = device.description or device.model - bypath = os.path.basename(deviceNameToDiskByPath(device.name)) + bypath = deviceNameToDiskByPath(device.name) if bypath: + bypath = os.path.basename(bypath) details = "\n\nDevice details:\n%s" % (bypath,) else: + bypath = device.name details = "" initcb = lambda: self.intf.questionInitializeDisk(bypath, Can I get a qa_ack on this one? qa_ack granted *** Bug 590548 has been marked as a duplicate of this bug. *** *** Bug 590885 has been marked as a duplicate of this bug. *** *** Bug 591254 has been marked as a duplicate of this bug. *** *** Bug 591275 has been marked as a duplicate of this bug. *** *** Bug 591315 has been marked as a duplicate of this bug. *** *** Bug 592099 has been marked as a duplicate of this bug. *** With anaconda-13.21.39-1.el6 and steps to reproduce from duplicate bug: https://bugzilla.redhat.com/show_bug.cgi?id=591275#c2 Install completes successfully. Moving to VERIFIED. *** Bug 592279 has been marked as a duplicate of this bug. *** *** Bug 592869 has been marked as a duplicate of this bug. *** *** Bug 592868 has been marked as a duplicate of this bug. *** *** Bug 592867 has been marked as a duplicate of this bug. *** *** Bug 593215 has been marked as a duplicate of this bug. *** Red Hat Enterprise Linux Beta 2 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |
The following was filed automatically by anaconda: anaconda 13.21.36 exception report Traceback (most recent call first): File "/usr/lib/python2.6/posixpath.py", line 111, in basename i = p.rfind('/') + 1 File "/usr/lib/anaconda/storage/devicetree.py", line 1360, in handleUdevDiskLabelFormat bypath = os.path.basename(deviceNameToDiskByPath(device.name)) File "/usr/lib/anaconda/storage/devicetree.py", line 1715, in handleUdevDeviceFormat self.handleUdevDiskLabelFormat(info, device) File "/usr/lib/anaconda/storage/devicetree.py", line 1299, in addUdevDevice self.handleUdevDeviceFormat(info, device) File "/usr/lib/anaconda/storage/devicetree.py", line 1965, in populate self.addUdevDevice(dev) File "/usr/lib/anaconda/storage/__init__.py", line 379, in reset self.devicetree.populate() File "/usr/lib/anaconda/storage/__init__.py", line 103, in storageInitialize storage.reset() File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext self.moveStep() File "/usr/lib/anaconda/gui.py", line 1348, in setScreen self.anaconda.dispatch.gotoNext() File "/usr/lib/anaconda/gui.py", line 1261, in nextClicked self.setScreen () AttributeError: 'NoneType' object has no attribute 'rfind'