Bug 1916502
| Summary: | Boot disk mirroring fails with mdadm error | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Prashanth Sundararaman <psundara> |
| Component: | RHCOS | Assignee: | Jonathan Lebon <jlebon> |
| Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.7 | CC: | bbreard, bgilbert, imcleod, jligon, nstielau |
| Target Milestone: | --- | Keywords: | UpcomingSprint |
| Target Release: | 4.7.0 | ||
| Hardware: | ppc64le | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-02-24 15:53:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1915617 | ||
|
Description
Prashanth Sundararaman
2021-01-14 22:37:35 UTC
This is happening on x86_64 as well. From the log, it appears rdcore is trying to examine a RAID member as though it's a RAID device. # lsblk --pairs --paths --output TYPE /dev/vda4 On FCOS this produces: TYPE="part" TYPE="raid1" On RHCOS this produces: TYPE="raid1" TYPE="part" We expect "part", and lsblk_single() takes the first result. Higher priority work has prevented from this issue being solved; adding UpcomingSprint keyword tested with the coreos-installer fix on ppc64le and it works fine. Verified on RHCOS 47.83.202101161239-0.
cat < EOF > test.fcc
variant: fcos
version: 1.3.0
passwd:
users:
- name: core
password_hash: "$6$ZgbiFMCFmY/pLBLH$u3kTFAmzDCvnThFyBR931rWyN7xHa44BCBru9RNFgkKQbyycQEviaCNJhYQXyJ5NMqg2QvrzoScM8y4MJzWC11"
boot_device:
mirror:
devices:
- /dev/vda
- /dev/vdb
EOF
podman run -i --rm quay.io/coreos/fcct:release --pretty --strict < test.fcc > test.ign
coreos-assembler shell
kola qemuexec --qemu-image rhcos-47.83.202101161239-0-qemu.x86_64.qcow2 -i test.ign --add-disk 5G --add-diskk 5G --memory 4096
[root@ibm-p8-kvm-03-guest-02 md]# rpm-ostree status
State: idle
Deployments:
* ostree://8e87a86b9444784ab29e7917fa82e00d5e356f18b19449946b687ee8dc27c51a
Version: 47.83.202101161239-0 (2021-01-16T12:43:01Z)
[root@ibm-p8-kvm-03-guest-02 md]# mdadm --detail --scan
ARRAY /dev/md/md-boot metadata=1.0 name=any:md-boot UUID=87d7e42b:78ad6a74:04e7f781:ba9c6057
ARRAY /dev/md/md-root metadata=1.2 name=any:md-root UUID=2699ce86:00acc9a9:9a6cb951:a40674cd
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:5633 |