md_check_devices

Bug #2017969 reported by geole0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello
With 23.04 server
The message is
"comparing device lists: expected: ['/dev/sdd2', '/dev/sdd2'] found: ['/dev/sdd2', '/dev/sdc2']"

I think that found is good and expected is bad.

The whole sequence.

RAID validation: name=/dev/md126 raidlevel=raid1 devices=['/dev/sdd2', '/dev/sdd2'] spares=[] container=None
 Running command ['mdadm', '--query', '--detail', '--export', '/dev/md126'] with allowed return codes [0] (capture=True)
 Running command ['mdadm', '--query', '--detail', '--export', '/dev/md126'] with allowed return codes [0] (capture=True)
 md_check_devices: md_raid_devs: ['/dev/sdd2', '/dev/sdc2']

 assembling preserved raid for /dev/md126
 Running command ['mdadm', '--assemble', '/dev/md126', '--run', '/dev/sdd2', '/dev/sdd2'] with allowed return codes [0, 1, 2] (capture=True)
 mdadm assemble scan results:

 mdadm: /dev/sdd2 is busy - skipping
 mdadm: /dev/sdd2 is busy - skipping

 Running command ['mdadm', '--detail', '--scan', '-v'] with allowed return codes [0, 1] (capture=True)
 mdadm detail scan after assemble:
 ARRAY /dev/md/p:0 level=raid1 num-devices=2 metadata=1.2 name=p:0 UUID=674fce4b:9e294038:7a2c5820:89776774
    devices=/dev/sda18,/dev/sda24
 ARRAY /dev/md/p:0_0 level=raid1 num-devices=2 metadata=1.2 name=p:0 UUID=d89a48bb:40368e12:60d66f89:1efe470d
    devices=/dev/sdc2,/dev/sdd2

 Running command ['udevadm', 'settle'] with allowed return codes [0] (capture=False)
 TIMED udevadm_settle(): 0.022
 RAID validation: name=/dev/md126 raidlevel=raid1 devices=['/dev/sdd2', '/dev/sdd2'] spares=[] container=None
 Running command ['mdadm', '--query', '--detail', '--export', '/dev/md126'] with allowed return codes [0] (capture=True)
 Running command ['mdadm', '--query', '--detail', '--export', '/dev/md126'] with allowed return codes [0] (capture=True)
 md_check_devices: md_raid_devs: ['/dev/sdd2', '/dev/sdc2']
 comparing device lists: expected: ['/dev/sdd2', '/dev/sdd2'] found: ['/dev/sdd2', '/dev/sdc2']
 Verified /dev/md126 raid composition, raid is not OK
 Error checking raid /dev/md126: RAID array device list does not match. Missing: set() Extra: {'/dev/sdc2'}
 Error checking raid /dev/md126: RAID array device list does not match. Missing: set() Extra: {'/dev/sdc2'}
 An error occured handling 'raid-md126': ValueError - Verified /dev/md126 raid composition, raid is not OK
 finish: cmd-install/stage-partitioning/builtin/cmd-block-meta: FAIL: configuring raid: raid-md126
 TIMED BLOCK_META: 5.605

Revision history for this message
geole0 (geole0) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.