Bug 2005207

Summary: [doc][File System Guide] Changes required in copy keyring to client node
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Anuchaithra <anrao>
Component: DocumentationAssignee: lysanche
Documentation sub component: File System Guide QA Contact: Amarnath <amk>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: amk, asriram, kdreyer, lysanche, mhull
Version: 5.0Keywords: Documentation, NoDocsQEReview
Target Milestone: ---   
Target Release: 5.1z3   
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-08-23 06:41:00 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:

Comment 6 Amarnath 2022-04-14 10:04:48 UTC
Hi Lynn,

I don't see the changes requested are reflected in the document.
As the bug says,
We need to copy the keyring by staying inside the cephadm shell but i still see it has been done out side of the shell in the examples.

Monitor Nodes will not have ceph-common installed. we can not run any of the ceph commands like "ceph auth get" "ceph fs authorize" etc

To run this commands we need to stay inside the cephadm shell and run it.

Outside of the shell:
[root@ceph-amk-tier0-sne6n9-node1-installer ~]# ceph fs authorize cephfs client.2 /temp rw
-bash: ceph: command not found

Inside the shell:
[root@ceph-amk-tier0-sne6n9-node1-installer ~]# cephadm shell
Inferring fsid 1811f04e-bada-11ec-81f3-fa163e3de086
Inferring config /var/lib/ceph/1811f04e-bada-11ec-81f3-fa163e3de086/mon.ceph-amk-tier0-sne6n9-node1-installer/config
Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph@sha256:4c2aa5f60afe1592c0f4108d7e21fd9a350d91f3529ae983ebc7ab21d37c31f0
[ceph: root@ceph-amk-tier0-sne6n9-node1-installer /]# ceph fs authorize cephfs client.2 /temp rw
[client.2]
	key = AQB/8Vdi6PNVIxAAyfKDInmlxzW8p4EtdmMXbQ==
[ceph: root@ceph-amk-tier0-sne6n9-node1-installer /]# 

Regards,
Amarnath

Comment 22 Amarnath 2022-05-22 10:53:00 UTC
Looks good to me