]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: provide the service events when showing a service in the UI 41494/head
authorAashish Sharma <aashishsharma@localhost.localdomain>
Thu, 18 Mar 2021 09:40:43 +0000 (15:10 +0530)
committerAashish Sharma <aashishsharma@localhost.localdomain>
Mon, 24 May 2021 04:49:52 +0000 (10:19 +0530)
commit21537ab60aec73883ee061aa79a1febffe9606f6
tree98667c281cc5a62fc7ae0cc597b6b70f25a04280
parent1fef83d04c80763e7944df3f9ab1d3afaf4cf400
mgr/dashboard: provide the service events when showing a service in the UI

When service deployment failures occur, events are generated and associated with the service. This PR intends to add these events as Daemon Logs and Service Logs to the UI for troubleshooting and doing diagnostics for the same.

Fixes: https://tracker.ceph.com/issues/49262
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 00ce7c90ef19f02beea9431ab360d23744efde2d)
src/pybind/mgr/dashboard/controllers/host.py
src/pybind/mgr/dashboard/controllers/service.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.scss
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.ts
src/pybind/mgr/orchestrator/_interface.py