Bug 2239449
Summary: | [RHCS-6.X backport] [RFE] BLK/Kernel: Improve protection against running one OSD twice | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Bipin Kunal <bkunal> | |
Component: | RADOS | Assignee: | Adam Kupczyk <akupczyk> | |
Status: | CLOSED ERRATA | QA Contact: | skanta | |
Severity: | high | Docs Contact: | Disha Walvekar <dwalveka> | |
Priority: | high | |||
Version: | 3.3 | CC: | akupczyk, amathuri, bhubbard, ceph-eng-bugs, cephqe-warriors, choffman, dwalveka, ksirivad, lflores, nojha, pdhange, pdhiran, rfriedma, rzarzyns, skanta, sseshasa, tserlin, vereddy, vumrao | |
Target Milestone: | --- | Keywords: | FutureFeature | |
Target Release: | 6.1z3 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | ceph-17.2.6-160.el9cp | Doc Type: | Enhancement | |
Doc Text: |
Feature:
Improve protection against running OSD twice at the same time on one block device.
Reinforce advisory locking with O_EXCL open flag dedicated for block devices.
Reason:
We had protection against running BlueStore twice by using advisory locking.
This worked (and still works) very well on baremetal deployments.
However, when one uses containers it is possible to create unrelated inodes that target same block device "mknod b".
As a result, 2 containers can think they have exclusive access.
This almost always leads to severe errors.
Result:
It is no longer possible to open one BlueStore instance twice.
Some categories of weird overwrite and corruptions will now be gone.
|
Story Points: | --- | |
Clone Of: | 2149453 | |||
: | 2239455 (view as bug list) | Environment: | ||
Last Closed: | 2023-12-12 13:55:51 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: | 2149453 | |||
Bug Blocks: | 2239455, 2247624 |
Description
Bipin Kunal
2023-09-18 12:56:34 UTC
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: Red Hat Ceph Storage 6.1 security, enhancements, and 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-2023:7740 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |