Bug 1944024

Summary: [Doc] Use "ceph" user for monmap backup and injection
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: James Biao <jbiao>
Component: DocumentationAssignee: Ranjini M N <rmandyam>
Documentation sub component: Troubleshooting Guide QA Contact: Pawan <pdhiran>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: urgent CC: gjose, gsitlani, hfukumot, hyelloji, kdreyer, kkagoshi, mmuench, rmandyam, tpetr, vereddy
Version: 4.2Flags: kkagoshi: needinfo+
Target Milestone: ---   
Target Release: 4.3   
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: 2022-05-05 18:50:15 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: 1966534    

Description James Biao 2021-03-29 05:29:26 UTC
Describe the issue:

When injecting / backup monmap with ceph-mon command under root user, ceph minitor db file permission will be changed to root:root, causes ceph monitor start fail. change ownership of the mon db files back to ceph:ceph can start the monitor again. 

https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html-single/troubleshooting_guide/index#injecting-a-monmap_diag

Describe the task you were trying to accomplish:

Suggestions for improvement:

change all command line examples to use 'ceph' user to run ceph-mon extract or inject. suggest to include a 'notice' or 'warning' about using ceph user, not root user to run the command


Document URL:
https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/4/html-single/troubleshooting_guide/index#injecting-a-monmap_diag



Chapter/Section Number and Title:
4.3. Injecting a monmap

Product Version:
RHCS 4 and 3

Environment Details:

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

Additional information:

Comment 1 James Biao 2021-03-29 05:30:40 UTC
Related bz https://bugzilla.redhat.com/show_bug.cgi?id=1934366