Ceph 问题集锦


1,权限问题

检查ceph 状态

supermap@node1:~$ ceph health
2016-01-14 09:05:25.689525 7f9fff405700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2016-01-14 09:05:25.689546 7f9fff405700  0 librados: client.admin initialization error (2) No such file or directory
Error connecting to cluster: ObjectNotFound

切换到root

supermap@node1:~$ ceph health
2016-01-14 09:05:25.689525 7f9fff405700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2016-01-14 09:05:25.689546 7f9fff405700  0 librados: client.admin initialization error (2) No such file or directory
Error connecting to cluster: ObjectNotFound
supermap@node1:~$ sudo ceph health
[sudo] password for supermap: 
HEALTH_OK


你可能感兴趣的:(Ceph 问题集锦)