]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rest: use unique pool names for cephfs test 13188/head
authorSage Weil <sage@redhat.com>
Mon, 30 Jan 2017 16:14:31 +0000 (11:14 -0500)
committerSage Weil <sage@redhat.com>
Mon, 30 Jan 2017 16:14:31 +0000 (11:14 -0500)
Using cephfs_[meta]data collides with the pools that teuthology
already creates if an mds is defined.

This became a (noticeable) problem with 052c3d3f681017d56b5b0ee5cf6f65bffc952a4c

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/rest/test.py

index 7f10c9cf66853961fe18f0c5b01287693918ec6b..b63bbc50b641b3d24073ef9654f62923fcbb06a9 100755 (executable)
@@ -171,9 +171,9 @@ if __name__ == '__main__':
     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=mycephfs&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']