Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report