Actions
Bug #20212
closedtest_fs_new failure on race between pool creation and appearance in `df`
% Done:
0%
Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
qa-suite
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2017-06-06T13:39:41.236 INFO:tasks.cephfs_test_runner:====================================================================== 2017-06-06T13:39:41.236 INFO:tasks.cephfs_test_runner:ERROR: test_fs_new (tasks.cephfs.test_misc.TestMisc) 2017-06-06T13:39:41.236 INFO:tasks.cephfs_test_runner:---------------------------------------------------------------------- 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner:Traceback (most recent call last): 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-jcsp-testing-20170604/qa/tasks/cephfs/test_misc.py", line 69, in test_fs_new 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: timeout=timeout) 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-jcsp-testing-20170604/qa/tasks/ceph_test_case.py", line 135, in wait_until_true 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: if condition(): 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-jcsp-testing-20170604/qa/tasks/cephfs/test_misc.py", line 68, in <lambda> 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: lambda: get_pool_df(self.fs.metadata_pool_name)['objects'] > 0, 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-jcsp-testing-20170604/qa/tasks/cephfs/filesystem.py", line 567, in get_pool_df 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner: raise RuntimeError("Pool name '{0}' not found".format(pool_name)) 2017-06-06T13:39:41.237 INFO:tasks.cephfs_test_runner:RuntimeError: Pool name 'cephfs_metadata' not found
I expect this is due to the PG stuff moving into mgr and therefore lagging a bit between creating the pool and the pool appearing in the PG stats.
We can update our test to wait for the pool to appear in df before trying to check its usage in this test.
Actions