[Bug 2017969] [NEW] md_check_devices
geole0
2017969 at bugs.launchpad.net
Fri Apr 28 08:16:37 UTC 2023
Public bug reported:
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
** Affects: subiquity (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "crash file"
https://bugs.launchpad.net/bugs/2017969/+attachment/5669358/+files/1682668111.205559254.install_fail.crash
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2017969
Title:
md_check_devices
Status in subiquity package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/2017969/+subscriptions
More information about the foundations-bugs
mailing list