Bug 1421308

Summary: [rbd-mirror] : image metadata is not synced to any secondary site(had multiple secondary site)
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Rachana Patel <racpatel>
Component: RBDAssignee: Jason Dillaman <jdillama>
Status: CLOSED DUPLICATE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.2CC: ceph-eng-bugs
Target Milestone: rc   
Target Release: 2.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-11 01:04:26 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 Rachana Patel 2017-02-10 23:58:53 UTC
Description of problem:
========================
image is synced to secondary but image metadata is not synced to any of the secondary site


Version-Release number of selected component (if applicable):
==============================================================
10.2.5-13.el7cp.x86_64


How reproducible:
=================
always


Steps to Reproduce:
===================
1. had a ceph cluster where one site is primary for mirrorring and 2 sites are secondary.(each site have one MON, 3 OSD and 1rbd-mirror node)
2. Enabled pool level mirroring on pool data1
3. created few images in pool data1. all images were synced to both secondaries
4. set metadata for images on primary site

[root@magna043 ubuntu]# rbd image-meta list data1/dataset10new --cluster master
There are 2 metadatas on this image.
Key Value 
key1 value1 
key2 value2

5. verify metadata on secondary site

Actual results:
===============
no metadata is listed
[root@magna100 ubuntu]# rbd image-meta list i-mirror/dataset10new --cluster slave1
[root@magna100 ubuntu]# 

Expected results:
==================
metadata should be synced to secondary site


Additional info:

Comment 2 Jason Dillaman 2017-02-11 01:04:26 UTC

*** This bug has been marked as a duplicate of bug 1344212 ***