]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yehuda Sadeh [Wed, 27 Nov 2019 01:37:26 +0000 (17:37 -0800)]
rgw: fix pipes zone wildcard match logic
and improve logging
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 27 Nov 2019 00:12:27 +0000 (16:12 -0800)]
rgw-admin: bucket sync status related fixes and improvements
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 27 Nov 2019 00:11:29 +0000 (16:11 -0800)]
rgw: use negative shard id when creating sync pair
negative shard id means the bucket has a single shard. This
is to be backward compatible.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 26 Nov 2019 21:20:30 +0000 (13:20 -0800)]
rgw: remove unneeded #warnings
and other cleanups
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 26 Nov 2019 21:01:32 +0000 (13:01 -0800)]
rgw: sync: only update data log if bucket exports data
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 26 Nov 2019 20:54:53 +0000 (12:54 -0800)]
rgw: pubsub: user source bucket owner for event, not dest
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 26 Nov 2019 20:54:14 +0000 (12:54 -0800)]
rgw: remove a #warning with a comment
It's a nice to have, not crucial
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 26 Nov 2019 20:40:11 +0000 (12:40 -0800)]
rgw: sync: object sync info oid depends on pipe
The object sync info object (used in cloud sync module) depends on pipe. Different
oid is crafted if source and destination buckets are not the same.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 26 Nov 2019 20:14:35 +0000 (12:14 -0800)]
rgw: data sync: guard against racing source object change
Source object might have changed since we tried to sync it,
and the decisions we made originally might be irrelevant.
After reading object header, check if the original dest params
are the same dest params we find now for this object, otherwise
need to retry.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 26 Nov 2019 00:17:24 +0000 (16:17 -0800)]
rgw: sync: override dest object owner if needed
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 23 Nov 2019 05:02:36 +0000 (21:02 -0800)]
rgw: data sync: check user permission in user level sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 23 Nov 2019 00:48:27 +0000 (16:48 -0800)]
rgw: auth: api to create auth identity without req_state
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 22 Nov 2019 23:31:55 +0000 (15:31 -0800)]
rgw: api to check bucket and object permissions without need for req_state
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 20 Nov 2019 04:01:57 +0000 (20:01 -0800)]
rgw: sync: user mode sync pipes fetch objects using effective uid
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 20 Nov 2019 01:46:42 +0000 (17:46 -0800)]
rgw: prepare for system and user mode changes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Nov 2019 22:44:25 +0000 (14:44 -0800)]
rgw: data sync: handle preconfition failed error
Handle precondition failed error. This would happen in case we cannot
sync the object due to either newer local changes, or if the policy
doesn't allow syncing the specific object. Handle this as success, but
log a message.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Nov 2019 22:43:00 +0000 (14:43 -0800)]
rgw: http client: propagate errors in client callbacks
If one of the callbacks return error, stop the processing and set that
as the request error.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Nov 2019 18:59:59 +0000 (10:59 -0800)]
rgw: filter fetch remote obj after reading remote metadata
In the sync case: find the appropriate pipe params that match this
remote object (if matches tags / prefix), and adjust fetch if needed --
abort if doesn't match tags. Later will adjust acls as needed (if user
sync and not system).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Nov 2019 18:56:33 +0000 (10:56 -0800)]
rgw: find pipe rules param for specific obj changes
- reuse RGWObjTags::tag_map_t instead of vector of strings
- fix the prefix search
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Nov 2019 18:51:49 +0000 (10:51 -0800)]
rgw: sync: add mode (system, user) as a pipe param
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Nov 2019 18:50:08 +0000 (10:50 -0800)]
rgw-admin: add delimiter to tags parsing
Otherwise it will use '=' as a delimiter, and need to preserve it as
part of the tag initially.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Nov 2019 18:48:41 +0000 (10:48 -0800)]
rgw-admin: minor message fix
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 18 Nov 2019 18:38:25 +0000 (10:38 -0800)]
rgw: sync policy: reorganize a bit
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 16 Nov 2019 02:32:17 +0000 (18:32 -0800)]
ceph_json: json encoding filter
Can create and register a filter (that will be pointed at by the formatter
as an external feature), that could be then used to replace default
encoders for specific data types. This can be useful in cases where
we want to mutate the output (for example: translate zone ids to zone
names on the fly).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 14 Nov 2019 04:09:53 +0000 (20:09 -0800)]
rgw, radosgw-admin: explicit zone id type
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 14 Nov 2019 03:26:33 +0000 (19:26 -0800)]
rgw: sync: resolve hints when initializing policy handler
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 13 Nov 2019 23:31:55 +0000 (15:31 -0800)]
rgw: modify zone_trace for bucket granularity info
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 13 Nov 2019 04:50:11 +0000 (20:50 -0800)]
rgw: data sync: incremental prefixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 12 Nov 2019 23:50:00 +0000 (15:50 -0800)]
rgw: sync: full sync checks for rules prefixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 12 Nov 2019 01:50:17 +0000 (17:50 -0800)]
rgw: use pipe handlers instead of pipes off pipe_set
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 12 Nov 2019 00:19:56 +0000 (16:19 -0800)]
rgw: sync: pipe rules handler
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 9 Nov 2019 02:23:42 +0000 (18:23 -0800)]
rgw: propagate sync pipe params down the stack
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 9 Nov 2019 02:23:21 +0000 (18:23 -0800)]
rgw-admin: add option to configure sync pipe prefix, tags
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 8 Nov 2019 22:58:53 +0000 (14:58 -0800)]
rgw: sync: extend data structures to extend bucket sync functionality
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 8 Nov 2019 00:56:52 +0000 (16:56 -0800)]
rgw: data sync: use hints when determining sync pipes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 7 Nov 2019 19:00:18 +0000 (11:00 -0800)]
rgw: data sync: resolve pipes by bucket sync hints
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 7 Nov 2019 01:15:04 +0000 (17:15 -0800)]
rgw-admin: sync info shows and resolve bucket sync hints
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 6 Nov 2019 02:12:05 +0000 (18:12 -0800)]
rgw: manage bucket sync deps index
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 4 Nov 2019 23:20:53 +0000 (15:20 -0800)]
rgw: identify potential related (for sync) buckets on bucket update
Generate a diff off old and new bucket infos.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 1 Nov 2019 02:19:58 +0000 (19:19 -0700)]
rgw: svc.zone: keep policy handler for all zones
So that we can use the correct policy handler when checking source bucket.
Also build list of source zones for data sync out of all potential zones,
and not just the ones that are enabled, because it can be enabled at the
bucket level.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 31 Oct 2019 23:11:57 +0000 (16:11 -0700)]
rgw: sync: fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 31 Oct 2019 21:31:29 +0000 (14:31 -0700)]
rgw: data sync: trigger per shard sync by source and target
and tie to data log sync
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 31 Oct 2019 01:14:54 +0000 (18:14 -0700)]
rgw: data sync: rework RGWGetBucketPeersCR
so that it returns pipes with bucket info
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 30 Oct 2019 21:51:12 +0000 (14:51 -0700)]
rgw: data sync: more work towards new policy integration
RGWGetBucketPeersCR will be able to return correct buckets
that need to sync, either by a target bucket, and/or a source
zone and a source bucket (partially implemented).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 29 Oct 2019 21:22:15 +0000 (14:22 -0700)]
rgw: sync: bucket sync manager adjustments for new system
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 26 Oct 2019 01:33:12 +0000 (18:33 -0700)]
rgw: sync: encoding fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 25 Oct 2019 22:47:57 +0000 (15:47 -0700)]
rgw: modify sync policy handler api
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 25 Oct 2019 01:23:22 +0000 (18:23 -0700)]
rgw: sync: bucket sync status changes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 24 Oct 2019 23:10:48 +0000 (16:10 -0700)]
rgw: fix, cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 24 Oct 2019 22:58:06 +0000 (15:58 -0700)]
rgw: sync flow handler: integrate with flow manager
Convert zone names to zone ids, adjust interfaces.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 24 Oct 2019 21:13:38 +0000 (14:13 -0700)]
rgw: sync flow: init zone level sync flow manager
Hold the zone level sync flow manager in the zone svc. Convert old
zonegroup sync config into new sync policy structure.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 23 Oct 2019 01:34:46 +0000 (18:34 -0700)]
rgw: sync policy mgr: more fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 22 Oct 2019 22:32:11 +0000 (15:32 -0700)]
rgw: move code around
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 22 Oct 2019 22:18:14 +0000 (15:18 -0700)]
rgw: sync policy: cleanups and fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 22 Oct 2019 22:17:50 +0000 (15:17 -0700)]
rgw: rgw_bucket operator fixes
Fix smaller-than operator, ostream operator.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 22 Oct 2019 20:11:22 +0000 (13:11 -0700)]
rgw: flow manager generates explicit pipes
Have multiple pipes instead of having a single pipe that can describe
multiple different zones have multiple pipes, each point at a single
zone (or all zones).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 21 Oct 2019 20:14:05 +0000 (13:14 -0700)]
rgw: use single entity in expanded sync determination
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 21 Oct 2019 18:27:31 +0000 (11:27 -0700)]
rgw: rename some datastructures to signify plurality
pipe -> pipes, entity -> entities
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 19 Oct 2019 01:49:28 +0000 (18:49 -0700)]
rgw: bucket flow manager initialization changes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 23:13:28 +0000 (15:13 -0800)]
rgw-admin: add 'sync info' command
Also move code into header so that flow manager could be used in radosgw-admin
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 18 Oct 2019 17:50:35 +0000 (10:50 -0700)]
rgw-admin: manage sync policy at the bucket level
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 18 Oct 2019 00:00:07 +0000 (17:00 -0700)]
rgw: move code around
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 17 Oct 2019 23:24:29 +0000 (16:24 -0700)]
rgw_admin: code cleanup
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 17 Oct 2019 23:15:20 +0000 (16:15 -0700)]
rgw-admin: sync group pipe create and remove
also rename sync group flow add to sync group flow create.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 17 Oct 2019 19:55:22 +0000 (12:55 -0700)]
rgw-admin: sync group get command
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 17 Oct 2019 19:12:38 +0000 (12:12 -0700)]
rgw-admin: sync group flow remove command
and also some code cleanup.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 17 Oct 2019 01:41:41 +0000 (18:41 -0700)]
rgw-admin: sync group flow add command
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 16 Oct 2019 23:53:11 +0000 (16:53 -0700)]
rgw: bucket sync, change "target" to "dest"
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 16 Oct 2019 23:52:09 +0000 (16:52 -0700)]
rgw: json dump sync groups map as vector
looks nicer
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 16 Oct 2019 23:51:15 +0000 (16:51 -0700)]
rgw-admin: sync group create/remove commands
Still incomplete
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 16 Oct 2019 00:16:14 +0000 (17:16 -0700)]
rgw: sync policy logic
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 9 Oct 2019 23:13:03 +0000 (16:13 -0700)]
rgw: redo policy definitions
Still incomplete
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 9 Oct 2019 21:17:40 +0000 (14:17 -0700)]
rgw: compilation fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 5 Sep 2019 09:26:33 +0000 (02:26 -0700)]
rgw-admin: sync policy related commands
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 4 Sep 2019 09:22:51 +0000 (02:22 -0700)]
rgw: add sync policy to zonegroup
and move code around
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 1 Sep 2019 13:37:43 +0000 (06:37 -0700)]
rgw-admin: bucket sync info command
Dumps bucket sources
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sun, 1 Sep 2019 11:25:12 +0000 (04:25 -0700)]
rgw: pass through bucket sync pairs
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 24 Aug 2019 00:15:43 +0000 (17:15 -0700)]
rgw: define bucket sync pipes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 22 Aug 2019 00:24:17 +0000 (17:24 -0700)]
rgw: bucket sync: read local bucket sources
And also add functionality to get bucket sync policy handler (in cr).
Next we'll need to compare local bucket sources with what policy
handler defines, and act if it's different.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Aug 2019 22:43:33 +0000 (15:43 -0700)]
rgw: defined bucket sync sources manager
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 21 Aug 2019 00:02:16 +0000 (17:02 -0700)]
rgw: data sync: split RGWDataSyncEnv
Keep only the environment related fields in there, and have the
sync info related stuff in the containing RGWDataSyncCtx.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 20 Aug 2019 21:02:12 +0000 (14:02 -0700)]
rgw: reduce use of sync_env->store
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 19 Aug 2019 22:21:58 +0000 (15:21 -0700)]
rgw: data sync: rename current bucket sync crs
Add the 'pipe' term as bucket can be synced on multiple pipes.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 17 Aug 2019 00:23:55 +0000 (17:23 -0700)]
rgw: ctl.bucket: add bucket sync related methods
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Aug 2019 22:34:45 +0000 (15:34 -0700)]
rgw: svc.bucket_sync: add new svc for dealing with bucket sync policy
svc.bucket_sync_sobj keeps a cache of bucket sync policies (per bucket
instance), and chains to the metadata cache.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 16 Aug 2019 18:59:44 +0000 (11:59 -0700)]
rgw: rework sync policy
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 12 Aug 2019 22:58:28 +0000 (15:58 -0700)]
rgw: define sync policy structures
Defines sync policy for both zones and buckets.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Thu, 21 Feb 2019 22:58:42 +0000 (14:58 -0800)]
rgw: remove unused variable
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 19 Feb 2019 02:29:19 +0000 (18:29 -0800)]
rgw: sync: separate source and dest bucket
This is still incomplete. The idea is that source bucket and destination
bucket do not need to reflect the same entity.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Sat, 16 Feb 2019 00:06:51 +0000 (16:06 -0800)]
rgw: bucket sync: integrate bucket sync decisions
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 15 Feb 2019 23:23:32 +0000 (15:23 -0800)]
rgw: store data log entry if bucket sync policy not empty
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 15 Feb 2019 22:06:57 +0000 (14:06 -0800)]
rgw: bucket-granularity sync: define policy structure
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:55:25 +0000 (14:55 -0800)]
rgw: test-multi: craft admin command line options differently
The problem was specifically with the "--rgw-cache-enabled false" param. This
doesn't work like that anymore, need to either pass --rgw-cache-enabled=false,
or --no-rgw-cache-enabled.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:51:45 +0000 (14:51 -0800)]
rgw-admin: dump command if not found
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:51:18 +0000 (14:51 -0800)]
rgw-admin: split remove and delete aliases
Since "zonegroup remove" and "zonegroup delete" are different commands,
don't have them share the same aliases.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Mon, 2 Dec 2019 22:50:29 +0000 (14:50 -0800)]
rgw-admin: add "zonegroup remove zone" command
Does the same as "zonegroup remove", but should be used instead of it
as we also have a different "zonegroup delete" command.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 22:27:16 +0000 (15:27 -0700)]
rgw-admin: cmdline, dump expected commands on error
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 21:40:18 +0000 (14:40 -0700)]
rgw-admin: adjust commands
Add missing definitions needed for backward compatibility.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 21:30:24 +0000 (14:30 -0700)]
rgw-admin: use strongly typed enum for cmdline options
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 11 Oct 2019 20:19:32 +0000 (13:19 -0700)]
rgw-admin: cmdline, use generic std::any to hold value
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>