Bug 1964224 - Ephemerally pinned subtrees are not getting distributed uniformly
Summary: Ephemerally pinned subtrees are not getting distributed uniformly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 5.0
Assignee: Patrick Donnelly
QA Contact: Yogesh Mane
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-25 03:20 UTC by Yogesh Mane
Modified: 2021-08-30 08:31 UTC (History)
4 users (show)

Fixed In Version: ceph-16.2.0-52.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-30 08:30:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 51070 0 None None None 2021-06-02 16:16:55 UTC
Red Hat Issue Tracker RHCEPH-1312 0 None None None 2021-08-30 00:24:04 UTC
Red Hat Product Errata RHBA-2021:3294 0 None None None 2021-08-30 08:31:03 UTC

Description Yogesh Mane 2021-05-25 03:20:45 UTC
Description of problem:
Ephemerally pinned subtrees are not getting distributed uniformly

Version-Release number of selected component (if applicable):
ceph version 16.2.0-38.el8cp (54fb2271e5015808565bc05b6877deb6bf3f5da9) pacific (stable)

How reproducible:
1/1

Steps to Reproduce:
1.Set max_mds to 3
2.Set mds_export_ephemeral_distributed_factor to "63.0/7"
3.Create 1000 subtrees
4.Wait until subtrees are distributed
5.Check if the distribution is uniform

Actual results:
Distribution is not uniform.

2021-05-19T02:41:29.345 INFO:tasks.cephfs_test_runner:FAIL: test_ephemeral_pin_distribution (tasks.cephfs.test_exports.TestEphemeralPins)
2021-05-19T02:41:29.345 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2021-05-19T02:41:29.346 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2021-05-19T02:41:29.347 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/github.com_yogesh-mane_ceph-1_master/qa/tasks/cephfs/test_exports.py", line 334, in test_ephemeral_pin_distribution
2021-05-19T02:41:29.347 INFO:tasks.cephfs_test_runner:    self.assertGreaterEqual(len(rank2)/nsubtrees, 0.2)
2021-05-19T02:41:29.348 INFO:tasks.cephfs_test_runner:AssertionError: 0.140625 not greater than or equal to 0.2

Expected results:
Distribution should be uniform.

Additional info:
Log location - http://magna002.ceph.redhat.com/ymane-2021-05-19_01:45:45-fs:functional-master-distro-basic-argo/398514/teuthology.log

Comment 8 errata-xmlrpc 2021-08-30 08:30:53 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 (Red Hat Ceph Storage 5.0 bug fix and enhancement), 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-2021:3294


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