DescriptionFrancesco 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:
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: