Bug 2235311
Summary: | [DOC] Restoring ceph-monitor quorum procedure, The bad mons cannot be deleted from the monmap because permission issue | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat OpenShift Data Foundation | Reporter: | Oded <oviner> |
Component: | documentation | Assignee: | Anjana Suparna Sriram <asriram> |
Status: | NEW --- | QA Contact: | Neha Berry <nberry> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.13 | CC: | asriram, hnallurv, kelwhite, kmanohar, odf-bz-bot |
Target Milestone: | --- | Flags: | hnallurv:
needinfo?
(asriram) kelwhite: needinfo? (asriram) kelwhite: needinfo? (asriram) |
Target Release: | --- | ||
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: | 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: |
Description
Oded
2023-08-28 11:48:27 UTC
Hit the same issue on the RDR environment when tried to recover the mons out of quorum Permission error ---------------- monmaptool ${monmap_path} --rm bmonmaptool: monmap file /tmp/monmapmonmaptool: removing bmonmaptool: writing epoch 5 to /tmp/monmap (2 monitors)bufferlist::write_file(/tmp/monmap): failed to open file: (13) Permission deniedmonmaptool: error writing to '/tmp/monmap': (13) Permission denied Followed the below URL: ----------------------- https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.13/html/troubleshooting_openshift_data_foundation/restoring-ceph-monitor-quorum-in-openshift-data-foundation_rhodf Product version: ODF- 4.13-219 OCP - 4.13.0-0.nightly-2023-08-11-101506 Platform: Vsphere Hi Anjana, This bug needs to be fixed in docs of 4.13, 4.14 and 4.15. Can you please prioritize this BZ and provide fix soon? I was doing some testing, and managed to get it to work: sh-5.1# monmaptool --rm a /tmp/monmap monmaptool: monmap file /tmp/monmap monmaptool: removing a monmaptool: writing epoch 3 to /tmp/monmap (2 monitors) bufferlist::write_file(/tmp/monmap): failed to open file: (13) Permission denied monmaptool: error writing to '/tmp/monmap': (13) Permission denied sh-5.1# monmaptool --print monmap monmaptool: monmap file monmap epoch 3 fsid 32deba18-6e88-4f41-8401-dede5787e344 last_changed 2024-09-02T02:22:52.521379+0000 created 2024-09-02T02:22:19.434678+0000 min_mon_release 18 (reef) election_strategy: 1 0: v2:172.30.195.83:3300/0 mon.a 1: v2:172.30.163.106:3300/0 mon.b 2: v2:172.30.193.96:3300/0 mon.c sh-5.1# monmaptool --add d 1.1.1.1:567 monmap monmaptool: monmap file monmap monmaptool: writing epoch 3 to monmap (4 monitors) sh-5.1# monmaptool --print monmap monmaptool: monmap file monmap epoch 3 fsid 32deba18-6e88-4f41-8401-dede5787e344 last_changed 2024-09-02T02:22:52.521379+0000 created 2024-09-02T02:22:19.434678+0000 min_mon_release 18 (reef) election_strategy: 1 0: v2:172.30.195.83:3300/0 mon.a 1: v2:172.30.163.106:3300/0 mon.b 2: v2:172.30.193.96:3300/0 mon.c 3: v2:1.1.1.1:567/0 mon.d sh-5.1# monmaptool rm a monmap monmaptool: too many arguments monmaptool -h for usage sh-5.1# monmaptool --rm a monmap monmaptool: monmap file monmap monmaptool: removing a monmaptool: writing epoch 3 to monmap (3 monitors) I don't know why, but as soon as I added to the mon map, I was able to remove from the mon map... seems like a bug to me? |