Skip to content

Commit

Permalink
qa/workunits/rest: use unique pool names for cephfs test
Browse files Browse the repository at this point in the history
Using cephfs_[meta]data collides with the pools that teuthology
already creates if an mds is defined.

This became a (noticeable) problem with 052c3d3

Signed-off-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Jan 30, 2017
1 parent e690a1a commit e36fb5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qa/workunits/rest/test.py
Expand Up @@ -171,9 +171,9 @@ def expect_nofail(url, method, respcode, contenttype, extra_hdrs=None,
assert(r.tree.find('output/mdsmap/created') is not None)

expect('fs/flag/set?flag_name=enable_multiple&val=true', 'PUT', 200, '')
expect('osd/pool/create?pg_num=1&pool=cephfs_metadata', 'PUT', 200, '')
expect('osd/pool/create?pg_num=1&pool=cephfs_data', 'PUT', 200, '')
expect('fs/new?fs_name=cephfs&metadata=cephfs_metadata&data=cephfs_data', 'PUT', 200, '')
expect('osd/pool/create?pg_num=1&pool=my_cephfs_metadata', 'PUT', 200, '')
expect('osd/pool/create?pg_num=1&pool=my_cephfs_data', 'PUT', 200, '')
expect('fs/new?fs_name=cephfs&metadata=my_cephfs_metadata&data=my_cephfs_data', 'PUT', 200, '')
expect('osd/pool/create?pool=data2&pg_num=10', 'PUT', 200, '')
r = expect('osd/dump', 'GET', 200, 'json', JSONHDR)
pools = r.myjson['output']['pools']
Expand Down

0 comments on commit e36fb5f

Please sign in to comment.