【问题标题】:Can't create user for ceph dashboard无法为 ceph 仪表板创建用户
【发布时间】:2021-04-20 14:50:18
【问题描述】:

我正在尝试为 ceph 仪表板创建一个具有管理员角色的用户。版本为 Nautilus 14.2.19,并通过手动安装进行部署。

我已经安装了仪表板模块,安装了所有依赖项并启用了它。我的仪表板可以从监视器 ip 和默认端口 8443 访问。

当我运行 te 命令时:

ceph dashboard ac-user-create <user> <pw> administrator

我收到以下错误:

Please specify the file containing the password/secret with "-i" option.

在挖掘了这方面的信息后,它说必须有一个 bcrypt 格式的文件。是否有为此创建的默认文件?或者如果需要创建一个,我该怎么做?

【问题讨论】:

    标签: ceph


    【解决方案1】:

    没关系,您似乎只需要创建一个文本文件并在其中写入您的密码。

    当你像这样运行命令时:

    ceph dashboard ac-user-create <user> -i /file/location administrator
    

    它创建用户并以加密格式应用密码。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-29
      • 1970-01-01
      • 2020-04-16
      • 1970-01-01
      • 2011-11-19
      • 1970-01-01
      相关资源
      最近更新 更多