Bug 1912454

Summary: "rbd mirror snapshot schedule status" command is not listing any output
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Gopi <gpatta>
Component: RBD-MirrorAssignee: Greg Farnum <gfarnum>
Status: CLOSED ERRATA QA Contact: Gopi <gpatta>
Severity: high Docs Contact:
Priority: high    
Version: 4.2CC: ceph-eng-bugs, ceph-qe-bugs, tserlin, vereddy
Target Milestone: ---   
Target Release: 4.2z1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-14.2.11-99.el8cp, ceph-14.2.11-99.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-28 20:12:33 UTC 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 Gopi 2021-01-04 14:29:59 UTC
Description of problem:
rbd mirror snapshot schedule status command is not listing any output even though providing proper command

Version-Release number of selected component (if applicable):
ceph version 14.2.11-95.el8cp (1d6087ae858e7c8e72fe7390c3522c7e0d951240) nautilus (stable)

How reproducible:
100%

Steps to Reproduce:
1.setup rbd snap based mirror
2.add snapshot schedule
3.check the status of snapshot schedule

Actual results:
rbd mirror snapshot schedule status command is not listing any output

Expected results:
rbd mirror snapshot schedule status command should list proper output after adding snapshot schedule

Additional info:

Comment 1 Jason Dillaman 2021-01-04 14:38:25 UTC
Note: it might take up to 60 seconds for images to appear in the snapshot status since that is its internal refresh interval.

Comment 2 Gopi 2021-01-04 15:01:24 UTC
Hi Jason,

I waited almost 30 min and checked, but still not listing anything.

Comment 3 Jason Dillaman 2021-01-04 15:19:18 UTC
Under RHCS 4.2, the MGR has this error because [1] has not been backported:

> 2021-01-04 10:14:56.447 7f3430094700  0 mgr[rbd_support] load_pool_images: exception when scanning pool rbd: 'rados.Ioctx' object has no attribute 'watch'

No such similar issue under RHCS 5.

[1] https://github.com/ceph/ceph/pull/33715

Comment 4 Gopi 2021-01-06 14:36:17 UTC
Setting the priority to high as there is no workaround to proceed further.

Comment 8 Gopi 2021-02-19 14:22:48 UTC
Tested on latest build and working as expected. Hence moving this bug to verified state.

Comment 10 errata-xmlrpc 2021-04-28 20:12:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Red Hat Ceph Storage security, bug fix, and enhancement Update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1452