Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2089188

Summary: [DOCS] - Set initial CRUSH location of the host (rh-ceph)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Ranjini M N <rmandyam>
Component: DocumentationAssignee: Ranjini M N <rmandyam>
Documentation sub component: Install Guide QA Contact: Vinayak Papnoi <vpapnoi>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: akraj, mbukatov, msaini, vereddy
Version: 5.0   
Target Milestone: ---   
Target Release: 5.3z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 18:59:37 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: 2089834    

Description Ranjini M N 2022-05-23 08:05:44 UTC
Describe the issue:

Martin Bukatovic, May 16, 8:57 PM
Another stupid question: is it possible to define buckets in a cluster hierarchy and place hosts under these buckets directly via ceph orch yaml file?

Martin Bukatovic, May 16, 8:59 PM
I don't see it in https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html-single/operations_guide/index#advanced-service-specifications-and-filters-for-deploying-osds_ops so the answer likely is "no". But I wonder if I haven't missed anything.

Kyle Bader, May 16, 9:01 PM
I think you'd have to use a crush location hook or ceph osd crush set commands

it would be kinda neat to be able to do that in a osd service definition, though

so you could have a different osd service definition per rack or something

Martin Bukatovic, May 16, 9:03 PM
thanks for confirmation

Daniel Parkes, May 16, 9:07 PM, Edited
This was a feature that we had in ceph-ansible(RHCS4) where you could specify on the ansible inventory the crush location  of the OSDs per host, when I asked some time ago about being able to set the crush map with cephadm the Idea was to make it available in the 5.1/5.2 timeframe, not sure if implementing this feature in cephadm has advanced

Martin Bukatovic, May 16, 9:09 PM
ah, good to know that it's already at least considered

Martin Bukatovic, Tue 9:56 PM
@Daniel Parkes btw do you have a BZ/JIRA/upstream issue for this?

Daniel Parkes, Wed 12:04 PM
Yes, it has been merged upstream some time ago, so it's documented: https://docs.ceph.com/en/latest/cephadm/host-management/#setting-the-initial-crush-location-of-host   ,   the ceph tracker was: https://tracker.ceph.com/issues/44284 , so you can actually use it with RHCS 5.1


Describe the task you were trying to accomplish:

Suggestions for improvement:

Add this section to the RHCS 5 Install Guide: 

https://docs.ceph.com/en/latest/cephadm/host-management/#setting-the-initial-crush-location-of-host
the ceph tracker was: https://tracker.ceph.com/issues/44284


Document URL:

Chapter/Section Number and Title:

Product Version: RHCS 5

Environment Details:

Any other versions of this document that also needs this update: No

Additional information:

Comment 1 RHEL Program Management 2022-05-23 08:05:50 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.