Kubernetes部署ceph故障记录

1.现象:The keyring does not match the existing keyring in /var/lib/rook/mon-d/data/keyring. You may need to delete the contents of dataDirHostPath on thehost from a previous deployment.

问题:keyring不一致导致

解决方法:
重新生成一个keyring,替换原来的keyring
[root@rook-ceph-mon-b-788b9566b6-hqghr /]# ceph-authtool -C ./keyring -g -n mon. --cap mon 'allow *'
https://www.2cto.com/net/201708/667521.html
 

你可能感兴趣的:(kubernetes)