It seems there is the possibility that after the upgrade to RHCS4 the cluster remains in HEALTH_WARN state with:
crush map has legacy tunables (require firefly, min is hammer)
This is because in nautilus the default value for mon_crush_min_required_version has been changed from firefly to hammer, which means the cluster will issue a health warning if the CRUSH tunables are older than hammer. The upstream guide [1] says thas:
"""
If your CRUSH tunables are older than Hammer, Ceph will now issue a health warning. If you see a health alert to that effect, you can revert this change with:
ceph config set mon mon_crush_min_required_version firefly
If Ceph does not complain, however, then we recommend you also switch any existing CRUSH buckets to straw2, which was added back in the Hammer release. If you have any ‘straw’ buckets, this will result in a modest amount of data movement, but generally nothing too severe.:
ceph osd getcrushmap -o backup-crushmap
ceph osd crush set-all-straw-buckets-to-straw2
If there are problems, you can easily revert with:
ceph osd setcrushmap -i backup-crushmap
Moving to ‘straw2’ buckets will unlock a few recent features, like the crush-compat balancer mode added back in Luminous.
"""
There is generally a small (but non-zero) amount of data that will move around by making the switch to hammer tunables; for more information, see Tunables.
1. https://docs.ceph.com/en/latest/releases/nautilus/#v14-2-1-nautilus
Comment 1RHEL Program Management
2021-06-04 14:37:53 UTC
Hi Veera! Unfortunately I'm not sure what the steps are to recreate this issue. In addition, at the ceph squad we have our hands (and machines) full testing ceph 5 and fixing up our CI. Sorry I can't be of more help.
@gfidente, could you please provide the steps needed to reproduce this issue?
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 4.2 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-2021:3670
Comment 15Red Hat Bugzilla
2023-09-15 01:09:02 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days