Bug 1922135 - Ceph Dashboard deployment fails when the ac-user-create command is run
Summary: Ceph Dashboard deployment fails when the ac-user-create command is run
Keywords:
Status: CLOSED DUPLICATE of bug 1915506
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.2z1
Assignee: Dimitri Savineau
QA Contact: Ameena Suhani S H
URL:
Whiteboard:
Depends On:
Blocks: 1760354
TreeView+ depends on / blocked
 
Reported: 2021-01-29 10:38 UTC by Francesco Pantano
Modified: 2021-01-29 13:46 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-29 13:46:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Francesco Pantano 2021-01-29 10:38:15 UTC
Description of problem:

The latest ceph-ansible version(s) (v4.0.41+) fail to configure the ceph dashboard because the ac-user-create tasks returns the following error:

````
2021-01-28 16:42:05,174 p=196552 u=root n=ansible | fatal: [controller-0 -> 192.168.24.36]: FAILED! => {"attempts": 6, "changed": true, "cmd": ["timeout", "--foreground", "-s", "KILL", "10", "podman", "exec", "ceph-mon-controller-0", "ceph", "--cluster", "Monolithic0", "dashboard"
, "ac-user-create", "admin", "uX4bjLHqr2HaXVu86mFDNPfQr"], "delta": "0:00:00.775096", "end": "2021-01-28 16:42:05.147239", "msg": "non-zero return code", "rc": 22, "start": "2021-01-28 16:42:04.372143", "stderr": "Error EINVAL: Please specify the file containing the password/secre
t with \"-i\" option.\nError: non zero exit code: 22: OCI runtime error", "stderr_lines": ["Error EINVAL: Please specify the file containing the password/secret with \"-i\" option.", "Error: non zero exit code: 22: OCI runtime error"], "stdout": "", "stdout_lines": []}
```
Sounds like a new change is introduced via [1] in the attempt of configuring the ceph dashboard user/psw with the new approach described in [2].


[1] https://github.com/ceph/ceph-ansible/commit/07d21604213e265717bc063d0e33a28cc12d2f89
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1915506


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.