Bug 2279928
| Summary: | [rook][GSS][ODF 4.14.6] Notify/alert end user if legacy OSDs are LVM backed | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Travis Nielsen <tnielsen> |
| Component: | ceph-monitoring | Assignee: | Divyansh Kamboj <dkamboj> |
| Status: | CLOSED ERRATA | QA Contact: | Vishakha Kathole <vkathole> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.14 | CC: | ableisch, amohan, asriram, bkunal, bniver, dkamboj, ebenahar, gabrioux, gsternag, kbg, kelwhite, mmanjuna, muagarwa, nojha, nthomas, odf-bz-bot, pdhange, rafrojas, roemerso, skatiyar, sostapov, tdesala, tnielsen, vkathole |
| Target Milestone: | --- | ||
| Target Release: | ODF 4.16.0 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 4.16.0-118 | Doc Type: | Bug Fix |
| Doc Text: |
.Alert when there are LVM backed legacy OSDs during upgrade
Previously, when OpenShift Data Foundation with legacy OSDs was upgraded from version 4.12 to 4.14, it was noticed that all the OSDs were stuck in a crash loop and down. This led to potential data unavailability and service disruption.
With this fix, a check is included to detect legacy OSDs based on local volume manager (LVM) and to alert if such OSDs are present during the upgrade process. As a result, a warning is displayed during upgrade to indicate about the legacy OSDs so that appropriate actions can be taken.
|
Story Points: | --- |
| Clone Of: | 2274757 | Environment: | |
| Last Closed: | 2024-07-17 13:22:14 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: | |||
| Bug Depends On: | 2273398, 2274757, 2276532, 2276533 | ||
| Bug Blocks: | 2260844, 2274657 | ||
|
Description
Travis Nielsen
2024-05-09 22:48:53 UTC
Based on feedback during PR review, now the output is:
storage:
deprecatedOSDs:
LVM-based OSDs on a PVC are deprecated, see documentation on replacing OSDs:
- 0
- 1
- 2
deviceClasses:
- name: hdd
Please confirm if any concern with this format for raising the alert
There are no concerns that i can see, i'm working on the changes based on this output. Fetching the status on OCS metrics exporter, and generating a metric to generate the alert. (In reply to Divyansh Kamboj from comment #9) > There are no concerns that i can see, i'm working on the changes based on > this output. Fetching the status on OCS metrics exporter, and generating a > metric to generate the alert. Thanks. The Rook changes are now merged downstream in 4.16 with https://github.com/red-hat-storage/rook/pull/648 Moving this one to MODIFIED, if we need another bug for metrics then please open one. Sorry, wrong bug. Updating the RDT on behalf of Divyansh Kamboj. Moving it to the verified state based on the 4.16 CI regression runs. 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 (Important: Red Hat OpenShift Data Foundation 4.16.0 security, enhancement & bug fix 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-2024:4591 Can we please backport this to 4.12, 4.13, 4.14, and 4.15? Were seeing this issue be hit in 4.14 upgrades |