Bug 2095213

Summary: [RFE] rbd-mirror : provide command/option to check status or list images based on mirorring status and state
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: RBD-MirrorAssignee: Ilya Dryomov <idryomov>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.1CC: ceph-eng-bugs
Target Milestone: ---Keywords: FutureFeature
Target Release: 7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vasishta 2022-06-09 10:11:11 UTC
Description of problem:
Provide command or option to list or display status of images based on mirroring status of the images.

This will help users to directly check images for those if there are any errors.
Also it would be nice if option can be provided to list /display status based on the mirroring state.

Version-Release number of selected component (if applicable):
<latest>

Steps to Reproduce:
1. configure rbd-mirroring between two clusters with several images from both sites.
2. Try to list images based on image mirroring status, mirroring state


Actual results:
Not being able to list/display status based on image status/state

Expected results:
Option to list or display images based on image status, image state

Additional info:
Listing based on image state helps when scenario is to have primary images hosted at both the clusters (ODF RDR)