首页 > 解决方案 > 无法为 ceph 仪表板创建用户

问题描述

我正在尝试为具有管理员角色的 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

解决方案


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

当您像这样运行命令时:

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

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


推荐阅读