Bug 872876 - AttributeError: 'NoneType' object has no attribute 'name'
Summary: AttributeError: 'NoneType' object has no attribute 'name'
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:2668083d2b12730d704cb54c025...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-03 22:17 UTC by cam
Modified: 2012-11-05 15:20 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 752235
Environment:
Last Closed: 2012-11-05 15:20:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
photo of backtrace (2.04 MB, image/jpeg)
2012-11-03 22:22 UTC, cam
no flags Details

Description cam 2012-11-03 22:17:18 UTC
I was trying to install F18 using preupgrade (over F17) so should be using a recent anaconda. I searched for similar bugs and found the one closed, I doubt it's the same problem as I am seeing this in the preupgrade anaconda.

The backtrace is shown as soon as anaconda starts and displays the choice of network devices, perhaps after a 1 second delay - certainly not enough to set up the network. After the backtrace is dismissed it seems impossible to continue and anaconda is stuck between rebooting or showing the same backtrace again. So it is impossible to use preupgrade.

I have a bios boot partition that works for F17 so the related comments in the cloned bug probably don't apply.

parted shows:
 1      1049kB  2097kB  1049kB                        bios_grub
 2      2097kB  526MB   524MB   ext4            ext4  boot
 3      526MB   37.1GB  36.6GB  ext4
 4      37.1GB  42.2GB  5067MB  linux-swap(v1)
 5      42.2GB  60.0GB  17.9GB  ext4

The backtrace shows (transcribed from a cellphone photo):
in _setupDevice
log.info("setting up device %s and mounting on %s" % (device.name
in _setUpMedia
self._setupDevice

I will attach the photo later.

+++ This bug was initially created as a clone of Bug #752235 +++
[...]
--- Additional comment from clumens on 2012-10-23 15:55:02 EDT ---

This should be fixed in F18 versions of anaconda, I do believe.

Comment 1 cam 2012-11-03 22:22:34 UTC
Created attachment 637729 [details]
photo of backtrace

Comment 2 th.schoel 2012-11-04 13:32:01 UTC
I am seeing the same thing here. On the logging console I found a line stating that /dev/sda2 (which is /, only /home is on a separate volume) could not be mounted to /mnt/sysimage the reason being that it is mounted to /run/install/repo already. Looks somewhat similar to bug 810391.

Comment 3 Chris Lumens 2012-11-05 15:20:25 UTC
preupgrade is not a supported way to do upgrades in F18.  We will be using a completly separate process that does not involve anaconda.  If you can reproduce this doing a fresh install, feel free to reopen this bug.


Note You need to log in before you can comment on or make changes to this bug.