Project

General

Profile

Actions

Bug #42709

closed

mgr/dashboard: RBD tests must use pools with power-of-two pg_num

Added by Ricardo Marques over 4 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Ricardo Marques
Category:
Testing & QA
Target version:
% Done:

0%

Source:
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Since https://github.com/ceph/ceph/pull/30525 cluster health will change to "WARN" if non-power-of-two pg_num pools are used.

`test_rbd.py` is creating pools with non-power-of-two pg_num which will result in a timeout while waiting for cluster to be in health "OK":

2019-11-05 17:12:49,329.329 INFO:__main__:======================================================================
2019-11-05 17:12:49,329.329 INFO:__main__:ERROR: test_list (tasks.mgr.dashboard.test_rbd.RbdTest)
2019-11-05 17:12:49,329.329 INFO:__main__:----------------------------------------------------------------------
2019-11-05 17:12:49,330.330 INFO:__main__:Traceback (most recent call last):
2019-11-05 17:12:49,330.330 INFO:__main__:  File "/ceph/qa/tasks/mgr/dashboard/helper.py", line 154, in setUp
2019-11-05 17:12:49,330.330 INFO:__main__:    self.wait_for_health_clear(20)
2019-11-05 17:12:49,330.330 INFO:__main__:  File "/ceph/qa/tasks/ceph_test_case.py", line 134, in wait_for_health_clear
2019-11-05 17:12:49,330.330 INFO:__main__:    self.wait_until_true(is_clear, timeout)
2019-11-05 17:12:49,331.331 INFO:__main__:  File "/ceph/qa/tasks/ceph_test_case.py", line 166, in wait_until_true
2019-11-05 17:12:49,331.331 INFO:__main__:    raise RuntimeError("Timed out after {0}s".format(elapsed))
2019-11-05 17:12:49,331.331 INFO:__main__:RuntimeError: Timed out after 20s

Related issues 2 (1 open1 closed)

Related to RADOS - Bug #42215: cluster [WRN] Health check failed: 1 pool(s) have non-power-of-two pg_num (POOL_PG_NUM_NOT_POWER_OF_TWO)" in cluster logNewSage Weil10/07/2019

Actions
Copied to Dashboard - Backport #42729: nautilus: mgr/dashboard: RBD tests must use pools with power-of-two pg_numResolvedRicardo MarquesActions
Actions

Also available in: Atom PDF