]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Yehuda Sadeh [Wed, 9 Dec 2015 21:55:21 +0000 (13:55 -0800)]
test/rgw: initial work on multi site test framework
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 5 Dec 2015 19:17:28 +0000 (11:17 -0800)]
rgw: option to set realm, zonegroup, zone as default
when modifying / creating the entity. This is in addition to the explicit
command.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 5 Dec 2015 05:57:24 +0000 (21:57 -0800)]
rgw: fix period pull of first epoch
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 5 Dec 2015 00:26:16 +0000 (16:26 -0800)]
rgw: http client lock related fix
need to call _finish_request() under the lock.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 5 Dec 2015 00:16:14 +0000 (16:16 -0800)]
rgw: more log info on realm reloading
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 22:36:14 +0000 (14:36 -0800)]
rgw: bucket sync, don't drain_all() before shutting down lease cr
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 21:52:24 +0000 (13:52 -0800)]
rgw: switch to local zonegroup config if zone is not found
We might be just creating a zone that is not in the period config yet,
if we can't find it in period config switch to using the local zonegroup
config.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 21:26:12 +0000 (13:26 -0800)]
rgw: make realm pull a raw storage operation
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 21:14:00 +0000 (13:14 -0800)]
rgw: adding more reflection where needed
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 19:50:57 +0000 (11:50 -0800)]
rgw: rearrange zonegroup and zone initialization
move into helpers, don't keep distinct structures for zonegroup local and period
zonegroup, we end up using the one we configured anyway.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 01:02:16 +0000 (17:02 -0800)]
rgw: report error
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 05:19:25 +0000 (21:19 -0800)]
rgw: reflect period when setting as current period
reflect period into local objects when setting it as current.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 03:44:24 +0000 (19:44 -0800)]
rgw: realm pull also pulls period
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 4 Dec 2015 00:46:05 +0000 (16:46 -0800)]
rgw: data shard sync locking
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Dec 2015 22:42:17 +0000 (14:42 -0800)]
rgw: take a lease before syncing bucket shard
This is needed for having multiple rgws running on the same zone
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Dec 2015 20:07:44 +0000 (12:07 -0800)]
rgw: merge related fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Dec 2015 19:02:44 +0000 (11:02 -0800)]
rgw: update bucket index marker before skipping entries
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 3 Dec 2015 03:01:29 +0000 (19:01 -0800)]
rgw: fix data sync notification
should send zone id, not zone name
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 2 Dec 2015 23:14:45 +0000 (15:14 -0800)]
rgw: remove incorrect conn assignment
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 2 Dec 2015 22:13:33 +0000 (14:13 -0800)]
rgw: incremental sync, skip non-complete entries early
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 1 Dec 2015 21:35:15 +0000 (13:35 -0800)]
rgw: forward bucket creation removal if it's not meta master
We can be in the master zonegroup, but not the meta master -- in which case
we still need to forward the request to the master.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 1 Dec 2015 21:27:20 +0000 (13:27 -0800)]
rgw: data sync, don't yield when spawning
this enables us to filter out duplicate keys without worrying about races, since
spawned crs will only be executed once we yield.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 25 Nov 2015 05:09:04 +0000 (21:09 -0800)]
rgw: keep track of how busy a cr stack is
this can give indication about crs that aren't structured correctly.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 25 Nov 2015 05:08:13 +0000 (21:08 -0800)]
rgw: avoid unneeded yield
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Thu, 3 Dec 2015 18:12:38 +0000 (19:12 +0100)]
rgw: fix setting of rgw_zonegroup from rgw_region
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 2 Dec 2015 09:52:19 +0000 (10:52 +0100)]
radosgw-admin: clean backward support for region in the cli
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 2 Dec 2015 09:47:47 +0000 (10:47 +0100)]
rgw: use zonegroup id for location constrain
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 1 Dec 2015 08:04:06 +0000 (09:04 +0100)]
radosgw-admin: zone set add a check for zone name in json
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 16 Nov 2015 11:32:19 +0000 (12:32 +0100)]
rgw: create a unique zone pool names
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Wed, 25 Nov 2015 04:20:35 +0000 (20:20 -0800)]
rgw: don't spawn multiple concurrent object sync for same object
Either mark the current running operation to retry, or wait for it to finish
(if it's not doing the same operation).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 24 Nov 2015 23:10:22 +0000 (15:10 -0800)]
rgw: fix call to index_key_to_marker()
was passing variables in the wrong order
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 24 Nov 2015 20:05:43 +0000 (12:05 -0800)]
rgw: cancel index operation if delete got ENOENT
Should mark the operation as canceled, so that sync followers don't try to
apply it.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 24 Nov 2015 18:48:40 +0000 (10:48 -0800)]
rgw: rework set_description(), set_status()
make it easier to construct description, status info
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 24 Nov 2015 18:48:16 +0000 (10:48 -0800)]
rgw: data sync, only use complete log entries
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 24 Nov 2015 03:48:38 +0000 (19:48 -0800)]
rgw: more coroutines annotation
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 24 Nov 2015 03:34:18 +0000 (19:34 -0800)]
rgw: start annotating coroutines status and description
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 23 Nov 2015 22:38:18 +0000 (14:38 -0800)]
rgw: remove sync reporting
will use the cr reporting framework instead
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 23 Nov 2015 22:28:49 +0000 (14:28 -0800)]
rgw: keep status and history in coroutine
will replace the report container stuff
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 23 Nov 2015 20:17:53 +0000 (12:17 -0800)]
rgw: remove run context when finished running
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 23 Nov 2015 20:09:49 +0000 (12:09 -0800)]
rgw: track all stacks, not just scheduled
And don't expand spawned stacks out of existing cr. This flattens the
admin socket output.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Mon, 23 Nov 2015 15:39:39 +0000 (10:39 -0500)]
rgw: more on fix for g_ceph_context shutdown
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Mon, 23 Nov 2015 11:01:20 +0000 (12:01 +0100)]
rgw: handle the case of non exisiting zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 23 Nov 2015 08:23:48 +0000 (09:23 +0100)]
radosgw-admin: allow region use for backward compatability
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Sat, 21 Nov 2015 04:03:05 +0000 (20:03 -0800)]
rgw: admin socket related fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 20 Nov 2015 23:06:43 +0000 (15:06 -0800)]
rgw: hook cr managers to admin socket
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 20 Nov 2015 19:58:18 +0000 (11:58 -0800)]
rgw: add locking to coroutines reporting
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 20 Nov 2015 19:26:50 +0000 (11:26 -0800)]
rgw: start moving report into coroutines
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 20 Nov 2015 03:38:10 +0000 (19:38 -0800)]
rgw: more metadata sync reporting
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 20 Nov 2015 02:53:27 +0000 (18:53 -0800)]
rgw: start hooking sync report
also multiple fixes around the report tool
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 19 Nov 2015 19:00:55 +0000 (11:00 -0800)]
rgw: framework for per-rgw sync status reporting
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 19 Nov 2015 18:59:30 +0000 (10:59 -0800)]
ceph_json: add deque encode/decode
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Fri, 20 Nov 2015 15:16:43 +0000 (16:16 +0100)]
radosgw-admin: replace region with zonegroup in the help file
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Wed, 18 Nov 2015 18:37:24 +0000 (13:37 -0500)]
rgw: fix assert on shutdown by keeping g_ceph_context around longer
RGWRealmWatcher and friends are on the stack in main(), so we can't drop
the last ref on g_ceph_context until their destructors have fired. use a
boost::intrusive_ptr to claim g_ceph_context's initial ref so that its
destructor fires last
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Wed, 18 Nov 2015 11:56:37 +0000 (12:56 +0100)]
rgw: remove epoch and duplicates from list_periods
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 18 Nov 2015 11:55:39 +0000 (12:55 +0100)]
rgw: fix compilation error in RGWPeriodPusher::handle_notify
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 17 Nov 2015 13:10:33 +0000 (14:10 +0100)]
rgw: fix compilation error on i386
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Tue, 17 Nov 2015 00:23:47 +0000 (16:23 -0800)]
rgw: call drain_all() before returning from some crs
spawned crs are still using marker_tracker, need to drain_all() as
we destroy it in the destructor.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 17 Nov 2015 00:22:17 +0000 (16:22 -0800)]
rgw: allocate a larger buffer for full sync omap oid
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 10 Nov 2015 21:06:41 +0000 (16:06 -0500)]
rgw: register RGWPeriodPusher with RGWRealmWatcher
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 9 Oct 2015 16:15:05 +0000 (12:15 -0400)]
rgw: RGWPeriodPusher shares periods between zones/groups
RGWPeriodPusher implements the RGWRealmWatcher interface to get
notifications for new periods. when it discovers that it needs to push
a period to other zones, it spawns a thread to send them (and keep
retrying) until all of those zones successfully acknowledge the period
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 6 Oct 2015 21:12:14 +0000 (17:12 -0400)]
rgw: RGWRealmWatcher supports multiple watch types
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 6 Nov 2015 13:33:17 +0000 (08:33 -0500)]
rgw: rename RGWRealmReloader::FrontendPauser to Pauser
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 9 Nov 2015 16:21:49 +0000 (11:21 -0500)]
rgw: period push succeeds even if it isn't a new period
when pushing periods between zones, we need a successful result to
signal that we can stop sending the period
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 7 Oct 2015 16:16:22 +0000 (12:16 -0400)]
rgw: refactor reconfigure out of RGWRealmWatcher
add a RGWRealmReloader class to handle reconfiguration, and use a
Watcher interface to get notifications from RGWRealmWatcher
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 7 Oct 2015 16:08:02 +0000 (12:08 -0400)]
rgw: keep Context for reconfig timer cancellation
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 30 Oct 2015 20:37:43 +0000 (16:37 -0400)]
rgw: add RGWRealm::notify_new_period()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 2 Nov 2015 21:01:32 +0000 (16:01 -0500)]
rgw: fix typo in RGWPeriod::update
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 2 Nov 2015 21:00:33 +0000 (16:00 -0500)]
rgw: fix for decode of ZoneGroup id
Signed-off-by: Casey Bodley <cbodley@redhat.com>