Description of problem (please be detailed as possible and provide log snippets): In some situations, such as vSphere VSAN, the drive media type is detected wrongly, for instance as HDD instead of SSD. For that, it would be good if we can set Set bluestore_debug_enforce_settings = "ssd" in rook-config-override
I guess this should go to ocs-operator as we need to set it there. Malay, can you pick it up?
More context: https://bugzilla.redhat.com/show_bug.cgi?id=2154351#c47
I think we should be able to set `Set bluestore_debug_enforce_settings = "ssd" ` it now as well, but I'll check and update here.
Hi @sapillai , Can you take a look once? Is this related to your feature epic you are working for 4.14 https://github.com/red-hat-storage/ocs-operator/pull/2053.
I was looking at this comment https://bugzilla.redhat.com/show_bug.cgi?id=2154351#c41 from the linked BZ. ``` RECOMMENDATION Force BlueStore to use settings designed for SSDs. 1) set bluestore_debug_enforce_settings = "ssd" but it requires restart OR 2) set bluestore_prefer_deferred_size_hdd = 0 should work right away and no new deferred writes will be enqueued ``` I see the 2nd option will not require OSD restarts. So shouldn't we set that one instead of the 1st one? I see in the linked BZ Aman went ahead with testing with the 2nd option. In the case of customers who will upgrade from earlier versions of ODF will the 1st settings work as intended directly or it will require an osd restart?
Also does the setting need to go under the global section or any other specific section? ref-https://github.com/red-hat-storage/ocs-operator/blob/abe61d1773697c03af99cae0095d3136f252fa7c/controllers/storagecluster/cephconfig.go#L31
(In reply to Malay Kumar parida from comment #6) > I see the 2nd option will not require OSD restarts. So shouldn't we set that > one instead of the 1st one? I see in the linked BZ Aman went ahead with > testing with the 2nd option. If the second option is the one we validated and it doesn't require OSD restart then we should go with it.
(In reply to Elad from comment #8) > (In reply to Malay Kumar parida from comment #6) > > > I see the 2nd option will not require OSD restarts. So shouldn't we set that > > one instead of the 1st one? I see in the linked BZ Aman went ahead with > > testing with the 2nd option. > > If the second option is the one we validated and it doesn't require OSD > restart then we should go with it. This config. was tested only once. Elad, do you think a thorough testing is required here by perf. team or even us to validate the results? Ref- https://bugzilla.redhat.com/show_bug.cgi?id=2154351#c49