d299a1f295d6a

Error EINVAL: Please specify the file containing the password/secret with “-i” option.

释放双眼,带上耳机,听听看~!

ceph dashboard创建密码时提示如下

[root@ceph-03 ~]# ceph dashboard ac-user-create abcdocker admin  administrator
Error EINVAL: Please specify the file containing the password/secret with "-i" option.

最新的ceph dashboard不支持直接在命令行里面创建用户的密码,所以需要.先创建一个包含用户密码的文件

解决方法

# 创建密码文本
cat >/opt/secretkey<<EOF
123123
EOF
# 使用该文本作为密钥 
ceph dashboard ac-user-create admin administrator -i /opt/secretkey 

给TA打赏
共{{data.count}}人
人已打赏
Ceph报错锦集

Error ENOENT: all mgr daemons do not support module 'dashboard', pass --force to force enablement

2022-6-26 22:43:12

CephGrafanaPrometheus监控与日志

Prometheus监控Ceph集群并设置AlertManager告警

2022-6-27 0:07:43

0 条回复 A文章作者 M管理员
data
commentData
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索