https://www.cnblogs.com/liugp/p/12513702.html
我的部署参考上述文档,以下针对部署有不同的地方进行说明
1.节点的ceph源进行修改
[Ceph]
name=Ceph packages for $basearch
baseurl=http://download.ceph.com/rpm-nautilus/el7/$basearch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
priority=1
[Ceph-noarch]
name=Ceph noarch packages
baseurl=http://download.ceph.com/rpm-nautilus/el7/noarch
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
priority=1
[ceph-source]
name=Ceph source packages
baseurl=http://download.ceph.com/rpm-nautilus/el7/SRPMS
enabled=1
gpgcheck=1
type=rpm-md
gpgkey=https://download.ceph.com/keys/release.asc
priority=1
2.在所有节点安装ceph
将源命令安装mimic版本,修改为安装nautilus版本
修改前:ceph-deploy install --release mimic controller compute1 compute2
修改后:ceph-deploy install --release nautilus controller compute1 compute2
3. 【注意】创建monitor、配置admin key到各个节点,执行此命令需要到/etc/ceph/目录下去执行
4. 执行命令 ceph health
出现错误:HEALTH_WARN mon is allowing insecure global_id reclaim
解决
[root@controller ~]# ceph config set mon auth_allow_insecure_global_id_reclaim false
检验
[root@controller ~]# ceph health
HEALTH_OK