“[errno 2] error connecting to the cluster”, 3.问题原因 发现/etc/ceph/文件夹下无“*.keyring”相关文件,也就是在配置文件目录下不存在密钥环,导致执行命令错误。 4.解决办法 将ceph01配置文件夹下的"*.keyring"拷贝至其他节点的配置文件目录下,再次执行ceph相关命令,无报错,问题解决。
To update deepsea, on the admin node run: salt-run state.orch ceph.stage.0 Followed by: salt-run state.orch ceph.stage.2 salt-run state.orch ceph.stage.3 Stage.3 will create "ceph.client.crash.keyring" and distribute to all the nodes in the cluster ...
Run ceph commands fail on monitor node: Raw [root@MON ~]# ceph health 2019-07-25 11:33:19.458638 7f7540a0d700 0 librados: client.admin authentication error (1) Operation not permitted [errno 1] error connecting to the cluster Environment Red Hat Ceph Storage 3.2...
[errno 1] error connecting to the cluster解决方法 root@ceph-admin:~/my-cluster# ceph-deploy install ceph-clientroot@ceph-admin:~/my-cluster# ceph-deploy --overwrite-conf admin ceph-clientroot@ceph-client:~# ceph -s cluster: id: 135bca7f-4582-4d35-a1fa-aa9b86b9c730 health: HEALTH_OK...
[root@ceph-node01 ceph-deploy]# ceph -s[errno 2] error connecting to the cluster [root@ceph-node01 ceph-deploy]## 原因,没有admin 文件,下面通过 admin 命令进行 copy[root@ceph-node01 ceph-deploy]# ceph-deploy mon create-initial # 这一步先不执行,若有下面的报错信息再执行[root@ceph-node...
Error connecting to cluster:ObjectNotFound 从报错信息我们可以看出一点,因为我们使用了默认用户client.admin,Ceph 就会以下四个默认路径去寻找client.admin这个用户的密码: */etc/ceph/ceph.client.admin.keyring: 实际上命名格式为:/etc/ceph/<$cluster>.<$type>.<$id>.keyring。
[errno2] error connecting to the cluster 4.1 Ceph授权 Ceph把数据以对象的形式存于个存储池中,Ceph用户必须具有访问存储池的权限能够读写数据 Ceph用caps来描述给用户的授权,这样才能使用Mon,OSD和MDS的功能 caps也用于限制对某一存储池内的数据或某个命名空间的访问 ...
[errno 2] error connecting to the cluster 再拷贝回来又可以访问集群了 [root@node1 ceph]# mv /tmp/ceph.client.admin.keyring ./ [root@node1 ceph]# ceph -s cluster: id: 99480db2-f92f-481f-b958-c03c261918c6 health: HEALTH_WARN ...
[errno 2] error connecting to the cluster [cephadmin@ceph001 ~]$ ll /etc/ceph/ total 12 -rw--- 1 root root 151 Nov 30 17:25 ceph.client.admin.keyring -rw-r--r-- 1 root root 313 Nov 30 17:25 ceph.conf -rw-r--r-- 1 root root 92 Nov 24 03:33 rbdmap -rw--...
/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2022-06-02 16:07:16.087 7fb927470700 -1 monclient: ERROR: missing keyring, cannot use cephx for authentication [errno 2] error connecting to the cluster...