Project

General

Profile

Actions

Bug #23325

open

osd_max_pg_per_osd.py: race between pool creation and wait_for_clean

Added by Josh Durgin about 6 years ago. Updated about 6 years ago.

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

Seen in http://pulpito.ceph.com/joshd-2018-03-12_15:49:43-rados-wip-pg-log-trim-error-luminous-distro-basic-smithi/2283931/

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.

Actions

Also available in: Atom PDF