解决找不到/bootstrap-osd/ceph.keyring
2015-04-07 00:00
1786 查看
ceph-deploy mon create-initial命令执行后, 如果提示:
[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 ] 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']
可以执行:
[root@manila59 deploy]# ceph-create-keys --id manila59
分析发现此处可能连接了外网,要确保DNS正常。
ceph-deploy osd prepare manila59:/dev/sdb命令后,如果提示:
[ceph_deploy][ERROR ] RuntimeError: bootstrap-osd keyring not found; run 'gatherkeys'
执行ceph-deploy gatherkeys manila59:
那么就会先找:/etc/ceph/ceph.client.admin.keyring,然后再找/var/lib/ceph/bootstrap-osd/ceph.keyring和/var/lib/ceph/bootstrap-mds/ceph.keyring ,最后发现ceph.bootstrap-mds.keyring key from manila59。
注意:disk zap 命令是不需要权限的,而osd prepare 需要bootstrap-mds.keyring。
相关文章推荐
- 部署完ceph出现 osd down情况时的解决方法
- ubuntu 12.04 Wine 找不到 gnome-keyring-pkcs11.so 的解决方法
- ceph osd full 解决方法
- IIS中 系统找不到指定的路径解决办法
- ghost后找不到页面文件的解决办法
- 解决CVSNT找不到文件XXX.tmp的错误
- 调用PanelDesigner类时出现找不到命名空间的解决
- 在windows2003server上运行asp程序,发生验证码看不到,文件找不到等错误的解决办法
- 收藏:Asp.Net 连接Oracle数据库 出现"找不到 Oracle 客户端和网络组件" 彻底解决方法!
- “找不到指定的模块”解决Reporting Service2000订阅邮件的问题
- MSN 8.0 beta版 联系人找不到之解决办法
- eclipse 3.0 启动出错(SAXParserFactory找不到)的解决办法
- BizTalk调用.net程序,找不到程序集的解决办法
- 双击桌面上的IE图标却提示找不到文件iexplore.com的解决办法
- 调用PanelDesigner类时出现找不到命名空间的解决
- 编译.NET项目提示“找不到系统命名空间,请添加系统组件的引用”问题的解决方法(该组件已被该项目正确引用)
- BCB编译成功的程序在其他机子上运行时提示vcl60.bpl找不到的解决方法
- 编译好的Exe程序拷到没有安装BCB的机器上运行会提示找不到xx库之类的,解决方法:
- 找不到tlbimp命令的解决方法
- 系统错误:&H8007007E(-2147024770)。 找不到指定的模块。解决