我按照说明引导一个新的Ceph(我是Ceph的新手(集群。我得到以下错误:
sudo cephadm bootstrap --mon-ip <mon-ip>
INFO:cephadm:Verifying podman|docker is present...
INFO:cephadm:Verifying lvm2 is present...
INFO:cephadm:Verifying time synchronization is in place...
INFO:cephadm:Unit systemd-timesyncd.service is enabled and running
INFO:cephadm:Repeating the final host check...
INFO:cephadm:podman|docker (/usr/bin/podman) is present
INFO:cephadm:systemctl is present
INFO:cephadm:lvcreate is present
INFO:cephadm:Unit systemd-timesyncd.service is enabled and running
INFO:cephadm:Host looks OK
INFO:root:Cluster fsid: e08484be-72c1-11ea-a13e-0050563f093a
INFO:cephadm:Verifying IP *<mon-ip>* port 3300 ...
INFO:cephadm:Verifying IP *<mon-ip>* port 6789 ...
ERROR: Failed to infer CIDR network for mon ip *<mon-ip>*; pass --skip-mon-network to configure it later
这是什么意思?如何修复?
cephadm仍然是一个相当新的概念。我几天前在中进行了跟踪
https://tracker.ceph.com/issues/44828
请运行
ceph config set mon public_network <mon_network>
引导程序完成后。
这正是您运行的命令吗?
sudo cephadm bootstrap --mon-ip *<mon-ip>*
如果是这样,您实际上需要将*<mon-ip>*
替换为您希望监视器守护进程侦听的实际IP地址
为了将来参考,在该页面上,您看到的任何带有星号包围的变量的命令都需要替换为适用于您的环境的地址/主机/主机名等。