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 存储集群中的一个节点,用于管理和配置集群。确保你在命令中指定了正确的节点名称。

相关推荐
qq_312920112 天前
K8s存储类(StorageClass)设计与Ceph集成实战
ceph·容器·kubernetes
1990_super11 天前
虚拟机环境部署Ceph集群的详细指南
ceph
1990_super11 天前
Ceph对象池详解
ceph
1990_super12 天前
使用ceph-deploy安装和配置RADOS Gateway (RGW)并使用S3访问集群
ceph·gateway
野生技术架构师18 天前
分布式存储 Ceph 的演进经验 · SOSP 2019
分布式·ceph
mixboot20 天前
ceph 14.2.22 nautilus Balancer 数据平衡
ceph·balancer·数据平衡
斯普信专业组23 天前
k8s云原生rook-ceph pvc快照与恢复(下)
ceph·云原生·kubernetes
斯普信专业组23 天前
k8s云原生rook-ceph pvc快照与恢复(上)
ceph·云原生·kubernetes
斯普信专业组23 天前
Ceph、K8s、CSI、PVC、PV 深入详解
ceph·容器·kubernetes
mixboot1 个月前
Ceph OSD.419 故障分析
ceph·osd