]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/cephtool/test.sh: create pool with power-of-2 pg num
authorKefu Chai <kchai@redhat.com>
Mon, 18 Nov 2019 11:47:18 +0000 (19:47 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 18 Nov 2019 13:17:57 +0000 (21:17 +0800)
commitabc237960a8a73be971e85607a46e8d2d2d7be6b
tree735271729d3da5a3fd8859c3cea0bdd3c2bf840a
parent2977086d1da173b07c5a197a145ab6c54a94079e
qa/workunits/cephtool/test.sh: create pool with power-of-2 pg num

otherwise wait_for_health() fails like:

wait_for_health:  ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
[WRN] POOL_PG_NUM_NOT_POWER_OF_TWO: 1 pool(s) have non-power-of-two pg_num
    pool 'rbd' pg_num 10 is not a power of two
../qa/workunits/cephtool/../../standalone/ceph-helpers.sh:1613: wait_for_health:  return 1

the failure was found when testing test_mon_pg().

this behavior was introduced by 6e46b1c0e50ad377d5db058e0452b0d956b3fad6

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh