]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoCMake - add check for libcurl
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>
9 years agorgw: don't read/init sync status if meta master
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>
9 years agorgw: fix log message
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>
9 years agorgw: can set zone read-only, can set zonegroup id
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>
9 years agorgw: update rest connections from the current period
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>
9 years agorgw: read local zonegroup and zone only when needed
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>
9 years agorgw: use current_period zonegroup and zone when exists
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>
9 years agorgw: read current period during init
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>
9 years agorgw: zonegroup and zone should not be accessed directly
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>
9 years agorgw: get_predefined_name should get the ceph context
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>
9 years agorgw: can override master zone config
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>
9 years agorgw_admin: update zone set
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>
9 years agoradosgw-admin: zone add command should be zonegroup add
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>
9 years agorgw: run sync thread only when number of zones > 2 and master is configured
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>
9 years agorgw: update master zone
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>
9 years agorgw: stuff more info into the period
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>
9 years agorgw_admin: period update command
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>
9 years agorgw: auto create placement target params
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>
9 years agorgw: create default zonegroup for first time run of the gateway
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>
9 years agorgw: --rgw-zone and --rgw-zonegroup use names not id
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>
9 years agorgw_admin: can config access/secret key for zone
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>
9 years agorgw_admin: can set zonegroup api name
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>
9 years agorgw_admin: can update zonegroup endpoints, is_master
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>
9 years agorgw: set first created zone as default
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>
9 years agorgw: prefix default pools with zone name
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>
9 years agorgw: set first created realm as default
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>
9 years agorgw: period oid doesn't include realm id
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>
9 years agorgw: period get does not require specifying period id
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>
9 years agorgw: use --rgw-realm instead of --realm
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>
9 years agorgw_admin: realm set-default -> realm default
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>
9 years agorgw_admin: zone delete doesn't require zonegroup
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>
9 years agorgw_admin: zone name need to be provided on zone create
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>
9 years agorgw_admin: don't require zonegroup id on some commands
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>
9 years agorgw: don't use --zonegroup, use --rgw-zonegroup
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>
9 years agorgw_admin: a zone default command, and other changes
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>
9 years agorgw_admin: don't use --zone, use --rgw-zone
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>
9 years agorgw: update zonegroup endpoints when creating it
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>
9 years agorgw: update zone endpoints when creating a new zone
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>
9 years agorgw: update rest_conn_master when adding a new master zonegroup
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>
9 years agoradosgw-admin: zone get and rename commands should work without zonegroup id or name
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>
9 years agoradosgw-admin: check for valid input in zone delete command
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>
9 years agoradosgw-admin: check for valid input in zone add command
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>
9 years agoradosgw-admin: check for valid input for zonegroup modify command
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>
9 years agoradosgw-admin: check for legal input for zonegroup default command
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>
9 years agoradosgw-admin: check legal input for zone modify command
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>
9 years agoradosgw-admin: use realm_id from zonegroup if not provided
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>
9 years agorgw: fix RGWZone::dump
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>
9 years agorgw: add zone modify command to change master zone
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>
9 years agorgw: add zonegroup modify command to allow setting/clearing zonegroup master status
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>
9 years agoradosgw-admin: fix zonegroup and master usage text
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>
9 years agorgw: remove is_master flag from zoneparams
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>
9 years agorgw: print zone name and id in the begining of the dump
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>
9 years agoradosgw-admin: fix zone create to check for zonegroup name
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>
9 years agorgw: store latest sync status when activating a period
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>
9 years agorgw: add decode_json method to rgw_meta_sync_status structures
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>
9 years agorgw: move rgw_meta_sync_status, rgw_meta_sync_marker and rgw_meta_sync_info into...
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>
9 years agorgw: move dump functions into rgw_json_enc.cc
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>
9 years agorgw: zone config related changes
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>
9 years agorgw: fix compilation
Yehuda Sadeh [Wed, 14 Oct 2015 00:04:57 +0000 (17:04 -0700)]
rgw: fix compilation

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: don't try to unregister request on destructor
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>
9 years agorgw: add bucket_quota to RGWRegionMap::encode_json
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>
9 years agorgw: add period_map to period dump and encode_json
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>
9 years agorgw: fix whitespace and remove debug messages
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>
9 years agorgw: add backward support for old regionmap format
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>
9 years agorgw: add RGWRegionMap for backward support
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>
9 years agorgw: remove debug message from decode_zones
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>
9 years agoradosgw-admin: remove extra print from zonegroup set command
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>
9 years agorgw: rgwzone decode_json should handle empty id for backward compatabiltiy
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>
9 years agorgw: systemmetaobj::create don't generate random id if id is provided
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>
9 years agoradosgw-admin: zone set should handle old format json (without name or id)
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>
9 years agorgw: add id to RGWZone dump and decode_json functions
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>
9 years agoradosgw-admin: zone create should update zonegroupmap for non standalone zones
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>
9 years agoradosgw-admin: fix zonegroup default
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>
9 years agoradosgw-admin: add --rgw-zonegroup for backward compatability
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>
9 years agoradosgw-admin: zone set command should update zonegroupmap
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>
9 years agoradosgw-admin: realm set should update zonegroup map
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>
9 years agoradosgw-admin: zonegroup set needs to update zonegroupmap
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>
9 years agoradosgw-admin: fix zonegroupmap update
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>
9 years agorgw: backward compatabilty for zone set command
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>
9 years agoradosgw-admin: add --rgw-zone for backward compatability
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>
9 years agoradosgw-admin: update zonegroupmap when activating a period
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>
9 years agorgw: fix zonegroupmap initialization in init_complete
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>
9 years agorgw: use realm provided in the command line
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>
9 years agoradosgw-admin: use the correct realm id when creating a new zonegroup
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>
9 years agoradosgw-admin: use zonegroup realm id in zone add command
Orit Wasserman [Tue, 22 Sep 2015 20:08:57 +0000 (22:08 +0200)]
radosgw-admin: use zonegroup realm id in zone add command

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: add realm_id to zonegroup
Orit Wasserman [Tue, 22 Sep 2015 20:05:00 +0000 (22:05 +0200)]
rgw: add realm_id to zonegroup

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: update zonegroupmap when adding a zone
Orit Wasserman [Tue, 22 Sep 2015 19:55:38 +0000 (21:55 +0200)]
radosgw-admin: update zonegroupmap when adding a zone

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: use encode_map for zonegroups
Orit Wasserman [Tue, 22 Sep 2015 19:47:28 +0000 (21:47 +0200)]
rgw: use encode_map for zonegroups

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fix zonegroup create
Orit Wasserman [Tue, 22 Sep 2015 19:46:27 +0000 (21:46 +0200)]
rgw: fix zonegroup create

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fix realm create
Orit Wasserman [Tue, 22 Sep 2015 15:31:56 +0000 (17:31 +0200)]
rgw: fix realm create

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fix init_complete when there is no realm
Orit Wasserman [Tue, 22 Sep 2015 14:26:16 +0000 (16:26 +0200)]
rgw: fix init_complete when there is no realm

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoradosgw-admin: fix error messages for zonegroup create
Orit Wasserman [Tue, 22 Sep 2015 14:24:30 +0000 (16:24 +0200)]
radosgw-admin: fix error messages for zonegroup create

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fix zonegroup update
Orit Wasserman [Tue, 22 Sep 2015 12:40:51 +0000 (14:40 +0200)]
rgw: fix zonegroup update

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: update zonegroupmap when creating new realm
Orit Wasserman [Tue, 22 Sep 2015 07:47:08 +0000 (09:47 +0200)]
rgw: update zonegroupmap when creating new realm

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: add period_map to encode/decode
Orit Wasserman [Tue, 22 Sep 2015 19:30:41 +0000 (21:30 +0200)]
rgw: add period_map to encode/decode

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: add zonegroup_map period update
Orit Wasserman [Mon, 21 Sep 2015 15:32:06 +0000 (17:32 +0200)]
rgw: add zonegroup_map period update

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: add zonegroupmap realm update
Orit Wasserman [Mon, 21 Sep 2015 15:28:25 +0000 (17:28 +0200)]
rgw: add zonegroupmap realm update

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: fix encoding and decoding of realms and periods
Orit Wasserman [Tue, 22 Sep 2015 14:35:17 +0000 (16:35 +0200)]
rgw: fix encoding and decoding of realms and periods

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: add realms to zonegroupmap
Orit Wasserman [Mon, 21 Sep 2015 14:21:57 +0000 (16:21 +0200)]
rgw: add realms to zonegroupmap

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agorgw: zonegroup map contains a map of periods
Orit Wasserman [Mon, 21 Sep 2015 13:29:04 +0000 (15:29 +0200)]
rgw: zonegroup map contains a map of periods

Signed-off-by: Orit Wasserman <owasserm@redhat.com>