Bug 2053276

Summary: [Workload-DFG] ceph orch upgrade get stuck - mgr set_store mon returned -27: error: entry size limited to 65536 bytes
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vikhyat Umrao <vumrao>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact: Eliska <ekristov>
Priority: unspecified    
Version: 5.1CC: adking, ekristov, lithomas, tserlin, vdas, vereddy
Target Milestone: ---   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-17.2.3-12.el9cp Doc Type: Bug Fix
Doc Text:
.`Cephadm` now splits the device information into multiple entries after exceeding the Ceph monitor store size limit Previously, `cephadm` was unable to refresh the hosts and complete most operations when the device information exceeded the monitor store default maximum size limit of 64K. This caused an entry size error. As a result, users had to raise the default limit if they had hosts with a large number of disks. With this fix, `cephadm` now splits the device information into multiple entries if it takes more space than the size limit. Users no longer have to raise the monitor store entry size limit if they have hosts with a large number of disks.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:55:34 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: 2126050    

Description Vikhyat Umrao 2022-02-10 20:23:41 UTC
Description of problem:
[Workload-DFG] ceph orch upgrade get stuck - mgr set_store mon returned -27: error: entry size limited to 65536 bytes


Version-Release number of selected component (if applicable):
RHCS 5.0 -> RHCS 5.1
16.2.0-152.el8cp -> 16.2.7-50.el8cp

How reproducible:
Was consistent @Scale with 288 OSD's cluster

Workaround:
ceph config set mon mon_config_key_max_entry_size 1048576

Restart the upgrade process
ceph orch upgrade stop
ceph orch upgrade start --image <image url>

Comment 1 Vikhyat Umrao 2022-02-10 20:24:51 UTC
The error log message in the active mgr log:

2022-02-10T19:29:14.294+0000 7f91a3331700  0 mgr set_store mon returned -27: error: entry size limited to 65536 bytes. Use 'mon config key max entry size' to manually adjust

# ceph config get mon mon_config_key_max_entry_size
65536

# ceph config set mon mon_config_key_max_entry_size 1048576
# ceph config get mon mon_config_key_max_entry_size
1048576

Comment 26 errata-xmlrpc 2023-03-20 18:55: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 (Red Hat Ceph Storage 6.0 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/RHBA-2023:1360