我最近安装了Ceph。
ceph version 14.2.1 (d555a9489eb35f84f2e1ef49b77e19da9d113972) nautilus (stable)我看不到任何“仪表板”模块(既没有处于启用状态,也没有处于禁用状态)。我正在检查"ceph模块ls“
如果我试图启用它,就会得到以下错误。
[user@system mydir]$ ceph mgr module enable dashboard
Error ENOENT: all mgr daemons do not support module 'dashboard', pass --force to force enablement如何启用仪表板模块?
发布于 2019-06-21 11:32:46
# rpm -Uvh http://download.ceph.com/rpm-nautilus/el7/noarch/ceph-mgr-dashboard-14.2.1-0.el7.noarch.rpm注意:它将要求很少的依赖项,使用yum/apt包管理器安装,然后执行上面的命令。
# ceph mgr module enable dashboard
# ceph mgr module ls # sudo ceph dashboard create-self-signed-cert
Self-signed certificate created Example: [ceph dashboard ac-user-create (username) (password) administrator]
# ceph dashboard ac-user-create cent password administrator
{"username": "cent", "lastUpdate": 1560292901, "name": null, "roles": ["administrator"], "password": "$2b$12$w60gItcbKd6PULNYI9McmOBMiAzFoKJ9T9XGva8vC6dxIyqMsE4kK", "email": null}
# ceph mgr services
{
"dashboard": "https://ceph-mgr:8443/"
}注意:在这里,您可以访问ceph节点的IP地址,而不是主机名。
# firewall-cmd --add-port=8443/tcp --permanent
# firewall-cmd --reload https://ceph-mgr:8443 or https://192.168.1.10:8443给你..。
https://stackoverflow.com/questions/56696819
复制相似问题