Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1492785

Summary: rbd mirror pool promote <pool> hangs indefinitely
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Parikshith <pbyregow>
Component: RBD-MirrorAssignee: Jason Dillaman <jdillama>
Status: CLOSED ERRATA QA Contact: Parikshith <pbyregow>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: bniver, ceph-eng-bugs, ceph-qe-bugs, hnallurv, kdreyer
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.1-8.el7cp Ubuntu: ceph_12.2.1-2redhat1xenial Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:44:17 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 Parikshith 2017-09-18 15:43:05 UTC
Description of problem: Mass promote of all mirrored images in a pool hangs indefinitely.


Version-Release number of selected component (if applicable): ceph version 12.2.0-2.el7cp 

Steps to Reproduce:
1. Configured 2 cluster master/slave.
2. Configured pool based mirroring on pool named "data". Created 3 images on it.
3. Mass demoted images on primary pool(master client) -> Got successfully demoted.
4. Mass promoted images on secondary pool(slave client) -> Promote hangs indefinitely

Opened another session and checked, images had got promoted.
for i in {1,2,3};do sudo rbd mirror image status data/image-$i --cluster slave;done
image-1:
  global_id:   6831f666-661c-4d8d-9ffb-37eafb42d5d9
  state:       up+stopped
  description: local image is primary
  last_update: 2017-09-18 15:16:51
image-2:
  global_id:   dd6e7518-f655-4d51-8622-7d30b10043e7
  state:       up+stopped
  description: local image is primary
  last_update: 2017-09-18 15:16:51
image-3:
  global_id:   02d42798-59c8-49fa-bc91-19d9eeed6d16
  state:       up+stopped
  description: local image is primary
  last_update: 2017-09-18 15:16:51

Actual results:


Expected results:


Additional info:

Comment 9 errata-xmlrpc 2017-12-05 23:44:17 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, 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-2017:3387