Bug 1147087 - Previous software raid disks not detected
Summary: Previous software raid disks not detected
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 21
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: mulhern
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1155288 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-26 21:04 UTC by Mark Hamzy
Modified: 2015-06-23 15:26 UTC (History)
7 users (show)

Fixed In Version: python-blivet-0.61.4-1
Clone Of:
Environment:
Last Closed: 2015-06-23 15:26:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Custom Partitioning screenshot (69.53 KB, image/png)
2014-09-26 21:04 UTC, Mark Hamzy
no flags Details
storage.log (393.18 KB, text/plain)
2014-09-26 21:06 UTC, Mark Hamzy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1141398 0 unspecified CLOSED anaconda does not see existing Fedora 21 install to LVM-on-RAID 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1145783 0 unspecified CLOSED F21 install crashes on Intel firmware RAID with "AttributeError: 'NoneType' object has no attribute 'startswith'" 2021-02-22 00:41:40 UTC

Internal Links: 1141398 1145783

Description Mark Hamzy 2014-09-26 21:04:36 UTC
Created attachment 941722 [details]
Custom Partitioning screenshot

http://ppc.koji.fedoraproject.org/stage/21_Alpha_TC3/Server/ppc64le/iso/Fedora-Server-DVD-ppc64le-21_Alpha_TC3.iso

anaconda-21.48.6-1.fc21.ppc64le.rpm
python-blivet-0.62-1.fc21.noarch.rpm

Fedora 20 installed with the following snippet of a kickstart file

8<---8<---
# Format the drives
clearpart --all --drives=sda,sdb --initlabel

# Disk partitioning information
part prepboot0 --size=8 --fstype=prepboot --asprimary --ondisk=sda
part raid.00   --size=8 --asprimary --ondisk=sda
part raid.01   --size=33000 --grow --ondisk=sda
part prepboot1 --size=8 --fstype=prepboot --asprimary --ondisk=sdb
part raid.10   --size=8 --asprimary --ondisk=sdb
part raid.11   --size=33000 --grow --ondisk=sdb

# RAID setup
raid pv.00 --level=RAID1 --device=prep --fstype="prepboot" raid.00 raid.10
raid pv.01 --level=RAID1 --device=pv01 --fstype="ext3"     raid.01 raid.11

# LVM setup
volgroup fedora-server_ppc64lehamzytest2 --pesize=4096 pv.01
logvol swap  --fstype="swap" --size=4096 --name=swap --vgname=fedora-server_ppc64lehamzytest2
logvol /home --fstype="ext4" --grow --size=500 --name=home --vgname=fedora-server_ppc64lehamzytest2
logvol /  --fstype="ext4" --size=15456 --name=root --vgname=fedora-server_ppc64lehamzytest2

# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
8<---8<---

Only the prepboot partitions and the broken LVM on sdc show up in the custom partitioning sreen.

Comment 1 Mark Hamzy 2014-09-26 21:06:30 UTC
Created attachment 941723 [details]
storage.log

Comment 2 Mark Hamzy 2014-09-26 21:09:32 UTC
[hamzy@hamzy-tp-w510 ~]$ grep ERR /tmp/storage.log 
20:26:47,564 ERR blivet: failed to scan md array pv01_0
20:26:47,573 ERR blivet: failed to stop broken md array pv01_0
20:26:47,577 ERR blivet: failed to find vg 'fedora-server_ppc64lehamzytest2' after scanning pvs
20:26:47,661 ERR blivet: failed to scan md array pv01_0
20:26:47,669 ERR blivet: failed to stop broken md array pv01_0
20:26:47,674 ERR blivet: failed to find vg 'fedora-server_ppc64lehamzytest2' after scanning pvs
20:26:47,757 ERR blivet: failed to scan md array pv01_0
20:26:47,765 ERR blivet: failed to stop broken md array pv01_0
20:26:47,769 ERR blivet: failed to find vg 'fedora-server_ppc64lehamzytest2' after scanning pvs
20:26:47,833 ERR blivet: failed to scan md array pv01_0
20:26:47,841 ERR blivet: failed to stop broken md array pv01_0
20:26:47,905 ERR blivet: failed to scan md array prep_0


I notice that the UUID are in two different formats. Which breaks the string equals comparison.

