Casey Bodley
2217c0f018
qa/rgw: radosgw_admin_rest.py uses /admin/user?list for user listing
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-30 12:22:23 -05:00
Casey Bodley
abfefe5f27
qa/rgw: fix invalid syntax error in radosgw_admin_rest.py
...
Fixes: http://tracker.ceph.com/issues/37440
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-28 10:53:23 -05:00
Casey Bodley
b54b1db0f4
Merge pull request #25073 from oshynsong/master
...
rgw: add list user admin OP API
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-27 09:08:01 -05:00
songshuangyang
b7580932c0
rgw: add list user admin OP API unit tests
...
Signed-off-by: Oshyn Song <dualyangsong@gmail.com>
2018-11-21 20:39:37 +08:00
Volker Theile
9440776f06
rgw: Return tenant field in bucket_stats function
...
Fixes: https://tracker.ceph.com/issues/36681
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-11-02 13:26:10 +01:00
Casey Bodley
ce45875d80
Merge pull request #23145 from cbodley/wip-qa-rgw-admin-rest
...
qa/rgw: add radosgw-admin-rest task to singleton suite
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-08-01 13:52:40 -04:00
Casey Bodley
b696c8493c
qa/rgw: fix 'policy show' tests in radosgw_admin_rest task
...
'policy show' returns a json-encoded representation of
RGWAccessControlPolicy, while key.get_xml_acl() returns
RGWAccessControlPolicy_S3 encoded as xml. so even with '&format=xml',
the strings won't match
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:48 -04:00
Casey Bodley
638fa1de42
qa/rgw: add bucket-id param to 'bucket link' admin api test
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:47 -04:00
Casey Bodley
3b795cc2c3
qa/rgw: radosgw_admin_rest task tolerates empty responses
...
result.json() throws a 'JSONDecodeError: Expecting value: line 1 column 1'
for requests that return no body, such as 'user rm' 'key rm' 'subuser
rm', 'bucket unlink', etc
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:47 -04:00
Casey Bodley
975f34f2f6
qa/rgw: radosgw_admin_rest task uses rgw.role_endpoints for connections
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:47 -04:00
Casey Bodley
2f37710ce7
qa/rgw: radosgw_admin_rest task uses util.rgw.rgwadmin()
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:47 -04:00
yuliyang
30bd588300
qa: add test for https://github.com/ceph/ceph/pull/22790
...
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2018-07-20 22:22:37 +08:00
Volker Theile
c6792a8be2
rgw: Do not modify email if argument is not set
...
The RGW Admin OPS API overwrites the users email either it is not set via argument, e.g. when executing /{admin}/user?uid=test5&suspended=true.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-05-16 15:49:57 +02:00
Sage Weil
c01f2ee0e2
move ceph-qa-suite dirs into qa/
2016-12-14 11:29:55 -06:00