mgr/dashboard: Fix errors when clicking on new OSD
3 - minor
Pull request ID:
When just creating a new OSD which has never been attached to the CRUSH map, some information cannot be retrieved and the backend returns an internal server error which is shown in the frontend.
Steps to reproduce:
- Create OSD by issuing `ceph osd create`
- In Ceph Dashboard go to the OSD page and click on the newly created OSD