]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: cephtool/test.sh wait_for_clean after PG (re)mapping 4816/head
authorLoic Dachary <ldachary@redhat.com>
Sun, 31 May 2015 13:18:35 +0000 (15:18 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sun, 31 May 2015 23:13:44 +0000 (01:13 +0200)
commit7e2a7a8685235ffe409c4f7df1e60d39597b6f08
tree5095bd224f36f933e77a0f97d0b2b2328c0d3b15
parentf6e400058998e41317f97af3992ffb7b9866ce47
tests: cephtool/test.sh wait_for_clean after PG (re)mapping

A get/set command may fail with

   Error EBUSY: currently creating pgs, wait

if issued before the PGs are clean. Call wait_for_clean after the pool
is created or a pool setting is changed and remaps the PGs it
contains (size, pg_num...) to ensure the PGs are clean and the set/get
command that follow will succeed.

http://tracker.ceph.com/issues/11624 Fixes: #11624

Signed-off-by: Loic Dachary <ldachary@redhat.com>
qa/workunits/cephtool/test.sh