Bug #58845
openceph dashboard create new admin user
0%
Description
see https://bugzilla.redhat.com/show_bug.cgi?id=2169390
Description of problem:
Is not possible for me to create a admin user with used this command (command by ceph documentation : https://docs.ceph.com/en/quincy/mgr/dashboard/#enabling)
for the CEPH Dashboard.
Version-Release number of selected component (if applicable):
ceph/ceph-mgr-dashboard.noarch 17.2.5-1 last Fedora 37 update
How reproducible:
all time
Steps to Reproduce:
1.launch command : ceph dashboard ac-user-create admin -i pass.txt administrator
same result with : ceph dashboard ac-user-create admin -i /root/pass.txt administrator
2.
3.
Actual results:
[root@xxxxx ~]# ceph dashboard ac-user-create admin i pass.txt administrator. 1 root root 917 10 févr. 08:42 anaconda-ks.cfg
Inferring fsid 19203ec2-xxxxxx-4c6c-bb6a-xxxxxxx
Inferring config /etc/ceph/ceph.conf
Using ceph image with id 'xxxxxxx' and tag 'v17' created on 2022-10-17 23:41:41 +0000 UTC
quay.io/ceph/ceph@sha256:xxxxxxxxxxxxxxxxxxxxxxxxx
Can't open input file pass.txt: [Errno 2] No such file or directory: 'pass.txt'
[root@xxxxxxxx ~]# ll
total 32
-rw------rw-r--r-. 1 root root 2396 10 févr. 10:47 cephmon.modrw-r--r-. 1 root root 2412 10 févr. 10:47 cephmon.pprw-r--r-. 1 root root 943 10 févr. 10:47 cephmon.terw-r--r-. 1 root root 675 13 févr. 04:15 csi-rbd-sc.yamlr--r----. 1 root root 9 13 févr. 08:28 pass.txt
Expected results: {"username": "admin", "password": "$2b$12$/xxxxxxxx.xxxxxxx", "roles": ["administrator"], "name": null, "email": null, "lastUpdate": xxxxxxx, "enabled": true, "pwdExpirationDate": null, "pwdUpdateRequired": false}
Additional info:
No data to display