ceph - Ceph-Mgr-Dashboard 不适用于 Ceph Naultilus 版本
问题描述
我使用 ceph-deploy 工具安装 ceph 集群。我想安装从 ceph-mgr 模块中删除的 ceph-mgr-dashboard。在官方 ceph 中告诉你如果要使用 ceph-dashboard 必须安装 ceph-mgr-dashboard 包并启用它。
这个包带有 apt install ceph-mgr-dashboard。但它对它没有任何作用。这对于ceph文件来说是很惨的。有说明但不能使用跟随它。
解决方案
在所有 mgr 服务器中安装仪表板 rpm:
yum install ceph-mgr-dashboard.noarch
生成自签名证书(关键点,在我的安装中,没有证书仪表板不会运行):
ceph dashboard create-self-signed-cert
启用仪表板:
sudo ceph mgr module enable dashboard
检查状态:
sudo ceph mgr services