Bug 1889985

Summary: [5.0] Ceph-Dashboard: Add hosts via UI is not working as expected- 500 internal server error
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Preethi <pnataraj>
Component: CephadmAssignee: Juan Miguel Olmo <jolmomar>
Status: CLOSED WONTFIX QA Contact: Vasishta <vashastr>
Severity: high Docs Contact: Karen Norteman <knortema>
Priority: high    
Version: 5.0CC: almartin, athakkar, ceph-eng-bugs, epuertat, jolmomar
Target Milestone: ---   
Target Release: 5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: cephadm wip
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-18 12:23:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
erro snippet
none
500 server error
none
get ceph_hosts none

Description Preethi 2020-10-21 07:21:17 UTC
Created attachment 1723096 [details]
erro snippet

Description of problem:Add hosts via UI is not working properly - 500 internal server error seen in 5.0 cluster


Version-Release number of selected component (if applicable):
[root@magna094 ubuntu]# ./cephadm version
Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-96803-20201013192445
ceph version 16.0.0-6275.el8cp (d1e0606106224ac333f1c245150d7484cb626841) pacific (dev)


How reproducible:


Steps to Reproduce:
1. Install 5.0 cluster with latest image
2. Launch Dashboard UI and go to hosts section
3. Click on create hosts for adding new hosts OR delete the host via CLI and add the host again in UI.
However, CLI behaviour is not reflecting in dashboard UI properly when you add/remove the existing hosts
4. Observe the behaviour

Actual results:
Host add is not working, its asking for ssh keys to b copied. However, from cli its working and also saw 500 internal server error for the same.


Attached snippet for reference

Expected results:
Host add should work successfully.

Additional info:

Comment 1 Preethi 2020-10-21 07:22:54 UTC
Created attachment 1723097 [details]
500 server error

Comment 5 Juan Miguel Olmo 2020-10-27 16:10:09 UTC
*** Bug 1889976 has been marked as a duplicate of this bug. ***

Comment 10 avan 2020-11-19 12:18:22 UTC
Created attachment 1730909 [details]
get ceph_hosts

Comment 11 Yaniv Kaul 2021-01-14 15:10:02 UTC
What's the latest status here?

Comment 15 Preethi 2021-03-29 12:48:21 UTC
@Juan, issue is not seen with latest compose. However, this issue is closed with wont fix. Hence, removing need info flag. Attached snippet for reference