Bug 1208135
Summary: | UnusableConfigurationError: failed to scan disk sdb | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dennis Gilmore <dennis> | ||||||||||||||||||||||||||
Component: | python-blivet | Assignee: | David Lehman <dlehman> | ||||||||||||||||||||||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
Priority: | unspecified | ||||||||||||||||||||||||||||
Version: | 22 | CC: | amulhern, anaconda-maint-list, bcl, dennis, dlehman, g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime | ||||||||||||||||||||||||||
Target Milestone: | --- | ||||||||||||||||||||||||||||
Target Release: | --- | ||||||||||||||||||||||||||||
Hardware: | armv7l | ||||||||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||||||||
Whiteboard: | abrt_hash:1e279eed614e0073453084d582a9d83a956d984fee0cfd09eb88c9bbeb0fdbb0 | ||||||||||||||||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||||||||||||
Last Closed: | 2015-04-02 18:04:09 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
Dennis Gilmore
2015-04-01 13:26:45 UTC
Created attachment 1009668 [details]
File: anaconda-tb
Created attachment 1009669 [details]
File: anaconda.log
Created attachment 1009670 [details]
File: dnf.log
Created attachment 1009671 [details]
File: environ
Created attachment 1009672 [details]
File: lsblk_output
Created attachment 1009673 [details]
File: nmcli_dev_list
Created attachment 1009674 [details]
File: os_info
Created attachment 1009675 [details]
File: storage.log
Created attachment 1009676 [details]
File: syslog
Created attachment 1009677 [details]
File: ifcfg.log
Created attachment 1009678 [details]
File: packaging.log
Created attachment 1009679 [details]
File: program.log
It appears that blivet has detected a partition via udev and is addding it to the device tree. When it checks the disk, sdb, that the partition is supposed to be on, the disk does not seem to have any information about partitions at all. Another thing that is wrong with the disk is that it has negative size. 13:25:26,059 DEBUG blivet: DeviceTree.getDeviceByName returned existing -185.01 GiB disk sdb (31) It is really unusual for a device to have a negative size and for parted device to show a negative length. Does changing the drive fix the problem? If it does, then raising the error is the correct thing to do, and the only issue is where it is proper to catch it. /dev/sdb is a external usb drive with the factory setup in another system parted print gives. Model: WD My Passport 0820 (scsi) Disk /dev/sdd: 2000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 1049kB 2000GB 2000GB primary ntfs In that same other system can you check if blivet still fails in this way?
Are you able to open a Python shell and
>>> import blivet
>>> b = blivet.Blivet()
>>> b.reset()
>>> [d for d in b.devicetree.devices if "sdb" in d.name]
substituting for "sdb" in the above whatever name is appropriate?
You should expect to fail w/ the same error on the b.reset() step.
There are really two issues here...blivet having problems with a very odd looking disk...and the exception that raises actually crashing anaconda. I think it's reasonable to expect it to exit more nicely on an unusable configuration, so I'll file that as a separate bug. seems that the hard drive is failing, closing the bug |