]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Fri, 30 Sep 2016 14:21:37 +0000 (09:21 -0500)]
Merge pull request #11275 from xiexingguo/xxg-wip-make-audit-buffer-option
os/bluestore: drop redundant call of get_blob
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Fri, 30 Sep 2016 09:08:51 +0000 (17:08 +0800)]
os/bluestore: drop redundant call of get_blob
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Fri, 30 Sep 2016 13:51:39 +0000 (08:51 -0500)]
Merge pull request #11268 from liewegas/wip-bluefs-aio-leak
os/bluestore/BlueFS: release completed aios
Jason Dillaman [Fri, 30 Sep 2016 13:39:58 +0000 (09:39 -0400)]
Merge pull request #11005 from jazeltq/add-sparse-read
rbd-mirror: Add sparse read for sync image
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 30 Sep 2016 13:37:50 +0000 (09:37 -0400)]
Merge pull request #11168 from trociny/wip-16212
rbd-mirror: replicate image metadata settings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 30 Sep 2016 13:31:35 +0000 (08:31 -0500)]
Merge pull request #11274 from xiexingguo/xxg-wip-bluestore-0930
os/bluestore: still more cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Fri, 30 Sep 2016 11:41:37 +0000 (12:41 +0100)]
Merge pull request #11136 from jcsp/wip-16016
mds: populate DamageTable from scrub and log more quietly
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Orit Wasserman [Fri, 30 Sep 2016 08:41:25 +0000 (10:41 +0200)]
Merge pull request #11270 from ceph/wip-17443
rgw: set correct instance on the object
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Kefu Chai [Fri, 30 Sep 2016 07:34:04 +0000 (15:34 +0800)]
Merge pull request #10328 from jcsp/wip-ceph-mgr
Create ceph-mgr
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Fri, 30 Sep 2016 06:53:28 +0000 (14:53 +0800)]
os/bluestore: avoid comparing object key and name twice
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 30 Sep 2016 06:28:02 +0000 (14:28 +0800)]
os/bluestore: use id of shard_id_t for encoding
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 30 Sep 2016 05:58:15 +0000 (13:58 +0800)]
os/bluestore: kill struct DeferredCsum
Which is dead, and kill some other dead lines too.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Fri, 30 Sep 2016 02:22:04 +0000 (21:22 -0500)]
Merge pull request #11267 from liewegas/wip-bluestore-ref-map
os/bluestore/bluestore_types: uint64_t for ref_map
Yehuda Sadeh [Fri, 30 Sep 2016 01:35:59 +0000 (18:35 -0700)]
rgw: set correct instance on the object
Fixes: http://tracker.ceph.com/issues/17443
This was broken by commit
bc840afafdfe5e528e5c1b711e71420ac3cb5a67
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Thu, 29 Sep 2016 22:05:20 +0000 (18:05 -0400)]
os/bluestore/BlueFS: be less complainy about fallback allocations
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 21:46:42 +0000 (17:46 -0400)]
ceph_test_objecstore: use 1TB block device
Big enough to get into 32-bit LBAs.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 21:43:04 +0000 (17:43 -0400)]
os/bluestore/bluestore_types: uint64_t for ref_map
We use this to track raw extents on disk for SharedBlob. We
also use it for the in-memory Blob with the blob namespace, but
using uint64_t intead of uint32_t doesn't hurt us there.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 21:05:53 +0000 (17:05 -0400)]
os/bluestore/BlueFS: release completed aios
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 20:17:09 +0000 (15:17 -0500)]
Merge pull request #11266 from stiopaa1/osd_passSharedPtrByConstRef
osd: pass shared_ptr by const reference
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 27 Sep 2016 13:19:08 +0000 (14:19 +0100)]
pybind/mgr/rest: remove unused DebugJob
This dates back from the Calamari/Salt days.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 27 Sep 2016 13:17:26 +0000 (14:17 +0100)]
pybind/mgr/rest: fix "sync_object" API endpoint
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 26 Sep 2016 23:03:28 +0000 (00:03 +0100)]
vstart: include cython mods in PYTHONPATH
This is useful for ceph-mgr because it means that
any in-mgr modules that want to use e.g. rbd
can find it when running in a vstart cluster.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 26 Sep 2016 22:47:53 +0000 (23:47 +0100)]
mgr: remove hardcoded site-packages
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 26 Sep 2016 21:42:56 +0000 (22:42 +0100)]
packaging: add debian packaging for ceph-mgr
...at least, try to! This is a copy-paste of the ceph-mds
packaging with a search and replace mds to mgr.
Signed-off-by: John Spray <john.spray@redhat.com>
Tim Serong [Tue, 20 Sep 2016 13:55:32 +0000 (23:55 +1000)]
systemd: autogenerate ceph-mgr key during daemon startup
This is a hack to inject a key for the mgr daemon, using whatever
key already exists on the mon on this node to gain sufficient
permissions to create the mgr key. Failure is ignored at every
step (the '-' prefix) in case someone has already used some other
trick to set everything up manually.
Signed-off-by: Tim Serong <tserong@suse.com>
Tim Serong [Tue, 20 Sep 2016 12:32:58 +0000 (22:32 +1000)]
systemd: encourage ceph-mgr to start in sync with ceph-mon
This change introduces the following behaviour:
- When ceph-mon starts, it will try to start ceph-mgr with the same
instance id (Wants=), but will *not* fail to start if ceph-mgr
doesn't start (i.e. the mon still works as it always did).
- ceph-mgr will start After= ceph-mon, and will stop and start when
ceph-mon stops and starts, because it's PartOf= ceph-mon.
If you don't want ceph-mgr to run on the mons, you need to mask the
service, i.e. `systemctl mask ceph-mgr@INSTANCE`. Hostnames are
typically instance names, so `systemctl mask ceph-mgr@$(hostname)`
should suffice if you wish to disable ceph-mgr on the mons.
Signed-off-by: Tim Serong <tserong@suse.com>
Tim Serong [Wed, 7 Sep 2016 05:49:58 +0000 (15:49 +1000)]
ceph.spec.in: add ceph-mgr package
This adds ceph-mgr following the same pattern used for ceph-mon,
ceph-mds, ceph-osd. I've removed the boost-python BuildRequire
for SUSE distros, because we don't ship that (the relevant bits
are already included in boost-devel).
NOTE: This gives an installable ceph-mgr, but not necessarily a
runnable ceph-mgr. This is because ceph-mgr needs the following
python packages:
- CherryPy
- Django
- gevent
- python-dateutil
- djangorestframework
Not all of these are available as distro packages. For example,
on openSUSE Tumbleweed, we don't have djangorestframework available
in the base distro, and our Django version is 1.9, which seems to
be incompatible with ceph-mgr. I'm not sure of the situation on
other distros.
Signed-off-by: Tim Serong <tserong@suse.com>
Tim Serong [Wed, 7 Sep 2016 05:39:58 +0000 (15:39 +1000)]
systemd: add ceph-mgr service and target files
Signed-off-by: Tim Serong <tserong@suse.com>
Tim Serong [Wed, 7 Sep 2016 05:39:36 +0000 (15:39 +1000)]
cmake: install ceph-mgr and its python modules
Signed-off-by: Tim Serong <tserong@suse.com>
John Spray [Mon, 26 Sep 2016 21:17:16 +0000 (22:17 +0100)]
pybind/mgr: clean up unused code
...and change the "if False" django-rest-framework
conditionals to actual version checks, with a view
to genuinely supporting 2.x in future if needed.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 26 Sep 2016 21:12:19 +0000 (22:12 +0100)]
mgr: fix OSDMap notifications
This broken when MgrStandby was separated out,
because it now eats the original OSDMap message
without calling maybe_request_map.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 23 Sep 2016 13:46:54 +0000 (14:46 +0100)]
mgr: fixup ClusterState with_*map fns
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 22 Sep 2016 17:01:21 +0000 (18:01 +0100)]
mon: remove need for friending OSDMap to PGMapUpdater
This used to be the friend relationship to PGMonitor. It
was never really needed anyway, it was only being used
to skip the getter on `pools`
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 22 Sep 2016 16:09:22 +0000 (17:09 +0100)]
mon: refactor PGMap updating code for reuse in mgr
...and remove the copypasta from mgr.
mgr still doesn't do all the same logic (it doesn't
have osdmap history handy) but it is now much easier
to see which bits are used one place vs. the other.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 20 Sep 2016 15:34:37 +0000 (16:34 +0100)]
mgr: update for Dispatcher::ms_handle_refused
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 19 Sep 2016 19:35:28 +0000 (20:35 +0100)]
common: refactor CommandTable
Avoid handling out raw pointers to the ops,
which are in fact owned by the table.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 5 Sep 2016 16:12:27 +0000 (17:12 +0100)]
packaging: add boost-python dependency
Although ceph-mgr isn't packaged yet, builders
use these files to cue installation of dependencies.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 31 Aug 2016 11:19:34 +0000 (12:19 +0100)]
doc: add initial ceph-mgr docs
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 4 Aug 2016 14:02:28 +0000 (15:02 +0100)]
pybind/mgr: add fsstatus module
A demonstration of creating a simple
ASCII-art status display by fusing
the metadata, perf counters, and maps that
are available to python modules in ceph-mgr.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 8 Aug 2016 16:09:12 +0000 (17:09 +0100)]
mgr: skip past broken modules and load the rest
...instead of stopping at the first python module
that fails to load.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 8 Aug 2016 16:08:42 +0000 (17:08 +0100)]
mgrc: less vebose logging of messages
...no need to tell us about all the things you're *not* handling.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 4 Aug 2016 21:07:33 +0000 (22:07 +0100)]
mon: implement MgrMonitor.preprocess_beacon
So that we're not throwing out new mgrmap epochs
every beacon.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 4 Aug 2016 14:04:43 +0000 (15:04 +0100)]
mgr: expose osd stats from pgmap
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 4 Aug 2016 14:04:17 +0000 (15:04 +0100)]
mgr: dispose of connections after handle_command
...to avoid leaking them and eventually running out of fds.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 4 Aug 2016 14:03:51 +0000 (15:03 +0100)]
mgrc: mark down connections with dead sessions
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 4 Aug 2016 14:01:30 +0000 (15:01 +0100)]
pybind/mgr: fix logging
Previously only the errors were getting through, because
other stuff was getting held up in the python logging
framework.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 22:23:54 +0000 (23:23 +0100)]
mgr: expose "df" to python modules
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 22:23:09 +0000 (23:23 +0100)]
mon: move "df" dump code from PGMonitor to PGMap
...so that ceph-mgr can use it too.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 22:22:19 +0000 (23:22 +0100)]
common/TextTable: add include guards
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 22:21:41 +0000 (23:21 +0100)]
pybind/mgr: update rest module for pg_summary
...which is now generated properly from PGMap
instead of reconstituted from some JSON.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 17:07:20 +0000 (18:07 +0100)]
mgr: handle PGStats with a PGMap
No longer need the mon to send us
the pg_summary json hack.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 17:06:09 +0000 (18:06 +0100)]
osd: send PGStats to mgr as well as mon
This is a rough implementation that sends all the stats,
without the efficiency of the queue+acks that we use
when talking to the mon.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 31 Jul 2016 17:05:53 +0000 (18:05 +0100)]
mgrc: enable sending pgstats
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 26 Jul 2016 12:59:19 +0000 (13:59 +0100)]
pybind/mgr: expose get_counter in MgrModule
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 26 Jul 2016 12:58:04 +0000 (13:58 +0100)]
mgrc: fix report sending after failover
The send_report loop doesn't get kicked off
on configure messages unless the period is
set to its initial value (0).
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 26 Jul 2016 10:14:00 +0000 (11:14 +0100)]
mgr: store some counter history
...and expose it to python modules.
Also fix some of the code around how we updated
DaemonState.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 26 Jul 2016 10:30:45 +0000 (11:30 +0100)]
pybind/mgr: move rest into dir
Let's make each module its own directory.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 26 Jul 2016 10:01:40 +0000 (11:01 +0100)]
pybind/mgr: remove unused gevent code
Signed-off-by: John Spray <john.spray@redhat.com>
Tim Serong [Tue, 26 Jul 2016 06:43:44 +0000 (16:43 +1000)]
mgr: Use signed int log level in PyModules::log()
Using an unsigned causes a build failure when expanding the dout macro.
Signed-off-by: Tim Serong <tserong@suse.com>
John Spray [Mon, 25 Jul 2016 16:03:15 +0000 (17:03 +0100)]
mds: embed a MgrClient
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sat, 16 Jul 2016 21:04:39 +0000 (22:04 +0100)]
mgr: enable active daemon to return to standby
Rather than respawn a whole process, just fall back
to being a standby.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 15 Jul 2016 15:48:32 +0000 (16:48 +0100)]
mgrc: reset send_report timer on session change
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 14 Jul 2016 23:39:22 +0000 (00:39 +0100)]
mgr: flesh out standby/HA
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 4 Jul 2016 14:30:36 +0000 (15:30 +0100)]
pybind/mgr: implement shutdown() in rest.py
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 4 Jul 2016 14:22:27 +0000 (15:22 +0100)]
mgr: enable multiple python modules
serve() each one in a separate thread, include a shutdown()
hook so that we can tear down cleanly.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 3 Jul 2016 18:45:28 +0000 (19:45 +0100)]
mgr: s/DaemonMetadata/DaemonState/g
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 23:28:16 +0000 (00:28 +0100)]
pybind/mgr: fix django request logging
This was going to a text file, hook it in
to the proper logging.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 23:12:47 +0000 (00:12 +0100)]
pybind/mgr: remove unused CalamariConfig
No longer need to set CALAMARI_CONFIG when running.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 23:12:13 +0000 (00:12 +0100)]
mgr: fix locking in DaemonMetadata
Locks are great but it helps if you actually
bother acquiring them...
Signed-off-by: John Spray <john.spray@redhat.com>
Tim Serong [Thu, 30 Jun 2016 06:38:11 +0000 (16:38 +1000)]
mgr: api_docs.py: Update for use outside Calamari
The ceph_state module is implemented in C++, and isn't available at
build time, which causes import failures when api_docs.py tries to
import calamari_rest in order to introspect it (MgrModule is eventually
imported, which in turn tries to import ceph_state, which fails unless
we stub it out).
Additional changes:
* Search calamari_rest.urls (not calamari_web)
calamari_web isn't available - it largely held static content in
Calamari, and in turn included calamari_rest.urls. Here in ceph-mgr we
only have calamari_rest.
* note that --list-urls does nothing, apparently
* Pass actions to old as_view method
django-rest-framework 3.x raises TypeError if the actions argument isn't
passed to as_view().
* Use view().get_view_name() instead of metadata
Attempting to access view().metadata(None)['name'] results in
"AttributeError: 'super' object has no attribute 'metadata'".
* Use somewhat unfriendly field class names
django-rest-framework 3.x seems to have done away with type_label for
fields, so instead use the field's class name, which is somewhat
unfriendly, but arguably better than nothing.
* import global_instance to fix ImportError
This is necessary to avoid what seems to be weird import loops (if this
isn't present, we later get "ImportError: cannot import name
UserRequest" or similar).
* Make api_examples.json optional
This way we at least get bare docs with no examples, rather than no docs
at all.
* Explain how to generate API docs
Signed-off-by: Tim Serong <tserong@suse.com>
John Spray [Thu, 30 Jun 2016 13:07:50 +0000 (14:07 +0100)]
pybind/mgr: add the `rest` module
This is derived from what used to be Calamari.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 13:08:25 +0000 (14:08 +0100)]
pybind: create mgr python module folder
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 13:04:30 +0000 (14:04 +0100)]
cmake: update for ceph-mgr
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 8 Jun 2016 13:22:42 +0000 (14:22 +0100)]
pybind: expose mgr commands
This is "tell mgr" at the moment but it should
be a slicker syntax later (ceph.in is awkward
to refactor just now)
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 8 Jun 2016 13:23:34 +0000 (14:23 +0100)]
librados: expose mgr_command
This involves giving RadosClient an embedded
MgrClient.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 19 May 2016 11:59:56 +0000 (12:59 +0100)]
osd: embed a MgrClient
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 13:05:47 +0000 (14:05 +0100)]
mgrc: create MgrClient
The ceph-mgr equivalent to monclient
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 13:06:42 +0000 (14:06 +0100)]
common: accessors for list of perf counters
...and store the list by a string path, for
consumption by the world outside of integer
perf counter/subsystem IDs.
This is for consumption by MgrClient.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 13:05:02 +0000 (14:05 +0100)]
mgr: create ceph-mgr service
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 25 May 2016 18:42:04 +0000 (19:42 +0100)]
auth: add mgr service type
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 25 May 2016 18:43:03 +0000 (19:43 +0100)]
vstart: set up and run ceph-mgr
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 19 May 2016 11:58:22 +0000 (12:58 +0100)]
mon: add MgrMonitor
This is responsible for learning the locations of
mgrs, picking an active one, and sharing that
info with MgrClient consumers who subscribe to 'mgrmap'
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 19 May 2016 11:55:17 +0000 (12:55 +0100)]
msg: introduce mgr entity_type_t
Mgr will probably ultimately have different auth caps,
so let's make it a separate entity up front instead
of e.g. pretending to be a mon.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 19 May 2016 11:56:39 +0000 (12:56 +0100)]
messages: add ceph-mgr messages
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 8 Jun 2016 13:24:47 +0000 (14:24 +0100)]
client: refactor command handling
Create a CommandTable structure for places
in Client, MgrClient, Objecter where we do
basically the same kind of thing for sending
and tracking MCommands.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 17 Jun 2016 14:24:49 +0000 (15:24 +0100)]
pybind: fix handling bad cmd json
The 'save_exception' local would otherwise
be referenced before assignment during
exception handling.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 17 Jun 2016 14:23:03 +0000 (15:23 +0100)]
common/cmdparse: additional helpers
For dumping a cmdmap to a Formatter, and for
checking the prefix of a cmddesc.
Used by ceph-mgr when routing commands to python
modules.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 12:32:01 +0000 (13:32 +0100)]
common: add mgr config settings
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 19 May 2016 11:57:38 +0000 (12:57 +0100)]
common: add 'mgr' and 'mgrc' subsystems for logging
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 15 May 2016 11:02:40 +0000 (12:02 +0100)]
common: move ceph_version up into collect_sys_info
...so that we get this piece of metadata from every
service uniformly.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 30 Jun 2016 12:13:34 +0000 (13:13 +0100)]
mon: add with_monmap to MonClient
Analogous to Objecter::with_osdmap, for safe access
to the map.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 25 May 2016 16:56:51 +0000 (17:56 +0100)]
mon: fix missing osd metadata (again)
The JSON output was getting broken by continuing
in the wrong place.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 24 May 2016 21:27:45 +0000 (22:27 +0100)]
monc: remove unused AuthAuthorizeHandlerRegistry
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 11 Sep 2016 10:36:33 +0000 (16:06 +0530)]
vstart: fix warning when no CEPH_MAX_MDS set
This was a typo in
29535caf
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 18 May 2016 18:34:22 +0000 (19:34 +0100)]
mon: drop encoded buffer after decode
This bufferlist was being kept around as a
class member but it didn't need to be.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 17 May 2016 11:30:26 +0000 (12:30 +0100)]
mon,mds: include 'addr' in daemon metadata
This is useful for correlating daemon metadata
to cluster maps.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 1 Jun 2016 10:36:46 +0000 (11:36 +0100)]
msg: typedef uint8_t entity_type_t
...rather than having a mixture of explicit __u8
and implicit enums/ints.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 29 Sep 2016 15:38:27 +0000 (16:38 +0100)]
Merge pull request #11137 from jcsp/wip-17173
mds: catch duplicates in DamageTable
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Sage Weil [Thu, 29 Sep 2016 13:45:29 +0000 (08:45 -0500)]
Merge pull request #11244 from xiexingguo/xxg-wip-bluestore-0928
os/bluestore: upgrade compression settings to atomics
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Wed, 28 Sep 2016 00:49:34 +0000 (08:49 +0800)]
os/bluestore: upgrade compression settings to atomics
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>