Feature #42685

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 almost 2 years ago.

Component - RBD Mirroring
Target version:
% Done:


Affected Versions:
Pull request ID:


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.


#1 Updated by Alfonso Martínez over 4 years ago

  • Description updated (diff)

#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.

#3 Updated by Alfonso Martínez over 4 years ago

  • Tracker changed from Bug to Feature

As per comment
this issue becomes an enhancement/feature instead of a bug.

#4 Updated by Alfonso Martínez over 4 years ago

  • Backport deleted (nautilus)

#5 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard

#6 Updated by Ernesto Puerta almost 2 years ago

  • Category set to Component - RBD Mirroring

Also available in: Atom PDF