ceph-deploy mon create-initial
After the command executes, if prompted:
[Ceph_deploy.mon] [INFO] Running Gatherkeys ... [Ceph_deploy.gatherkeys] [DEBUG] Checking manila59 For/etc/ceph/ceph.client.admin.keyring[manila59][debug] connected to host:manila59 [manila59][ DEBUG] Detect platform information from remote HOST[MANILA59][DEBUG] detect machine Type[manila59][debug] Fetch remote File[ceph_deploy.gatherkeys][warnin] Unable to find/etc/ceph/ceph.client.admin.keyring on [' Manila59 '][ceph_ Deploy.gatherkeys][debug] Ceph.mon.keyring[ceph_deploy.gatherkeys][debug] Checking manila59 for/var/lib/ceph/ Bootstrap-osd/ceph.keyring[manila59][debug] connected to host:manila59 [Manila59][debug] detect platform information F ROM remote Host[manila59][debug] detect machine Type[manila59][debug] Fetch remote File[ceph_deploy.gatherkeys][warnin ] Unable to find/var/lib/ceph/bootstrap-osd/ceph.keyring on [' Manila59 '][ceph_deploy.gatherkeys][debug] Checking Manila59 For/var/lib/ceph/bootstrap-mds/ceph.keyring[manila59][debug] connected to host:manila59 [MANILA59][DEBUG] Detect platform information from remote HOST[MANILA59][DEBUG] detect machine Type[manila59][debug] Fet CH Remote File[ceph_deploy.gatherkeys][warnin] Unable to find/var/lib/ceph/bootstrap-mds/ceph.keyring on [' Manila59 ']
Can perform:
[[email protected] deploy]# ceph-create-keys --id manila59
The analysis found that the network may be connected here, to ensure that DNS is healthy.
ceph-deploy osd prepare manila59:/dev/sdb
command, if prompted:
[Ceph_deploy] [ERROR] Runtimeerror:bootstrap-osd keyring not found; Run ' Gatherkeys '
Perform Ceph-deploy Gatherkeys manila59:
Then we will look for:/etc/ceph/ceph.client.admin.keyring, and then find/var/lib/ceph/bootstrap-osd/ceph.keyring and/var/lib/ceph/ Bootstrap-mds/ceph.keyring, finally found ceph.bootstrap-mds.keyring key from Manila59.
Note: The disk ZAP command does not require permissions, and the OSD prepare requires bootstrap-mds.keyring.
Fix can't find/bootstrap-osd/ceph.keyring