]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Fix pg_num counts in pool API tests
authorStephan Müller <smueller@suse.com>
Wed, 13 Nov 2019 12:15:42 +0000 (13:15 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Fri, 2 Oct 2020 08:55:53 +0000 (10:55 +0200)
commit8cc023dd70f9830705ab9784eb342f0925dbf5c6
tree37a50686c835fc10338b6d02383ff03abec2a132
parentd1831a4331af3761ac0f3c4e98a62b67e79ad4d3
mgr/dashboard: Fix pg_num counts in pool API tests

To prevent the not a number of two cluster health warning, all created
pools now have a pg_num that is a power of two.

Fixes: https://tracker.ceph.com/issues/42776
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit ca46c9941bc6837f09aab7b4aaab799d8a9ebf48)

Conflicts:
      qa/tasks/mgr/dashboard/test_pool.py:
      - Ignore quota tests and accept 8 PG number
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
qa/tasks/mgr/dashboard/test_pool.py