Yehuda Sadeh
84764013e4
rgw: shutdown services only if initialized
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 12:56:26 -08:00
Yehuda Sadeh
e0dc5a86cb
librados_test_stub: implement move operations
...
Need to match whatever librados implements.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 12:43:21 -08:00
Yehuda Sadeh
c3dd80bb2f
test/rbd_mirror: fix linking
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
4b043aa380
rgw: svc_notify: call set_enabled() when registering callback
...
svc_notify starts before svc_sysobj_cache, this way we make sure
svc_sysobj_cache gets the status callback triggered.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Yehuda Sadeh
fc860a367b
rgw: sysobj_core: filter sysobj attrs
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-08 09:19:30 -08:00
Casey Bodley
cfd66c5f89
librados: add move operations to IoCtx
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-08 09:19:30 -08:00
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