Feature #5605
closedrgw: teuthology tests to check bucket issues in multi region env
0%
Description
Test 2a: test bucket listing on secondary
1. create a bucket on master region
(actually using boto)
$ s3 create buck1
(sync)
2. check if bucket exists on both master and secondary
$ radosgw-admin metadata get --region=master bucket:buck1
$ radosgw-admin metadata get --region=master bucket.instance:buck1:<bucket id>
- verify bucket is linked
- verify owner uid correct
$ radosgw-admin metadata get --region=second bucket:buck1
$ radosgw-admin metadata get --region=second bucket.instance:buck1:<bucket id>
compare both results to master
Test 2b : test bucket removal on secondary
1. create a bucket on master region ( + sync)
2. verify bucket exists on secondary
3. try to remove bucket on secondary (should fail)
4. remove bucket from master (+ sync)
5. verify bucket does not exist on secondary
Test 2c: test bucket rm / recreate at the same sync cycle
1. create a bucket on master region ( + sync) on user1
2. remove bucket, and recreate same bucket on user2
3. sync
4. Check on secondary whether user1 doesn't own the bucket, and user2 does own the bucket
Test 2d: test bucket metadata change
1. create bucket on master ( + sync)
2. verify that bucket metadata on secondary matches master
3. modify bucket metadata on master (e.g., mtime)
radosgw-admin metadata set --rgw-region=master bucket:bucket2d < bucket.md
4. sync, verify bucket metadata on secondary matches
Updated by Ian Colle almost 11 years ago
- Target version set to v0.67rc-continued
Updated by Yehuda Sadeh almost 11 years ago
- Translation missing: en.field_story_points set to 8.00
Updated by Ian Colle over 10 years ago
- Target version changed from v0.67rc-continued to v0.68
Updated by Ian Colle over 10 years ago
- Target version changed from v0.68 to v0.68 - continued
Updated by Anonymous over 10 years ago
- Assignee changed from Yehuda Sadeh to Anonymous
Updated by Anonymous over 10 years ago
- Status changed from In Progress to Resolved
The tests were added to teuthology/task/radosgw-admin.py in commit ff2a209f8d05fd018c0c6709ea70ed5fb1360435
The YAML files were added to ceph-qa-suite in commit 444a0ab15fe399c69061b01eb45b8e34593e2063
These tests have been running successfully for the last several days. Marking this ticket as resolved.
Updated by Anonymous over 10 years ago
The ceph-qa-suite commits were actually c37faa8cf90abe54cba051b045edfe4ab9750bbc
The previous specified commit was from another ticket.