[hamzy@hamzy-tp-w510 ~]$ grep 6fdccf7e /tmp/storage.log 
 'ID_FS_UUID': '6fdccf7e-acac-d44e-69c9-3a376f7ea3b5',
 'ID_FS_UUID_ENC': '6fdccf7e-acac-d44e-69c9-3a376f7ea3b5',
20:26:44,927 DEBUG blivet:             MDRaidMember.__init__: uuid: 479ef99b-4020-4a45-9f0d-9a4f863340ff ; exists: True ; label: pv01 ; device: /dev/sda3 ; serial: scsi0-hd0 ; mdUuid: 6fdccf7e-acac-d44e-69c9-3a376f7ea3b5 ; biosraid: False ;
20:26:44,935 DEBUG blivet:             DeviceTree.getDeviceByUuid: hidden: False ; uuid: 6fdccf7e-acac-d44e-69c9-3a376f7ea3b5 ; incomplete: True ;
 'ID_FS_UUID': '6fdccf7e-acac-d44e-69c9-3a376f7ea3b5',
 'ID_FS_UUID_ENC': '6fdccf7e-acac-d44e-69c9-3a376f7ea3b5',
20:26:45,801 DEBUG blivet:             MDRaidMember.__init__: uuid: 66ffd3af-df30-c784-7567-4f01c4b7685f ; exists: True ; label: pv01 ; device: /dev/sdb3 ; serial: scsi0-hd1 ; mdUuid: 6fdccf7e-acac-d44e-69c9-3a376f7ea3b5 ; biosraid: False ;
20:26:45,809 DEBUG blivet:             DeviceTree.getDeviceByUuid: hidden: False ; uuid: 6fdccf7e-acac-d44e-69c9-3a376f7ea3b5 ; incomplete: True ;
20:26:47,504 DEBUG blivet:            DeviceTree.addUdevDevice: info: {'DEVLINKS': '/dev/disk/by-id/lvm-pv-uuid-tZnRC9-iJVv-YOJ1-dl1F-XZ3i-XXkg-lmqprG /dev/disk/by-id/md-name-pv01 /dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5 /dev/md/pv01_0',
 'MD_UUID': '6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
              '/dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
20:26:47,561 DEBUG blivet:              DeviceTree.getDeviceByUuid: hidden: False ; uuid: 6fdccf7e:acacd44e:69c93a37:6f7ea3b5 ; incomplete: False ;
20:26:47,600 DEBUG blivet:            DeviceTree.addUdevDevice: info: {'DEVLINKS': '/dev/disk/by-id/lvm-pv-uuid-tZnRC9-iJVv-YOJ1-dl1F-XZ3i-XXkg-lmqprG /dev/disk/by-id/md-name-pv01 /dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5 /dev/md/pv01_0',
 'MD_UUID': '6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
              '/dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
20:26:47,659 DEBUG blivet:              DeviceTree.getDeviceByUuid: hidden: False ; uuid: 6fdccf7e:acacd44e:69c93a37:6f7ea3b5 ; incomplete: False ;
20:26:47,696 DEBUG blivet:            DeviceTree.addUdevDevice: info: {'DEVLINKS': '/dev/disk/by-id/lvm-pv-uuid-tZnRC9-iJVv-YOJ1-dl1F-XZ3i-XXkg-lmqprG /dev/disk/by-id/md-name-pv01 /dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5 /dev/md/pv01_0',
 'MD_UUID': '6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
              '/dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
20:26:47,755 DEBUG blivet:              DeviceTree.getDeviceByUuid: hidden: False ; uuid: 6fdccf7e:acacd44e:69c93a37:6f7ea3b5 ; incomplete: False ;
20:26:47,775 DEBUG blivet:          DeviceTree.addUdevDevice: info: {'DEVLINKS': '/dev/disk/by-id/lvm-pv-uuid-tZnRC9-iJVv-YOJ1-dl1F-XZ3i-XXkg-lmqprG /dev/disk/by-id/md-name-pv01 /dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5 /dev/md/pv01_0',
 'MD_UUID': '6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
              '/dev/disk/by-id/md-uuid-6fdccf7e:acacd44e:69c93a37:6f7ea3b5',
20:26:47,831 DEBUG blivet:            DeviceTree.getDeviceByUuid: hidden: False ; uuid: 6fdccf7e:acacd44e:69c93a37:6f7ea3b5 ; incomplete: False ;

Comment 3 mulhern 2014-10-27 13:03:49 UTC
*** Bug 1155288 has been marked as a duplicate of this bug. ***


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