【问题标题】:Ceph delete client.admin accidentlyCeph意外删除client.admin
【发布时间】:2018-07-13 02:02:37
【问题描述】:

在学习 Ceph 时,我不小心删除了 client.admin 使用

ceph auth del client.admin 

现在我明白了

client.admin 认证错误(1) Operation not allowed.Error connected to cluster: PermissionError

一直都是。

有没有办法恢复或重新创建新的 client.admin?
我试过了

ceph auth import -i /etc/ceph/ceph.client.admin.keyringceph add client.admin

它对我不起作用。

【问题讨论】:

    标签: ceph


    【解决方案1】:

    尝试连接 ceph-node-1 上的 mon keyring

    ceph -n mon. --keyring /var/lib/ceph/mon/ceph-node-1/keyring get-or-create client.admin mon 'allow *' mds 'allow *' mgr 'allow *' osd 'allow *'
    

    然后更新 /etc/ceph/ceph.client.admin.keyring

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-04-23
      • 1970-01-01
      相关资源
      最近更新 更多