Project

General

Profile

Feature #42685

mgr/dashboard: pool with rbd mirroring mode "pool" showing health "error" but "OK" in CLI

Added by Alfonso Martínez about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

When there is no rbd-mirror daemon running
and you set an rbd pool with rbd mirroring mode "pool",
"Health" column is showing "error"
but if you run:
  1. rbd mirror pool status {pool-name}
    health: OK
    images: 0 total

It seems that "Health" column is not showing info related to the
aforementioned command but if the daemon is managing the pool.

After dashboard team conversation, there is agreement on implementing 2 fixes:

1) Rename "Health" column to "Status" (or similar)
and set the status accordingly.

2) Add "Health" column after retrieving the same info as
"rbd mirror pool status {pool-name}" > "health" field
and set info accordingly.

History

#1 Updated by Alfonso Martínez about 1 year ago

  • Description updated (diff)

#2 Updated by Jason Dillaman about 1 year ago

The dashboard incorporates feedback from the rbd-mirror daemons themselves. If you don't have any daemons running, I think it's fair to say that the health is in an error state (i.e. from a UX perspective, you shouldn't need to mentally merge the image health + daemon health together to determine that you have an error). One area where the dashboard should be improved is for it to somehow show the actual health warning/error message. We can also update the CLI to show the combined health status as well since I believe that is a better end-state.

#3 Updated by Alfonso Martínez about 1 year ago

  • Tracker changed from Bug to Feature

As per comment https://tracker.ceph.com/issues/42685#note-2
this issue becomes an enhancement/feature instead of a bug.

#4 Updated by Alfonso Martínez about 1 year ago

  • Backport deleted (nautilus)

Also available in: Atom PDF