]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Wed, 21 Oct 2015 23:17:07 +0000 (16:17 -0700)]
rgw: a bit better coroutine related logging
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Oct 2015 21:44:34 +0000 (14:44 -0700)]
rgw: initialize rest connection if no period
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 20 Oct 2015 21:57:52 +0000 (14:57 -0700)]
rgw: multiple init metadata sync locking fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 14:56:53 +0000 (16:56 +0200)]
rgw: backward compatability update_name for existing zones
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 13:01:59 +0000 (15:01 +0200)]
rgw: update new name after converting region to zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 12:58:51 +0000 (14:58 +0200)]
radosgw-admin: fix zone get command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 22 Oct 2015 09:41:21 +0000 (11:41 +0200)]
rgw: use default zone in case there is no period or zone name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 15:19:43 +0000 (17:19 +0200)]
rgw: RGWRados zonegroup and zone_public_config should not be accessed directly
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 14:39:29 +0000 (16:39 +0200)]
rgw: RGWRados internal zone should be protected and not accessed directly
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 14:18:04 +0000 (16:18 +0200)]
rgw: fix RGWSystemMetaObj::init by passing old_format flag
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 21 Oct 2015 09:24:43 +0000 (11:24 +0200)]
rgw: convert regionmap
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 20 Oct 2015 08:19:02 +0000 (10:19 +0200)]
rgw: add support to zonegroupmap set
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 15:16:58 +0000 (17:16 +0200)]
radosgw-admin: zonegroupmap get should no error if no realm or period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 12:37:59 +0000 (14:37 +0200)]
rgw: no need to store or update zonegroupmap
Structure and command will be kept for backward compatability
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 10:45:05 +0000 (12:45 +0200)]
rgw: remove zonegroup_map from RGWRados
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Thu, 1 Oct 2015 17:29:10 +0000 (13:29 -0400)]
cmake: move link dependencies to rgw_a
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Daniel Gryniewicz [Mon, 21 Sep 2015 15:50:45 +0000 (11:50 -0400)]
CMake - add check for libcurl
Signed-off-by: Daniel Gryniewicz <dang@fprintf.net>
Yehuda Sadeh [Mon, 19 Oct 2015 18:11:21 +0000 (11:11 -0700)]
rgw: don't read/init sync status if meta master
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Oct 2015 18:11:14 +0000 (11:11 -0700)]
rgw: fix log message
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Oct 2015 22:48:39 +0000 (15:48 -0700)]
rgw: can set zone read-only, can set zonegroup id
and other fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 10:28:19 +0000 (12:28 +0200)]
rgw: update rest connections from the current period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 10:19:14 +0000 (12:19 +0200)]
rgw: read local zonegroup and zone only when needed
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 09:51:35 +0000 (11:51 +0200)]
rgw: use current_period zonegroup and zone when exists
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 09:23:21 +0000 (11:23 +0200)]
rgw: read current period during init
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 09:06:56 +0000 (11:06 +0200)]
rgw: zonegroup and zone should not be accessed directly
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 19 Oct 2015 08:31:35 +0000 (10:31 +0200)]
rgw: get_predefined_name should get the ceph context
so it can be called before object init
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Fri, 16 Oct 2015 21:52:44 +0000 (14:52 -0700)]
rgw: can override master zone config
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Oct 2015 20:50:22 +0000 (13:50 -0700)]
rgw_admin: update zone set
zone set was broken, now it can update the zone params correctly. Also
inheriting the id from the current zone if exists, or uses the zone
name.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Fri, 16 Oct 2015 11:37:22 +0000 (13:37 +0200)]
radosgw-admin: zone add command should be zonegroup add
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Fri, 16 Oct 2015 10:35:31 +0000 (12:35 +0200)]
rgw: run sync thread only when number of zones > 2 and master is configured
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Fri, 16 Oct 2015 00:12:38 +0000 (17:12 -0700)]
rgw: update master zone
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 15 Oct 2015 23:37:37 +0000 (16:37 -0700)]
rgw: stuff more info into the period
and don't update the current period when adding zone, this
will be done through the staging period.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 15 Oct 2015 22:16:16 +0000 (15:16 -0700)]
rgw_admin: period update command
A command that creates staging period data out of current local data
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 15 Oct 2015 21:29:16 +0000 (14:29 -0700)]
rgw: auto create placement target params
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Thu, 15 Oct 2015 12:19:42 +0000 (14:19 +0200)]
rgw: create default zonegroup for first time run of the gateway
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 15 Oct 2015 08:36:21 +0000 (10:36 +0200)]
rgw: --rgw-zone and --rgw-zonegroup use names not id
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 23:35:28 +0000 (16:35 -0700)]
rgw_admin: can config access/secret key for zone
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 23:24:01 +0000 (16:24 -0700)]
rgw_admin: can set zonegroup api name
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 23:15:50 +0000 (16:15 -0700)]
rgw_admin: can update zonegroup endpoints, is_master
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 22:44:23 +0000 (15:44 -0700)]
rgw: set first created zone as default
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 22:36:39 +0000 (15:36 -0700)]
rgw: prefix default pools with zone name
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 21:54:56 +0000 (14:54 -0700)]
rgw: set first created realm as default
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 21:48:51 +0000 (14:48 -0700)]
rgw: period oid doesn't include realm id
So that realm id is not a dependency for reading period.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 21:33:35 +0000 (14:33 -0700)]
rgw: period get does not require specifying period id
Can return the current period
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 21:32:19 +0000 (14:32 -0700)]
rgw: use --rgw-realm instead of --realm
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 18:37:48 +0000 (11:37 -0700)]
rgw_admin: realm set-default -> realm default
to be in line with the other default commands
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 18:26:16 +0000 (11:26 -0700)]
rgw_admin: zone delete doesn't require zonegroup
iterates through all the zonegroups and remove it
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 18:16:51 +0000 (11:16 -0700)]
rgw_admin: zone name need to be provided on zone create
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 18:02:15 +0000 (11:02 -0700)]
rgw_admin: don't require zonegroup id on some commands
should be able to get the default one
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 17:42:33 +0000 (10:42 -0700)]
rgw: don't use --zonegroup, use --rgw-zonegroup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 17:28:01 +0000 (10:28 -0700)]
rgw_admin: a zone default command, and other changes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 15:45:20 +0000 (08:45 -0700)]
rgw_admin: don't use --zone, use --rgw-zone
--rgw-zone is tied to ceph.conf, and what we've always been using
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 16:42:48 +0000 (18:42 +0200)]
rgw: update zonegroup endpoints when creating it
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 15:37:33 +0000 (17:37 +0200)]
rgw: update zone endpoints when creating a new zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 15:12:56 +0000 (17:12 +0200)]
rgw: update rest_conn_master when adding a new master zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:57:21 +0000 (15:57 +0200)]
radosgw-admin: zone get and rename commands should work without zonegroup id or name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:55:44 +0000 (15:55 +0200)]
radosgw-admin: check for valid input in zone delete command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:54:15 +0000 (15:54 +0200)]
radosgw-admin: check for valid input in zone add command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:53:00 +0000 (15:53 +0200)]
radosgw-admin: check for valid input for zonegroup modify command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:48:45 +0000 (15:48 +0200)]
radosgw-admin: check for legal input for zonegroup default command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:47:19 +0000 (15:47 +0200)]
radosgw-admin: check legal input for zone modify command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:30:22 +0000 (15:30 +0200)]
radosgw-admin: use realm_id from zonegroup if not provided
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:25:45 +0000 (15:25 +0200)]
rgw: fix RGWZone::dump
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 13:00:06 +0000 (15:00 +0200)]
rgw: add zone modify command to change master zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 10:53:50 +0000 (12:53 +0200)]
rgw: add zonegroup modify command to allow setting/clearing zonegroup master status
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 14 Oct 2015 07:39:42 +0000 (09:39 +0200)]
radosgw-admin: fix zonegroup and master usage text
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 13 Oct 2015 12:57:07 +0000 (14:57 +0200)]
rgw: remove is_master flag from zoneparams
make it easier to change master zone
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 13 Oct 2015 12:23:20 +0000 (14:23 +0200)]
rgw: print zone name and id in the begining of the dump
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 13 Oct 2015 12:08:14 +0000 (14:08 +0200)]
radosgw-admin: fix zone create to check for zonegroup name
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 13 Oct 2015 11:36:25 +0000 (13:36 +0200)]
rgw: store latest sync status when activating a period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 13 Oct 2015 10:54:54 +0000 (12:54 +0200)]
rgw: add decode_json method to rgw_meta_sync_status structures
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 13 Oct 2015 10:40:40 +0000 (12:40 +0200)]
rgw: move rgw_meta_sync_status, rgw_meta_sync_marker and rgw_meta_sync_info into a sperate h file
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 13 Oct 2015 10:31:39 +0000 (12:31 +0200)]
rgw: move dump functions into rgw_json_enc.cc
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 00:05:32 +0000 (17:05 -0700)]
rgw: zone config related changes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 14 Oct 2015 00:04:57 +0000 (17:04 -0700)]
rgw: fix compilation
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 13 Oct 2015 23:14:17 +0000 (16:14 -0700)]
rgw: don't try to unregister request on destructor
We already unregister the request earlier, and the locking here
was weird and wrong anyway.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Orit Wasserman [Mon, 12 Oct 2015 09:14:19 +0000 (11:14 +0200)]
rgw: add bucket_quota to RGWRegionMap::encode_json
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 12 Oct 2015 09:12:38 +0000 (11:12 +0200)]
rgw: add period_map to period dump and encode_json
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Mon, 12 Oct 2015 09:08:13 +0000 (11:08 +0200)]
rgw: fix whitespace and remove debug messages
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 18:33:50 +0000 (20:33 +0200)]
rgw: add backward support for old regionmap format
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 24 Sep 2015 10:48:09 +0000 (12:48 +0200)]
rgw: add RGWRegionMap for backward support
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 17:48:13 +0000 (19:48 +0200)]
rgw: remove debug message from decode_zones
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 17:39:39 +0000 (19:39 +0200)]
radosgw-admin: remove extra print from zonegroup set command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 17:31:08 +0000 (19:31 +0200)]
rgw: rgwzone decode_json should handle empty id for backward compatabiltiy
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 15:09:55 +0000 (17:09 +0200)]
rgw: systemmetaobj::create don't generate random id if id is provided
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 14:40:47 +0000 (16:40 +0200)]
radosgw-admin: zone set should handle old format json (without name or id)
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 14:10:10 +0000 (16:10 +0200)]
rgw: add id to RGWZone dump and decode_json functions
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 13:50:13 +0000 (15:50 +0200)]
radosgw-admin: zone create should update zonegroupmap for non standalone zones
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 13:20:34 +0000 (15:20 +0200)]
radosgw-admin: fix zonegroup default
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 13:21:46 +0000 (15:21 +0200)]
radosgw-admin: add --rgw-zonegroup for backward compatability
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 13:15:38 +0000 (15:15 +0200)]
radosgw-admin: zone set command should update zonegroupmap
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 12:26:34 +0000 (14:26 +0200)]
radosgw-admin: realm set should update zonegroup map
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 12:08:44 +0000 (14:08 +0200)]
radosgw-admin: zonegroup set needs to update zonegroupmap
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 11:59:43 +0000 (13:59 +0200)]
radosgw-admin: fix zonegroupmap update
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 11:41:45 +0000 (13:41 +0200)]
rgw: backward compatabilty for zone set command
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 11:06:38 +0000 (13:06 +0200)]
radosgw-admin: add --rgw-zone for backward compatability
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 10:46:05 +0000 (12:46 +0200)]
radosgw-admin: update zonegroupmap when activating a period
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 08:28:32 +0000 (10:28 +0200)]
rgw: fix zonegroupmap initialization in init_complete
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 09:42:10 +0000 (11:42 +0200)]
rgw: use realm provided in the command line
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 23 Sep 2015 08:08:39 +0000 (10:08 +0200)]
radosgw-admin: use the correct realm id when creating a new zonegroup
Signed-off-by: Orit Wasserman <owasserm@redhat.com>