Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to solve the problem that / bootstrap-osd/ceph.keyring can not be found

Shulou Source: shulou.com Published: 2022-05-31 22:07:15 10月03日 Update

How to solve the problem of can not find / bootstrap-osd/ceph.keyring, many novices are not very clear, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

After the ceph-deploy mon create-initial command is executed, if prompted:

[ceph_deploy.mon] [INFO] Running gathering. [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] Have 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 from 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] fetch remote file [ceph _ deploy.gatherkeys] [WARNIN] Unable to find / var/lib/ceph/bootstrap-mds/ceph.keyring on ['manila59']

Can execute: [root@manila59 deploy] # ceph-create-keys-- id manila59

The analysis shows that the external network may be connected here, so make sure that the DNS is normal.

After the 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 you will look for: / etc/ceph/ceph.client.admin.keyring, then / var/lib/ceph/bootstrap-osd/ceph.keyring and / var/lib/ceph/bootstrap-mds/ceph.keyring, and finally ceph.bootstrap-mds.keyring key from manila59.

Note: the disk zap command does not require permissions, while osd prepare requires bootstrap-mds.keyring.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Commands help prompts questions clarity content for this articles beginners more permissions knowledge industry information information channels problems needs channels one analysis Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Docker Microsoft Shulou Tech Info MariaDB