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 1964224

Summary: Ephemerally pinned subtrees are not getting distributed uniformly
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Yogesh Mane <ymane>
Component: CephFSAssignee: Patrick Donnelly <pdonnell>
Status: CLOSED ERRATA QA Contact: Yogesh Mane <ymane>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.0CC: ceph-eng-bugs, sweil, tserlin, vereddy
Target Milestone: ---Keywords: Automation
Target Release: 5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.0-52.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:30:53 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 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