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 2139878

Summary: [DDF] When adding a monitor in stretched mode it needs to have a mon_label for the MON to start:
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Direct Docs Feedback <ddf-bot>
Component: DocumentationAssignee: Eliska <ekristov>
Documentation sub component: DDF QA Contact: Pawan <pdhiran>
Status: CLOSED CURRENTRELEASE Docs Contact: Ranjini M N <rmandyam>
Severity: high    
Priority: unspecified CC: ekristov, mlungu, pdhiran, rmandyam
Version: 5.0   
Target Milestone: ---   
Target Release: Backlog   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-09 17:40:05 UTC Type: ---
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: 2128940    

Description Direct Docs Feedback 2022-11-03 16:57:25 UTC
When adding a monitor in stretched mode it needs to have a mon_label for the MON to start:

$ ceph orch daemon add mon ceph03

The monitor fails and In the logs we have following entries:

cluster [INF] ceph03 attempted to join from ceph03 [v2:192.168.1.207:3300/0,v1:192.168.1.207:6789/0]; but lacks a crush_location for stretch mode

Cephadm doesn't currently have a way to specify the mon_label needed for stretch mode, so we need to set it by hand:

$ ceph mon add ceph03 192.168.1.207 datacenter=DC1
adding mon.ceph03 at [v2:192.168.1.207:3300/0,v1:192.168.1.207:6789/0]

$ ceph orch daemon add mon ceph03
Deployed mon.ceph03 on host 'ceph03'



Reported by: dparkes

https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/5/html/operations_guide/management-of-monitors-using-the-ceph-orchestrator#annotations:afd4cfe7-6419-4a75-91d0-4a31c4956b49

Comment 1 RHEL Program Management 2022-11-03 16:57:35 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 16 Eliska 2022-12-08 08:32:40 UTC
This will be published as part of the weekly async.