ceph报错总结

1、Error EINVAL: New host node2 (node2) failed check: ['podman|docker (/bin/docker) is present', 'systemctl is present', 'lvcreate is present', "No time sync service is running; checked for ['chrony.service', 'chronyd.service', 'systemd-timesyncd.service', 'ntpd.service', 'ntp.service', 'ntpsec.service']", 'Hostname "node2" matches what is expected.', 'ERROR: No time synchronization is active']

报错原因:node2主机的chronyd服务没有开启

解决办法:在node2上开启chronyd服务。命令:systemctl start chronyd


2、 Error EINVAL: Can't communicate with remote host `node2`, possibly because python3 is not installed there: cannot send (already closed?)

**报错原因:**node2主机没有安装python3

**解决办法:**在node2主机上安装python3,命令:yum -y install python3


3、 Slow OSD heartbeats on back (longest 1549.580ms)

Slow OSD heartbeats on front (longest 1104.882ms)

报错原因 :cpu异常
解决办法: 重启系统,然后再等等。命令:reboot


4、Error EPERM: WARNING: this will *PERMANENTLY DESTROY* all data stored in pool cephrbd. If you are *ABSOLUTELY CERTAIN* that is what you want, pass the pool name *twice*, followed by --yes-i-really-really-mean-it.

Error EPERM: pool deletion is disabled; you must first set the mon_allow_pool_delete config option to true before you can destroy a pool


5、Traceback (most recent call last):

File "/usr/bin/ceph-deploy", line 5, in <module>

from pkg_resources import load_entry_point

ImportError: No module named pkg_resources
报错原因 :缺少模块
解决办法:安装模块,命令:yum install -y python-setuptools


6、[ceph_deploy][ERROR ] ConfigError: Cannot load config: [Errno 2] No such file or directory: 'ceph.conf'; has `ceph-deploy new` been run in this directory?

报错原因:表明在当前目录下找不到 ceph.conf 配置文件

解决办法: 切换到有ceph.conf配置文件的目录中,然后再执行ceph-deploy命令或者用 ceph-deploy new <ceph-admin-node> 命令,在当前目录下来生成 ceph.conf 配置文件。其中,<ceph-admin-node> 是 Ceph 存储集群中的一个节点,用于管理和配置集群。确保你在命令中指定了正确的节点名称。

相关推荐
Brandon汐6 天前
从0开始搭建一主两节点k8s集群对接Ceph集群
ceph·容器·kubernetes
泡沫·9 天前
CEPH的基本认识
ceph
2301_7679026410 天前
ceph分布式存储(三)
分布式·ceph
2301_7679026411 天前
ceph分布式存储(一)
分布式·ceph
2301_7679026411 天前
ceph分布式存储(二)
分布式·ceph
FJW02081413 天前
cephadm部署ceph集群以及k8s对接
ceph·容器·kubernetes
韭菜张师傅14 天前
Ceph RBD 命令详解
ceph
韭菜张师傅15 天前
Ceph FS 命令详解
ceph
韭菜张师傅15 天前
Ceph MDS 命令详解
网络·ceph
lpruoyu15 天前
【云原生】Kubernetes平台存储系统搭建_CRI、CNI、CSI
ceph·云原生·容器·kubernetes