]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: smart data for devices with scsi protocol 46196/head
authorNizamudeen A <nia@redhat.com>
Sun, 8 May 2022 14:27:34 +0000 (19:57 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 10 May 2022 07:25:18 +0000 (12:55 +0530)
commit4fab663983ec34bb9bafa3f8104f2b7a70b58877
tree0c19563f8619a93df11867eb78255528924f4012
parent1ffef5da9e56059adce9032f22746ec85c4ea4f1
mgr/dashboard: smart data for devices with scsi protocol

In the dashboard, we've been showing smart data for hdd devices with ata
protocol only. Otherwise we show a No Smart Data found error which is
clearly misleading since Smart Data is returned even in the api call.

So this PR is trying to show the smart data for hdd devices
that uses scsi protocol too.

Fixes: https://tracker.ceph.com/issues/55574
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_ata_response.json [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_hdd_response.json [deleted file]
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_scsi_response.json [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/smart.ts