Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1255830 - FAILED assert(m_seed < old_pg_num) in librbd when increasing placement groups
FAILED assert(m_seed < old_pg_num) in librbd when increasing placement groups
Status: CLOSED ERRATA
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: RBD (Show other bugs)
1.3.0
Unspecified Unspecified
high Severity high
: rc
: 1.3.1
Assigned To: Josh Durgin
ceph-qe-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-08-21 12:16 EDT by Jason Dillaman
Modified: 2017-07-30 11:27 EDT (History)
10 users (show)

See Also:
Fixed In Version: ceph-0.94.2-8.el7cp
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1255827
: 1258625 (view as bug list)
Environment:
Last Closed: 2015-11-23 15:22:15 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1588363 None None None Never
Ceph Project Bug Tracker 10399 None None None Never
Red Hat Product Errata RHSA-2015:2066 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage 1.3.1 security, bug fix, and enhancement update 2015-11-23 21:34:55 EST
Red Hat Product Errata RHSA-2015:2512 normal SHIPPED_LIVE Moderate: Red Hat Ceph Storage 1.3.1 security, bug fix, and enhancement update 2016-02-02 22:15:52 EST

  None (edit)
Comment 5 Tanay Ganguly 2015-10-28 06:33:21 EDT
Jason,

I tried the following and it worked fine, please let me know if there is any further validation required.

Below are the 2 use case by which i verified.

1st Use case:

1. Created rbd image, took snapshot and cloned it.
2. Mapped it to a VM and installed OS on top of it.
3. Started writing some IO using dd, then abruptly shutdown the VM.

Meanwhile i opened a watch instance on that image, while shutting down the VM.
rbd watch --pool Tanay-RBD testingClone_new1

While all this was happening, i incremented the pg_num and pgp_num in a loop (50 times )for that pool.

I didn't see any FAILED assert error message in watch/log.

Only thing i am seeing in watch is:

[root@cephqe3 ceph-config]# rbd watch --pool Tanay-RBD testingClone_new1
press enter to exit...
testingClone_new1 received notification: notify_id=3435973836800, cookie=48502592, notifier_id=1467375, bl.length=26
testingClone_new1 received notification: notify_id=3435973836801, cookie=48502592, notifier_id=1468015, bl.length=26
testingClone_new1 received notification: notify_id=3453153705986, cookie=48502592, notifier_id=1469010, bl.length=26


2nd Use case is:

1. Created rbd image, took snapshot and cloned it.
2. Exercised librbd api calls, image.write and image.read


Meanwhile i opened a watch instance on that image.
rbd watch --pool Tanay-RBD testingClone_new3

While all this was happening, i incremented the pg_num and pgp_num in a loop (50 times )for that pool 


Thanks.
Comment 6 Jason Dillaman 2015-10-28 10:10:35 EDT
Your first test showed that the watch was still established since you received messages.  For future reference, you can just use 'rados -p <pool> listwatchers <image  name>.rbd' (assuming RBD image format 1 for ease of header lookup) to verify that the image still has a valid watch after resizing the PG.
Comment 7 Tanay Ganguly 2015-10-28 10:36:52 EDT
Marking this Bug as Verified.
Comment 9 errata-xmlrpc 2015-11-23 15:22:15 EST
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/RHSA-2015:2512
Comment 10 Siddharth Sharma 2015-11-23 16:53:23 EST
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/RHSA-2015:2066

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