Bug 1968582

Summary: bluestore: fix unexpected ENOSPC in Hybrid allocators
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Neha Ojha <nojha>
Component: RADOSAssignee: Neha Ojha <nojha>
Status: CLOSED ERRATA QA Contact: skanta
Severity: high Docs Contact:
Priority: high    
Version: 5.0CC: akupczyk, bhubbard, ceph-eng-bugs, nojha, rzarzyns, skanta, sseshasa, tserlin, vereddy, vumrao
Target Milestone: ---   
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-62.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:31:02 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:

Description Neha Ojha 2021-06-07 15:39:18 UTC
Description of problem:

Fix false ENOSPC issues with hybrid allocator

Detailed description: Avl allocator mode was returning unexpected ENOSPC in first-fit mode if all size-
matching available extents were unaligned but applying the alignment made all of
them shorter than required. Since no lookup retry with smaller size -
ENOSPC is returned.
Additionally we should proceed with a lookup in best-fit mode even when
original size has been truncated to match the avail size.
(force_range_size_alloc==true)

Comment 1 RHEL Program Management 2021-06-07 15:39:25 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 6 skanta 2021-07-01 00:08:55 UTC
@nojha  - We are planning to perform regression tests to verify this bug. Please confirm that are there any other tests that need to execute for verification?

Comment 7 skanta 2021-07-01 01:10:09 UTC
More details at- https://tracker.ceph.com/issues/50656

Comment 8 skanta 2021-07-01 01:30:27 UTC
For the verification performing the upgrade tests on the SSD cluster.

@Neha- Thanks for the clarification

Comment 14 errata-xmlrpc 2021-08-30 08:31:02 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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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/RHBA-2021:3294