ERROR: missing keyring, cannot use cephx for authentication

简介: [talen@ceph_admin ~]$ ceph health 2015-09-14 15:11:55.503854 7fdc2297f700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication 2015-09-14 15:11:55.
[talen@ceph_admin ~]$ ceph health
2015-09-14 15:11:55.503854 7fdc2297f700 -1 monclient(hunting): ERROR: missing keyring, cannot use cephx for authentication
2015-09-14 15:11:55.503876 7fdc2297f700  0 librados: client.admin initialization error (2) No such file or directory
Error connecting to cluster: ObjectNotFound

管理KEY权限问题,普通用户无法读取导致无法进行cephx认证
[talen@ceph_admin ~]$ sudo chmod +r /etc/ceph/ceph.client.admin.keyring


[talen@ceph_admin ~]$ ceph health
HEALTH_WARN 64 pgs stale; 64 pgs stuck stale
[talen@ceph_admin ~]$ ceph -w
    cluster f35a65ad-1a6a-4e8d-8f7e-cb5f113c0a02
     health HEALTH_WARN
            64 pgs stale
            64 pgs stuck stale
     monmap e1: 1 mons at {ceph_monitor=10.0.2.33:6789/0}
            election epoch 1, quorum 0 ceph_monitor
     osdmap e47: 7 osds: 2 up, 2 in
      pgmap v1677: 64 pgs, 1 pools, 0 bytes data, 0 objects
            10305 MB used, 6056 MB / 16362 MB avail
                  64 stale+active+clean

2015-09-14 15:11:44.150240 mon.0 [INF] pgmap v1677: 64 pgs: 64 stale+active+clean; 0 bytes data, 10305 MB used, 6056 MB / 16362 MB avail
目录
相关文章
|
10天前
|
Python
【已解决】WARNING: Ignoring invalid distribution xxx
【已解决】WARNING: Ignoring invalid distribution xxx
11 0
|
1月前
|
安全 Java 应用服务中间件
A configuration error occurred during startup.Please verify the preference field with the prompt: To
A configuration error occurred during startup.Please verify the preference field with the prompt: To
|
1月前
|
NoSQL Redis 数据库
解决noauth authentication required异常
解决noauth authentication required异常
168 0
解决noauth authentication required异常
|
7月前
|
开发工具 数据安全/隐私保护 git
Authentication failed for 错误
Authentication failed for 错误
111 0
|
12月前
|
Java Maven 数据安全/隐私保护
Could not transfer artifact from/to Authentication failed for 401 Unauthorized
Could not transfer artifact from/to Authentication failed for 401 Unauthorized
387 0
|
NoSQL 安全 MongoDB
mongorestore[报错]auth error: sasl c onversation error: unable to authenticate using mechanism
mongodb中添加了admin表的用户,即创建了超级管理员(mongodb的安全生产环境的权限设置请查看: [https://blog.csdn.net/Chenftli/article/details/105228130](https://blog.csdn.net/Chenftli/article/details/105228130)),此时我想去将备份的集合的bson文件数据导入到mongodb指定的数据库时会报出上面的错误。 ##### 尝试 尝试使用下面的命令执行
609 0
|
网络协议 关系型数据库 Linux
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
onfigure: error: no acceptable C compiler found in $PATH See `config.log' for more details 问题解决
156 0
|
开发工具 数据安全/隐私保护 git
fatal: Authentication failed for解决方法
fatal: Authentication failed for解决方法
|
应用服务中间件 Android开发
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name:
115 0
a configuration error occurred during startup. place verify the preference field whth the prompt:TomcatJDK name: