]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agorgw: add drain_all() after collect() in sync crs
Casey Bodley [Mon, 25 Jan 2016 22:23:02 +0000 (17:23 -0500)]
rgw: add drain_all() after collect() in sync crs

this fixes a segfault caused by parent stacks completing while there are
child stacks outstanding

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: adjust interfaces following rebase
Yehuda Sadeh [Thu, 11 Feb 2016 23:35:30 +0000 (15:35 -0800)]
rgw: adjust interfaces following rebase

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: more error handling
Yehuda Sadeh [Tue, 9 Feb 2016 17:54:37 +0000 (09:54 -0800)]
rgw: more error handling

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fail when trying to commit period if no master zone configured
Yehuda Sadeh [Wed, 3 Feb 2016 20:29:08 +0000 (12:29 -0800)]
rgw: fail when trying to commit period if no master zone configured

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: add error_logger to sync env
Yehuda Sadeh [Tue, 26 Jan 2016 00:57:48 +0000 (16:57 -0800)]
rgw: add error_logger to sync env

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: data sync env cleanup
Yehuda Sadeh [Mon, 25 Jan 2016 23:58:36 +0000 (15:58 -0800)]
rgw: data sync env cleanup

pass RGWDataSyncEnv container object instead of passing around multiple
params. (incomplete)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: add a timelog add operation cr
Yehuda Sadeh [Fri, 15 Jan 2016 19:50:39 +0000 (11:50 -0800)]
rgw: add a timelog add operation cr

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: replace #warning with a comment
Yehuda Sadeh [Fri, 15 Jan 2016 18:53:38 +0000 (10:53 -0800)]
rgw: replace #warning with a comment

not going to fix it now

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix do_curl_wait() if curl_multi_wait() not defined
Yehuda Sadeh [Fri, 15 Jan 2016 18:39:09 +0000 (10:39 -0800)]
rgw: fix do_curl_wait() if curl_multi_wait() not defined

needed for older systems

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix create_default to handle EEXIST
Orit Wasserman [Wed, 20 Jan 2016 21:07:13 +0000 (22:07 +0100)]
rgw: fix create_default to handle EEXIST

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: metadata and data sync share RGWAsyncRadosProcessor
Casey Bodley [Tue, 5 Jan 2016 18:30:48 +0000 (13:30 -0500)]
rgw: metadata and data sync share RGWAsyncRadosProcessor

each RGWAsyncRadosProcessor creates 32 worker threads by default, so we
should only create one instance and share it between callers

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: fix RGWSystemMetaObj::init to handle perdefined name correctly
Orit Wasserman [Tue, 19 Jan 2016 14:09:35 +0000 (15:09 +0100)]
rgw: fix RGWSystemMetaObj::init to handle perdefined name correctly

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: add error messages to realm::create
Orit Wasserman [Mon, 18 Jan 2016 12:28:14 +0000 (13:28 +0100)]
rgw: add error messages to realm::create

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: realm pull should not fail if the realm exists
Orit Wasserman [Mon, 18 Jan 2016 12:17:57 +0000 (13:17 +0100)]
radosgw-admin: realm pull should not fail if the realm exists

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: use exclusive flag for store_name in RGWSystemMetaObj::create
Orit Wasserman [Fri, 15 Jan 2016 20:50:00 +0000 (21:50 +0100)]
rgw: use exclusive flag for store_name in RGWSystemMetaObj::create

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: hold reference to req_completion while calling aio_operate()
Yehuda Sadeh [Thu, 14 Jan 2016 00:40:22 +0000 (16:40 -0800)]
rgw: hold reference to req_completion while calling aio_operate()

This is a workaround to fix issue with aio_operate() racing with the
request completion. This way we make sure completion->release() is
called after aio_operate() finishes.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: link_pending_requests() fixes
Yehuda Sadeh [Thu, 14 Jan 2016 00:36:21 +0000 (16:36 -0800)]
rgw: link_pending_requests() fixes

set aside the list of reqs we need to finish, and only then iterate
through that list and finish. Otherwise we corrupt the reqs map. Also
clear reqs map on shutdown so that we don't end up clearing it twice
in certain cases.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: more of dropping async ops reference
Yehuda Sadeh [Thu, 14 Jan 2016 00:35:26 +0000 (16:35 -0800)]
rgw: more of dropping async ops reference

instead of deleting. This was missing from a previous commit.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix a typo
Yehuda Sadeh [Wed, 13 Jan 2016 19:27:34 +0000 (11:27 -0800)]
rgw: fix a typo

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: in create_default read zone_params in case we raced with another
Orit Wasserman [Wed, 13 Jan 2016 12:55:54 +0000 (13:55 +0100)]
rgw: in create_default read zone_params in case we raced with another

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: add missing break in key rm command
Orit Wasserman [Wed, 13 Jan 2016 11:29:53 +0000 (12:29 +0100)]
radosgw-admin: add missing break in key rm command

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fix a few more leaks
Yehuda Sadeh [Wed, 13 Jan 2016 02:20:32 +0000 (18:20 -0800)]
rgw: fix a few more leaks

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: safe disposal of async processors
Yehuda Sadeh [Wed, 13 Jan 2016 02:17:41 +0000 (18:17 -0800)]
rgw: safe disposal of async processors

the async processor might out its container cr, need to refcount.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: shorten name of RGWAsyncRadosProcessor thread pool
Casey Bodley [Tue, 12 Jan 2016 20:26:20 +0000 (15:26 -0500)]
rgw: shorten name of RGWAsyncRadosProcessor thread pool

threads now call pthread_setname_np(), and have to enforce a
16-character limit on the names. this fixes the assertion:

ceph/src/common/Thread.cc: 156: FAILED assert(strlen(name) < 16)

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: stop meta sync handler when going down
Yehuda Sadeh [Tue, 12 Jan 2016 01:09:29 +0000 (17:09 -0800)]
rgw: stop meta sync handler when going down

it needed to check internally whether it was going down

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: more leak fixes
Yehuda Sadeh [Sat, 9 Jan 2016 00:02:37 +0000 (16:02 -0800)]
rgw: more leak fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: minor cleanup
Yehuda Sadeh [Fri, 8 Jan 2016 21:58:56 +0000 (13:58 -0800)]
rgw: minor cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: reorder RGWRados shutdown
Yehuda Sadeh [Fri, 8 Jan 2016 21:58:20 +0000 (13:58 -0800)]
rgw: reorder RGWRados shutdown

dependency order fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: clear stack ops when unwinding last op
Yehuda Sadeh [Fri, 8 Jan 2016 19:57:05 +0000 (11:57 -0800)]
rgw: clear stack ops when unwinding last op

So that we don't drop the last one's reference twice

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: more leak fixes
Yehuda Sadeh [Fri, 8 Jan 2016 00:17:12 +0000 (16:17 -0800)]
rgw: more leak fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix a few leaks
Yehuda Sadeh [Thu, 7 Jan 2016 23:08:13 +0000 (15:08 -0800)]
rgw: fix a few leaks

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: forward meta changes to master
Yehuda Sadeh [Thu, 7 Jan 2016 22:16:27 +0000 (14:16 -0800)]
rgw: forward meta changes to master

(initial work)

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: update datalog also when unlinking object instance
Yehuda Sadeh [Thu, 7 Jan 2016 00:25:49 +0000 (16:25 -0800)]
rgw: update datalog also when unlinking object instance

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorocksdb: set to master
Orit Wasserman [Mon, 11 Jan 2016 15:14:00 +0000 (16:14 +0100)]
rocksdb: set to master

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: 'period push' handler uses RGWPeriodHistory
Casey Bodley [Thu, 17 Dec 2015 21:03:43 +0000 (16:03 -0500)]
rgw: 'period push' handler uses RGWPeriodHistory

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: add period history and puller to RGWRados
Casey Bodley [Thu, 17 Dec 2015 21:02:53 +0000 (16:02 -0500)]
rgw: add period history and puller to RGWRados

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: add RGWPeriodPuller for RGWPeriodHistory
Casey Bodley [Thu, 17 Dec 2015 15:29:00 +0000 (10:29 -0500)]
rgw: add RGWPeriodPuller for RGWPeriodHistory

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: add exclusive param to RGWPeriod::set_latest_epoch
Casey Bodley [Thu, 7 Jan 2016 06:33:16 +0000 (01:33 -0500)]
rgw: add exclusive param to RGWPeriod::set_latest_epoch

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: split RGWPeriod::reflect out of set_latest_epoch
Casey Bodley [Thu, 7 Jan 2016 21:32:28 +0000 (16:32 -0500)]
rgw: split RGWPeriod::reflect out of set_latest_epoch

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: RGWPeriodHistory to track period history
Casey Bodley [Fri, 11 Dec 2015 21:24:34 +0000 (16:24 -0500)]
rgw: RGWPeriodHistory to track period history

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: fix documentation of RGWRealmWatcher
Casey Bodley [Fri, 11 Dec 2015 21:53:16 +0000 (16:53 -0500)]
rgw: fix documentation of RGWRealmWatcher

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: use realm epoch to choose most recent period to push
Casey Bodley [Tue, 8 Dec 2015 16:10:14 +0000 (11:10 -0500)]
rgw: use realm epoch to choose most recent period to push

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: add realm epoch to RGWRealm and RGWPeriod
Casey Bodley [Mon, 7 Dec 2015 15:00:27 +0000 (10:00 -0500)]
rgw: add realm epoch to RGWRealm and RGWPeriod

RGWRealm::epoch is incremented on each new period, and
RGWPeriod::realm_epoch tracks the realm epoch when it was created

this makes it easy to determine whether a given period comes before or
after another period, which is needed to build a view of the period
history.  it also makes it easy to detect forks in the period history,
where two different periods share the same realm_epoch

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: RGWRealm::set_current_period takes RGWPeriod
Casey Bodley [Fri, 4 Dec 2015 22:07:22 +0000 (17:07 -0500)]
rgw: RGWRealm::set_current_period takes RGWPeriod

set_current_period() doesn't need to set the predecessor;
RGWPeriod::commit() takes care of that

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: start pushing current period on startup
Casey Bodley [Tue, 8 Dec 2015 16:10:49 +0000 (11:10 -0500)]
rgw: start pushing current period on startup

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: period commit updates sync status before writing the object
Casey Bodley [Tue, 8 Dec 2015 18:41:19 +0000 (13:41 -0500)]
rgw: period commit updates sync status before writing the object

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: 'realm pull' uses realm's current_period for do_period_pull
Casey Bodley [Mon, 7 Dec 2015 16:30:50 +0000 (11:30 -0500)]
rgw: 'realm pull' uses realm's current_period for do_period_pull

instead of using period_id/period_epoch, which are radosgw-admin
arguments that are unused by 'realm pull', use the period id from
realm.get_current_period() and epoch=0 to get its latest epoch

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: use refrence in read_clear_modified
Orit Wasserman [Fri, 8 Jan 2016 12:51:50 +0000 (13:51 +0100)]
rgw: use refrence in read_clear_modified

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: zonegroup set and zone set should set the realm id
Orit Wasserman [Fri, 8 Jan 2016 11:03:23 +0000 (12:03 +0100)]
radosgw-admin: zonegroup set and zone set should set the realm id

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fix RGWZoneGroup ctor and check period update return code
Orit Wasserman [Fri, 8 Jan 2016 09:13:09 +0000 (10:13 +0100)]
rgw: fix RGWZoneGroup ctor and check period update return code

Add more debug messages

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: init_zg_from_period() fixes
Yehuda Sadeh [Wed, 6 Jan 2016 23:58:49 +0000 (15:58 -0800)]
rgw: init_zg_from_period() fixes

Reported-by: fangchen sun <sunspot0105@gmail.com>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: data sync, handle delete marker removal
Yehuda Sadeh [Wed, 6 Jan 2016 23:43:32 +0000 (15:43 -0800)]
rgw: data sync, handle delete marker removal

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: some debug info
Yehuda Sadeh [Wed, 6 Jan 2016 23:42:52 +0000 (15:42 -0800)]
rgw: some debug info

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: guard versioned object removal from circular sync
Yehuda Sadeh [Wed, 6 Jan 2016 01:01:51 +0000 (17:01 -0800)]
rgw: guard versioned object removal from circular sync

check if marker instance already exists, only apply (and update bi log)
if does not exist. Propagate the versioning flag so that we apply the
appropriate operation on the object.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: handle delete marker when doing incremental data sync
Yehuda Sadeh [Tue, 5 Jan 2016 21:51:34 +0000 (13:51 -0800)]
rgw: handle delete marker when doing incremental data sync

Still need to handle the full sync, and to make sure we apply it
only if-newer (as with the other data sync operations) to avoid
circular sync.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agocls/rgw: log owner, display name when creating delete marker
Yehuda Sadeh [Tue, 5 Jan 2016 21:49:48 +0000 (13:49 -0800)]
cls/rgw: log owner, display name when creating delete marker

In the case of delete marker, we need to log the owner and the owner
display name so that we can create it correctly when syncing to a
different zone. We don't need it in other cases so we don't store it.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agomrgw.sh: modify log file name
Yehuda Sadeh [Tue, 5 Jan 2016 21:49:10 +0000 (13:49 -0800)]
mrgw.sh: modify log file name

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: update datalog when creating delete marker
Yehuda Sadeh [Tue, 5 Jan 2016 02:19:32 +0000 (18:19 -0800)]
rgw: update datalog when creating delete marker

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: set_date_header should use header_name
Orit Wasserman [Tue, 29 Dec 2015 15:16:48 +0000 (16:16 +0100)]
rgw: set_date_header should use header_name

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: add mdlog and datalog status to help.t
Orit Wasserman [Mon, 28 Dec 2015 17:13:46 +0000 (18:13 +0100)]
radosgw-admin: add mdlog and datalog status to help.t

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fetch remote obj depends on zone id and pg ver
Yehuda Sadeh [Thu, 24 Dec 2015 00:47:20 +0000 (16:47 -0800)]
rgw: fetch remote obj depends on zone id and pg ver

This provides a consistent objects view on zones when changes happen on
the same objects at the same time. The zone id and pg ver are used for break
even decisions when mtime is equal.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: keep source zone attr on head object
Yehuda Sadeh [Wed, 23 Dec 2015 23:28:58 +0000 (15:28 -0800)]
rgw: keep source zone attr on head object

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: create a short (32bit) zone id, keep it on the period map
Yehuda Sadeh [Wed, 23 Dec 2015 22:21:31 +0000 (14:21 -0800)]
rgw: create a short (32bit) zone id, keep it on the period map

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: keep pg ver on obj state, and send it in HEAD request
Yehuda Sadeh [Wed, 23 Dec 2015 19:43:22 +0000 (11:43 -0800)]
rgw: keep pg ver on obj state, and send it in HEAD request

send it in HEAD request if it was done by the system user

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: store obj pg version in the object's head
Yehuda Sadeh [Wed, 23 Dec 2015 18:38:57 +0000 (10:38 -0800)]
rgw: store obj pg version in the object's head

this is done atomically when object is written, will allow us
to determine whether object is newer or not.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest-rgw-call.sh: add missing file
Yehuda Sadeh [Wed, 23 Dec 2015 16:35:07 +0000 (08:35 -0800)]
test-rgw-call.sh: add missing file

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: data sync, update high marker when skipping duplicate sync entries
Yehuda Sadeh [Wed, 23 Dec 2015 00:09:45 +0000 (16:09 -0800)]
rgw: data sync, update high marker when skipping duplicate sync entries

Need to update the high marker when skipping an entry, so that when the processing
entry finishes we set the markers correctly.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw/test_multi.py: add log level for saner output
Yehuda Sadeh [Tue, 22 Dec 2015 21:32:56 +0000 (13:32 -0800)]
rgw/test_multi.py: add log level for saner output

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw/test_multi.py: meta checkpoint uses zones, not clusters
Yehuda Sadeh [Tue, 22 Dec 2015 21:09:47 +0000 (13:09 -0800)]
rgw/test_multi.py: meta checkpoint uses zones, not clusters

The unit we need to care about is the zone, not the cluster

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw/test_multy.py: improve test_object_sync
Yehuda Sadeh [Tue, 22 Dec 2015 20:56:11 +0000 (12:56 -0800)]
rgw/test_multy.py: improve test_object_sync

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: clear 'null' object instance when fetching remote obj
Yehuda Sadeh [Tue, 22 Dec 2015 00:17:56 +0000 (16:17 -0800)]
rgw: clear 'null' object instance when fetching remote obj

otherwise the objclass code will handle it as a versioned object

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi: buckets and objects comparison
Yehuda Sadeh [Mon, 21 Dec 2015 23:43:31 +0000 (15:43 -0800)]
test_multi: buckets and objects comparison

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi: test object sync
Yehuda Sadeh [Mon, 21 Dec 2015 21:05:39 +0000 (13:05 -0800)]
test_multi: test object sync

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw-admin: add datalog status command
Yehuda Sadeh [Sat, 19 Dec 2015 00:15:08 +0000 (16:15 -0800)]
rgw-admin: add datalog status command

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: meta sync can remove entries
Yehuda Sadeh [Fri, 18 Dec 2015 23:56:09 +0000 (15:56 -0800)]
rgw: meta sync can remove entries

and also skip non complete entries

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: clone mdlog updates marker in any case
Yehuda Sadeh [Fri, 18 Dec 2015 23:55:50 +0000 (15:55 -0800)]
rgw: clone mdlog updates marker in any case

Need to set the new_marker even if no new entries fetched.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi: add more bucket related tests
Yehuda Sadeh [Fri, 18 Dec 2015 22:07:58 +0000 (14:07 -0800)]
test_multi: add more bucket related tests

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: meta sync, handle ENOENT, ECANCELED
Yehuda Sadeh [Fri, 18 Dec 2015 01:19:06 +0000 (17:19 -0800)]
rgw: meta sync, handle ENOENT, ECANCELED

