Actions
Bug #23325
openosd_max_pg_per_osd.py: race between pool creation and wait_for_clean
Status:
New
Priority:
Normal
Assignee:
-
Category:
Tests
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The test does this:
pool_a = manager.create_pool_with_unique_name(pg_num) manager.wait_for_clean() assert manager.get_num_active_clean() == pg_num
wait_for_clean() does not wait for new pools to be created on the osds, so it can return immediately, when there are 0 pgs, and the next assert will fail, as occurred here.
Updated by Neha Ojha about 6 years ago
Actions