【问题标题】:Ceph-Mgr-Dashboard not working with Ceph Naultilus ReleaseCeph-Mgr-Dashboard 不适用于 Ceph Naultilus 版本
【发布时间】:2019-08-28 04:27:30
【问题描述】:

我使用 ceph-deploy 工具安装 ceph 集群。我想安装从 ceph-mgr 模块中删除的 ceph-mgr-dashboard。在官方ceph中告诉你如果要使用ceph-dashboard必须安装ceph-mgr-dashboard包并启用它。

此软件包带有 apt install ceph-mgr-dashboard。但它对它没有任何作用。这对于ceph文件来说是很惨的。有说明但不能按照说明使用。

【问题讨论】:

    标签: ceph


    【解决方案1】:

    在所有 mgr 服务器中安装仪表板 rpm:

    yum install ceph-mgr-dashboard.noarch
    

    生成自签名证书(关键点,在我的安装中,没有证书仪表板不会运行):

    ceph dashboard create-self-signed-cert
    

    启用仪表板:

    sudo ceph mgr module enable dashboard
    

    检查状态:

    sudo ceph mgr services
    

    【讨论】:

    • 您可以使用 config 命令关闭 mgr 上的 ssl:ceph config set mgr mgr/dashboard/ssl false
    • 是的,这也可以,但我不确定你是否想要一个可以通过未加密的 http 破坏你的 ceph 安装的工具。我还禁用了 ssl 以检查仪表板是否正常工作,然后找到了这种方式使仪表板使用 ssl 运行。
    猜你喜欢
    • 1970-01-01
    • 2017-11-04
    • 2020-09-21
    • 1970-01-01
    • 2018-05-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多