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 #1

Updated by Ricardo Marques over 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Ricardo Marques over 4 years ago

  • Category set to 151
Actions #3

Updated by Ricardo Marques over 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 31490
Actions #4

Updated by Tatjana Dehler over 4 years ago

  • Related to 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 log added
Actions #5

Updated by Lenz Grimmer over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Ricardo Marques over 4 years ago

  • Copied to Backport #42729: nautilus: mgr/dashboard: RBD tests must use pools with power-of-two pg_num added
Actions #7

Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions #8

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 151 to Testing & QA
Actions

Also available in: Atom PDF