Project

General

Profile

Actions

Feature #42685

open

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

Added by Alfonso Martínez over 4 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Category:
Component - RBD Mirroring
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.

Actions #1

Updated by Alfonso Martínez over 4 years ago

  • Description updated (diff)
Actions #2

Updated by Jason Dillaman over 4 years 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.

Actions #3

Updated by Alfonso Martínez over 4 years 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.

Actions #4

Updated by Alfonso Martínez over 4 years ago

  • Backport deleted (nautilus)
Actions #5

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
Actions #6

Updated by Ernesto Puerta about 2 years ago

  • Category set to Component - RBD Mirroring
Actions

Also available in: Atom PDF