Bug 1640262
Summary: | RBD mirroring - mirror status of some images remains outdated | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Vasishta <vashastr> |
Component: | RBD-Mirror | Assignee: | Jason Dillaman <jdillama> |
Status: | CLOSED ERRATA | QA Contact: | Vasishta <vashastr> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 3.2 | CC: | anharris, ceph-eng-bugs, ceph-qe-bugs, jdillama, pasik, tserlin, vashastr |
Target Milestone: | rc | ||
Target Release: | 3.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | RHEL: ceph-12.2.8-27.el7cp Ubuntu: ceph_12.2.8-25redhat1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-03 19:02:09 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
Vasishta
2018-10-17 17:21:57 UTC
Hi Jason, It was observed that the mirror status of image which was forcefully promoted (while working on failover scenario) is not getting updated for indefinite time. Is this expected ? -------------------------------- $ sudo rbd mirror image promote data/big --force Image promoted to primary $ date "+%T" 06:11:37 $ sudo rbd mirror image status data/big big: global_id: 9bfdf3e1-29d0-4c48-9bd1-e0ed3848d20f state: up+replaying description: replaying, master_position=[object_number=257, tag_tid=4, entry_tid=131609], mirror_position=[object_number=257, tag_tid=4, entry_tid=131609], entries_behind_master=0 last_update: 2018-10-26 05:47:10 $ sudo rbd info data/big rbd image 'big': size 10GiB in 2560 objects order 22 (4MiB objects) block_name_prefix: rbd_data.10806b8b4567 format: 2 features: layering, exclusive-lock, object-map, fast-diff, journaling flags: create_timestamp: Thu Oct 25 09:04:32 2018 journal: 10806b8b4567 mirroring state: enabled mirroring global id: 9bfdf3e1-29d0-4c48-9bd1-e0ed3848d20f mirroring primary: true -------------------------------- Is this expected ? Regards, Vasishta Shatsry QE, Ceph @Vasishta: do you have any additional steps to repeat this behavior? Was this cluster the primary cluster or one of the secondary clusters? Jason, I just put down primary and one of the secondary and promoted image from remaining one secondary. @Vasishta: "put down primary" as in shut down the cluster? That would result in the rbd-mirror daemon in-flight ops to that cluster getting hung, so at least that would explain why it wasn't getting updated. (In reply to Jason Dillaman from comment #11) > @Vasishta: "put down primary" as in shut down the cluster? Yes, I had shutdown the cluster. > That would result in the rbd-mirror daemon in-flight ops to that cluster getting hung, so at > least that would explain why it wasn't getting updated. Oh okay, Thanks for the clarification. 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, 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/RHBA-2019:0020 |