Bug 2041456 - [rbd-mirror] : mirroring doesn't start till new snapshot if snapshot based mirroring was enabled before configuring peers
Summary: [rbd-mirror] : mirroring doesn't start till new snapshot if snapshot based mi...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD-Mirror
Version: 5.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 7.0
Assignee: Ilya Dryomov
QA Contact:
Ranjini M N
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-17 11:39 UTC by Vasishta
Modified: 2023-07-31 21:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Clone Of:
: 2043099 (view as bug list)
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-2981 0 None None None 2022-01-17 11:42:33 UTC

Description Vasishta 2022-01-17 11:39:01 UTC
Description of problem:
If snapshot mirroring is enabled before the peer bootstrap and import, the image created at secondary site doesn't sync to existing snapshot created during the moment of mirroring enable

Version-Release number of selected component (if applicable):
5.0 GA
16.2.0-146.el8cp

How reproducible:
Tried twice
Observed twice

Steps to Reproduce:
1) Create pool 1 on c1 , create image with separate data pool, enable mirroring on pool (image mode) and image (snapshot mode)
2) create pool on c2 and enable mirroring on pool (image mode)
3) Bootstrap peer on c2
4) Import peer on c1 as two way mode (rx-tx)
5) Observe c2 that the image gets created with from c1 but  mirroring state: unknown

Actual results:
mirroring state in secondary site reports unknown

Expected results:
Mirroring should not wait for upcoming snapshot creation if a snapshot already exists

Additional info:
Easy workaround is to create mirroring snapshot at primary or to schedule snapshot create


Note You need to log in before you can comment on or make changes to this bug.