retry when canceled, continue when entry does not exist.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: test_multi: start radosgw with debug logs, asok
Yehuda Sadeh [Thu, 17 Dec 2015 22:53:03 +0000 (14:53 -0800)]
rgw: test_multi: start radosgw with debug logs, asok

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotests_multi.py: test bucket creation, fix meta checkpoint
Yehuda Sadeh [Thu, 17 Dec 2015 22:32:20 +0000 (14:32 -0800)]
tests_multi.py: test bucket creation, fix meta checkpoint

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi.py: can run through python nose
Yehuda Sadeh [Thu, 17 Dec 2015 20:41:20 +0000 (12:41 -0800)]
test_multi.py: can run through python nose

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi.py: generate boto connection per zone
Yehuda Sadeh [Thu, 17 Dec 2015 01:21:49 +0000 (17:21 -0800)]
test_multi.py: generate boto connection per zone

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi.py: create a test user
Yehuda Sadeh [Thu, 17 Dec 2015 00:56:57 +0000 (16:56 -0800)]
test_multi.py: create a test user

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_python.py: call radosgw-admin with cache disabled where applicable
Yehuda Sadeh [Wed, 16 Dec 2015 23:01:21 +0000 (15:01 -0800)]
test_python.py: call radosgw-admin with cache disabled where applicable

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi.py: move meta checkpoint inside, add configurables
Yehuda Sadeh [Wed, 16 Dec 2015 20:38:14 +0000 (12:38 -0800)]
test_multi.py: move meta checkpoint inside, add configurables

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi.py: generate random key
Yehuda Sadeh [Wed, 16 Dec 2015 00:55:08 +0000 (16:55 -0800)]
test_multi.py: generate random key

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi.py: wait for meta sync
Yehuda Sadeh [Wed, 16 Dec 2015 00:39:47 +0000 (16:39 -0800)]
test_multi.py: wait for meta sync

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest_multi.py: finer control for bringing up system
Yehuda Sadeh [Wed, 16 Dec 2015 00:00:12 +0000 (16:00 -0800)]
test_multi.py: finer control for bringing up system

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest/rgw: more test work
Yehuda Sadeh [Fri, 11 Dec 2015 00:22:21 +0000 (16:22 -0800)]
test/rgw: more test work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoradosgw-admin: fix help.t
Orit Wasserman [Wed, 16 Dec 2015 08:50:02 +0000 (09:50 +0100)]
radosgw-admin: fix help.t

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: remove error message from read_default
Orit Wasserman [Fri, 11 Dec 2015 09:55:51 +0000 (10:55 +0100)]
rgw: remove error message from read_default

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: zone list should print default zone
Orit Wasserman [Wed, 9 Dec 2015 10:36:39 +0000 (11:36 +0100)]
radosgw-admin: zone list should print default zone

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: default zone per realm
Orit Wasserman [Wed, 9 Dec 2015 10:19:58 +0000 (11:19 +0100)]
rgw: default zone per realm

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: default zonegroup per realm
Orit Wasserman [Wed, 9 Dec 2015 10:02:13 +0000 (11:02 +0100)]
rgw: default zonegroup per realm

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: create_default cannot set as default
Orit Wasserman [Tue, 8 Dec 2015 16:13:15 +0000 (17:13 +0100)]
rgw: create_default cannot set as default

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: cleanup remove realm unused master_zonegroup and zonegroups
Orit Wasserman [Tue, 8 Dec 2015 10:26:00 +0000 (11:26 +0100)]
rgw: cleanup remove realm unused master_zonegroup and zonegroups

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: use realm current period master_zonegroup as remote for period pull
Orit Wasserman [Tue, 8 Dec 2015 10:09:56 +0000 (11:09 +0100)]
radosgw-admin: use realm current period master_zonegroup as remote for period pull

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agotest/rgw: wait for metadata sync
Yehuda Sadeh [Thu, 10 Dec 2015 00:52:36 +0000 (16:52 -0800)]
test/rgw: wait for metadata sync

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw-admin: add mdlog status command
Yehuda Sadeh [Thu, 10 Dec 2015 00:03:06 +0000 (16:03 -0800)]
rgw-admin: add mdlog status command

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agotest/rgw: basic meta sync status test util
Yehuda Sadeh [Wed, 9 Dec 2015 23:29:30 +0000 (15:29 -0800)]
test/rgw: basic meta sync status test util

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>