Yehuda Sadeh
238f0ef4a4
rgw: chained cache shouldn't access service after it was unchained
...
This fixes a cleanup ordering issue. We can now have the chained cache
removed before and after the service is destructed.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
27664f22c4
rgw: AioThrottle uses RGWSI_RADOS::Obj
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
d75e7a9fa9
rgw: RADOS::Pool::create() for single pool
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
86190327a0
rgw: RADOS::Pool::lookup() uses Pool's pool name
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
79eb9a9e5c
rgw: add Obj::aio_operate() for read ops
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
fa7041126d
rgw: rgw_rados_ref uses default copy/move
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
9be21f80c5
rgw: fix svc_zone compile with is_started()
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
d480cbe32a
rgw: fix list_realms() and list_zones()
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
b6cfb3f34d
rgw: fix chained cache put if cache isn't initialized
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
50e5c08958
rgw: svc: support raw storage init
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
1ad00c9435
rgw: move services shutdown around
...
fixes ordering
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
0d8185cb96
rgw: services shutdown
...
Explicitly make sure services are being shut down in appropriate order.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
39258cb4c7
rgw: unregister chained cache on shutdown
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
a7cc961ae7
rgw: svc: hold services in unique_ptr
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
2053556de1
rgw: don't try to canonicalize raw obj
...
and other minor fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
58680b8860
rgw: remove unneeded code
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
10462d6191
rgw: don't include rgw_zone.h in svc_zone.h
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
4c0675bbc3
rgw: svc: due to popular demand, get rid of service registry
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
cc4ecac031
rgw: api fixes following rebase
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
bf688f2e27
rgw: more code removal and api adjustments
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
254ca811ca
rgw: chained cache doesn't init if not caching
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
af5eb09aa7
rgw: svc: remove SystemObject impl
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
66f9c146ff
rgw: svc: fixes
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
deccf50cd4
rgw: services init fixes
...
First load all depending services, then initialize all.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
4f9375cbbe
rgw: minor adjustments
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
97e44b644e
rgw-admin: api adjustments
...
now compiles
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
0736b085a7
rgw: svc: more changes, add svc_sync_modules
...
radosgw actually compiles now
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
346af50d0b
rgw: rgw_zone api adjustments
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
dbaf94b0a6
rgw: add missing files
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
91601cf98a
rgw: svc_finisher: create service
...
and other fixes
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
771eafc973
rgw: svc_cache: more work
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
074936b5c2
rgw: svc_notify: initial work
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
0f39a29dc8
rgw: sysobj service: initial cache conversion
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
c5440ae526
rgw: svc_sysobj: split core out
...
Split core sysobj interface from sysobj service so that cache could be
implemented.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
3192f640d5
rgw: zone, sysobj services: add missing system obj calls
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
7c241f2c1d
rgw: sys_obj service, move zone init to svc_zone
...
still wip
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
f46a94f8fc
rgw: svc: more zone work, add zone_utils, quota services
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:29 -08:00
Yehuda Sadeh
ca8a636d08
rgw: more refactoring work, initial work on svc_rados
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:18:09 -08:00
Yehuda Sadeh
e44a5fe22e
rgw: svc: initial work on zone_svc
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:18:09 -08:00
Yehuda Sadeh
add60c82ea
rgw: basic rgw services registry
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:18:09 -08:00
Lenz Grimmer
d9c9cf65f0
Merge pull request #24719 from Devp00l/wip-issue-26861
...
mgr/dashboard: Remove _filterValue from CdFormGroup
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-08 18:09:38 +01:00
Sage Weil
dc80d27843
Merge PR #24333 into master
...
* refs/pull/24333/head:
test: update librados tests for CLI arg syntax
librados: update for CLI arg format change
pybind: update python callers of force flags
mon: convert remaining confirmation flags to CephBool
ceph_argparse: introduce CephBool arguments
test: remove quirky argparse case
mgr,mon: use CephChoices for confirmation flags
test: add cases for CLI's --key=val style
mon: remove dead "cluster_snap" command
pybind: enable --keyword=arguments in ceph_argparse
ceph.in: some cleanups
ceph.in: misc cleanups
common: remove unused 'avail' field from commands
mon: fix help string for `osd crush rule create-replicated`
Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-08 10:52:16 -06:00
Lenz Grimmer
b0ae24b1d7
Merge pull request #24930 from tspmelo/wip-multiple-actions
...
mgr/dashboard: Fix duplicate tasks
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-08 17:14:46 +01:00
Lenz Grimmer
31cf0e86ee
Merge pull request #24974 from rhcs-dashboard/36712-cluser-hosts-fix
...
mgr/dashboard: fix for 'Cluster >> Hosts' page
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-11-08 17:04:37 +01:00
Casey Bodley
c22e2c951d
Merge pull request #24530 from alimaredia/wip-rgw-dpp-gc-lc
...
rgw: refactor logging in gc and lc
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-08 09:51:14 -05:00
Casey Bodley
57950584be
Merge pull request #24510 from pritha-srivastava/wip-sts-buffer-overflow
...
rgw: Fix for buffer overflow in STS op_post().
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-11-08 09:50:05 -05:00
Casey Bodley
e824900fb3
Merge pull request #24594 from theanalyst/wip-reshard-enoent
...
rgw: reshard add: fail correctly on a non existant bucket
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-11-08 09:48:59 -05:00
Casey Bodley
750ffeff90
Merge pull request #24638 from linuxbox2/wip-reshard-st
...
radosgw-admin: translate reshard status codes (trivial)
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:48:00 -05:00
Casey Bodley
b97e471022
Merge pull request #24816 from linuxbox2/wip-rgw-keystone-secret
...
rgw: move keystone secrets from ceph.conf to files
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:47:37 -05:00
Casey Bodley
38aab9f653
Merge pull request #24869 from joke-lee/wip-op-mask-radosgw-admin-rest
...
rgw: admin rest api support op-mask
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-08 09:46:44 -05:00