Bug 977279 - poor handling of disks that report no media present
poor handling of disks that report no media present
Status: CLOSED DUPLICATE of bug 960794
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
19
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
abrt_hash:a608d184ffc75f1191872e71c52...
:
Depends On: 960794
Blocks: F19Blocker/F19FinalBlocker
  Show dependency treegraph
 
Reported: 2013-06-24 04:24 EDT by Dan Mashal
Modified: 2013-06-24 20:47 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-24 20:47:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File: anaconda-tb (712.53 KB, text/plain)
2013-06-24 04:24 EDT, Dan Mashal
no flags Details
File: anaconda.log (13.92 KB, text/plain)
2013-06-24 04:24 EDT, Dan Mashal
no flags Details
File: environ (441 bytes, text/plain)
2013-06-24 04:24 EDT, Dan Mashal
no flags Details
File: lsblk_output (1.24 KB, text/plain)
2013-06-24 04:24 EDT, Dan Mashal
no flags Details
File: nmcli_dev_list (3.40 KB, text/plain)
2013-06-24 04:24 EDT, Dan Mashal
no flags Details
File: os_info (179 bytes, text/plain)
2013-06-24 04:24 EDT, Dan Mashal
no flags Details
File: program.log (20.05 KB, text/plain)
2013-06-24 04:25 EDT, Dan Mashal
no flags Details
File: storage.log (55.85 KB, text/plain)
2013-06-24 04:25 EDT, Dan Mashal
no flags Details
File: syslog (131.86 KB, text/plain)
2013-06-24 04:25 EDT, Dan Mashal
no flags Details
File: ifcfg.log (576 bytes, text/plain)
2013-06-24 04:25 EDT, Dan Mashal
no flags Details
File: packaging.log (339.21 KB, text/plain)
2013-06-24 04:25 EDT, Dan Mashal
no flags Details

  None (edit)
Description Dan Mashal 2013-06-24 04:24:36 EDT
Description of problem:
Deleted a partition in custom partitioning

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

The following was filed automatically by anaconda:
anaconda 19.30.9-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/platform.py", line 107, in bestDiskLabelType
    labelType = self.requiredDiskLabelType(device.partedDevice.type)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 816, in initializeDisk
    labelType = _platform.bestDiskLabelType(disk)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2022, in _destroy_device
    self.__storage.initializeDisk(device)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/custom.py", line 2148, in on_remove_clicked
    self._destroy_device(device)
AttributeError: 'NoneType' object has no attribute 'type'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019-TC6\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19-TC6
Comment 1 Dan Mashal 2013-06-24 04:24:41 EDT
Created attachment 764492 [details]
File: anaconda-tb
Comment 2 Dan Mashal 2013-06-24 04:24:45 EDT
Created attachment 764493 [details]
File: anaconda.log
Comment 3 Dan Mashal 2013-06-24 04:24:49 EDT
Created attachment 764494 [details]
File: environ
Comment 4 Dan Mashal 2013-06-24 04:24:52 EDT
Created attachment 764495 [details]
File: lsblk_output
Comment 5 Dan Mashal 2013-06-24 04:24:56 EDT
Created attachment 764496 [details]
File: nmcli_dev_list
Comment 6 Dan Mashal 2013-06-24 04:24:59 EDT
Created attachment 764497 [details]
File: os_info
Comment 7 Dan Mashal 2013-06-24 04:25:04 EDT
Created attachment 764498 [details]
File: program.log
Comment 8 Dan Mashal 2013-06-24 04:25:08 EDT
Created attachment 764499 [details]
File: storage.log
Comment 9 Dan Mashal 2013-06-24 04:25:11 EDT
Created attachment 764500 [details]
File: syslog
Comment 10 Dan Mashal 2013-06-24 04:25:14 EDT
Created attachment 764501 [details]
File: ifcfg.log
Comment 11 Dan Mashal 2013-06-24 04:25:18 EDT
Created attachment 764502 [details]
File: packaging.log
Comment 12 David Lehman 2013-06-24 12:06:19 EDT
Looks like we need to better protect against devices that somehow appear as disks yet also report no media present.

In the meantime, you can unplug your iphone while you are installing an OS on your system.
Comment 13 Dan Mashal 2013-06-24 13:03:17 EDT
Nominating as a blocker as anaconda fails to install.
Comment 14 Adam Williamson 2013-06-24 13:03:53 EDT
dlehman: is #960794 the same? the tracebacks look almost identical.
Comment 15 Brian Lane 2013-06-24 20:47:54 EDT

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

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