错误一
执行ceph-deploy mon create-initial时报错的原因
忘记没有切换至my-cluster目录下 切换至my-cluster目录下重新执行就可以
ConfigError: Cannot load config: [Errno 2] No such file or directory: ‘ceph.conf’; has ceph-deploy new
been run in this directory?
错误二
执行ceph-deploy osd create --data /dev/sdb node1是报错的原因没有添加空的磁盘
[ceph_deploy.osd][ERROR ] Failed to execute command: /usr/sbin/ceph-volume --cluster ceph lvm create --bluestore --data /dev/sdb
[ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
错误三
[cephu@centos7u3_1 my-cluster]$ ceph-deploy new node1
Traceback (most recent call last):
File “/bin/ceph-deploy”, line 18, in
from ceph_deploy.c