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

Also available in: Atom PDF