Project

General

Profile

Actions

Bug #58845

open

ceph dashboard create new admin user

Added by Kaleb KEITHLEY about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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
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------
. 1 root root 917 10 févr. 08:42 anaconda-ks.cfg
rw-r--r-. 1 root root 2396 10 févr. 10:47 cephmon.mod
rw-r--r-. 1 root root 2412 10 févr. 10:47 cephmon.pp
rw-r--r-. 1 root root 943 10 févr. 10:47 cephmon.te
rw-r--r-. 1 root root 675 13 févr. 04:15 csi-rbd-sc.yaml
r--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

Actions

Also available in: Atom PDF