启用 SSL 时,Ceph 仪表板无法连接到 RGW

问题描述 投票:0回答:1

我已经使用 Cephadm 部署了 ceph 集群,一切工作正常,直到我使用正确的 ssl 证书在 rgw 服务中启用了 ssl - 与 RGW 节点的主机名(我有 3 个节点)匹配并且 rgw 守护进程正在运行在一个节点上 - 除非我禁用了 SSL,否则我无法访问对象网关或下面的任何选项卡,但是 api url 可以正常打开,问题出在仪表板内。

Ceph 版本是:18.2

日志:

[b'{"status": "500 内部服务器错误", "detail": "服务器遇到意外情况,无法完成请求。", "request_id": "8ad544cc-83fc-4d51-828f- 3041151388d1", "traceback": "回溯(最近一次调用): 文件\“/lib/python3.6/site-packages/cherrypy/_cprequest.py\”,第638行,作为响应 self._do_respond(path_info) 文件\“/lib/python3.6/site-packages/cherrypy/_cprequest.py\”,第697行,在_do_respond中 响应.body = self.handler() 文件\“/lib/python3.6/site-packages/cherrypy/lib/encoding.py\”,第219行,在call中 self.body = self.oldhandler(*args, **kwargs) 文件 \"/lib/python3.6/site-packages/cherrypy/_cptools.py\",第 230 行,换行 返回 self.newhandler(innerfunc, *args, **kwargs) 文件\“/usr/share/ceph/mgr/dashboard/services/exception.py\”,第58行,在dashboard_exception_handler中 引发错误 文件\“/usr/share/ceph/mgr/dashboard/services/exception.py\”,第47行,在dashboard_exception_handler中 返回处理程序(*args,**kwargs) 文件\“/lib/python3.6/site-packages/cherrypy/_cpdispatch.py\”,第54行,在call中 返回 self.callable(*self.args, **self.kwargs) 文件\“/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py\”,第263行,在内部 ret = func(*args, **kwargs) 文件 \"/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py\",第 191 行,包装器中 返回 func(*vpath, **params) 文件\“/usr/share/ceph/mgr/dashboard/controllers/rgw.py\”,第108行,在列表中 '端口': int(元数据['frontend_config#0'].split('端口=')[1]) ValueError:以 10 为基数的 int() 的文字无效:'433 ssl_certificate=config://rgw/cert/rgw.rgw' ", "版本": "18.4.0"}']

  • 我尝试了另一个主机名的 ssl 证书
  • 重新安装整个集群

没有运气

storage ceph
1个回答
0
投票

这很可能是这个 bug,我在 18.2.0 测试集群中看到了同样的情况。它已经在主分支中修复了,我预计它会在 18.2.1 版本中,但我不确定。

© www.soinside.com 2019 - 2024. All rights reserved.