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 2002587

Summary: [doc] block device guide - mirroring - finetunes
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: DocumentationAssignee: Ranjini M N <rmandyam>
Status: CLOSED CURRENTRELEASE QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: high    
Version: 5.0CC: agunn, asriram, idryomov, kdreyer
Target Milestone: ---   
Target Release: 5.0z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2011289 (view as bug list) Environment:
Last Closed: 2021-11-02 19:58:42 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: 2011289    

Description Vasishta 2021-09-09 10:05:33 UTC
Describe the issue:
6.3. Configuring one-way mirroring using the command-line interface

1) Step 1 - We can ask users to login to both clusters cephadm shell as the procedure involves steps to be executed on both clusters

2) step 2 - explain wha command does - schedul deployment of mirror daemon on secondary cluster
We can mention somewhere that steps needs to be executed on primary/site-a unless mentioned otherwise

3) exclusive-lock would be turned on by default, we can remove the same from example command in step 3.ii

[ceph: root@magna008 /]# rbd create i_pool/new --size 1G
[ceph: root@magna008 /]# rbd feature enable i_pool/new exclusive-lock,journaling
rbd: failed to update image features: 2021-09-08T15:42:11.141+0000 7fe83f11a2c0 -1 librbd::Operations: one or more requested features are already enabled
(22) Invalid argument

3) step 3.iii ceph config set can be used by user to set configs which seems to be user friendly 
>> ceph config set mon.magna008 rbd_default_features 125

(Will continue further reviews in comments)

Describe the task you were trying to accomplish:
Configure rbd-mirroring

Suggestions for improvement:
Mentioned in description and multiple comments

Chapter/Section Number and Title:
Chapter 6. Mirroring Ceph block devices

Product Version:
5
Environment Details:
NA
Any other versions of this document that also needs this update:
4 (Might need review)
Additional information: