]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ernesto Puerta [Wed, 6 Feb 2019 17:04:23 +0000 (18:04 +0100)]
doc: mgr/dashboard: feature-toggles: Fix config
Add '*.inc.rst' to the list of excluded patterns from sphinx-build. This
allows for using '*.inc.rst' as includes, and avoids duplicates. The
benefit of keeping the trailing '.rst' extension is that most IDEs use
that to render reStructured Text files.
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Wed, 6 Feb 2019 11:55:35 +0000 (12:55 +0100)]
mgr/dashboard: feature-toggles: minor fixes
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Tue, 5 Feb 2019 19:01:33 +0000 (20:01 +0100)]
mgr/dashboard: feature-toggles: Update Hacking
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Tue, 5 Feb 2019 10:50:43 +0000 (11:50 +0100)]
mgr/dashboard: feature-toggles: Fix formatting
Fix front-end formatting as suggested by tspmelo
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Mon, 4 Feb 2019 18:06:12 +0000 (19:06 +0100)]
doc: mgr/dashboard: feature-toggles: Add doc
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Mon, 4 Feb 2019 09:28:29 +0000 (10:28 +0100)]
mgr/dashboard: feature-toggles: add py unit tests
Add python unit test for feature toggles plugin, and refactor other
files, and add a new type of function cache decorator based on LRU but
with a TTL.
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 31 Jan 2019 16:32:32 +0000 (17:32 +0100)]
mgr/dashboard: feature-toggles: add front-end
Add front-end behaviours to feature toggles:
- In navigation pane, drop-down menu items are displayed/hidden accordingly.
- In main dashboard page, info cards are displayed/hidded.
- Routes are also enabled/disabled. When disabled, they redirect to 404.
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Tue, 29 Jan 2019 12:16:54 +0000 (13:16 +0100)]
mgr/dashboard: feature-toggles: Add REST hook
Provide a hook for creating REST controllers and endpoints. Provide also
a REST controller for Feature Toggles plugin.
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Fri, 25 Jan 2019 21:43:23 +0000 (22:43 +0100)]
mgr/dashboard: feature-toggles: Add plugin
Add feature-toggles plugin. It allows to enable, disable and check
status of a feature. Features are disabled by making their
corresponding enpoints return HTTP 501 error (Not Implemented).
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Fri, 25 Jan 2019 20:17:10 +0000 (21:17 +0100)]
mgr/dashboard: feature-toggles: add plugin support
Provide plugin infrastructure and a minimal set of hooks. As
python-pluggy library is not yet available for all the distros that Ceph
is targeted at, a minimal implementation has been provided.
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Thu, 24 Jan 2019 18:58:42 +0000 (19:58 +0100)]
mgr/dashboard: feature-toggles: add Option helper
A new helper class `Options` has been added to ease adding new
MODULE_OPTIONS.
Fixes: http://tracker.ceph.com/issues/37530
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
David Zafman [Wed, 6 Feb 2019 16:41:40 +0000 (08:41 -0800)]
Merge pull request #26290 from dzafman/wip-38027-38195
Wip 38027 38195: osd/osd-backfill-space.sh fails
Reviewed-by: Neha Ojha <nojha@redhat.com>
Lenz Grimmer [Wed, 6 Feb 2019 15:41:49 +0000 (16:41 +0100)]
Merge pull request #25918 from rjfd/wip-dashboard-nfs-backend
mgr/dashboard: NFS Ganesha management REST API
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Wed, 6 Feb 2019 11:02:34 +0000 (19:02 +0800)]
Merge pull request #26177 from liewegas/wip-stricter-osd-gate
osd: refuse to start if we're > N+2 from recorded require_osd_release
Reviewed-By: Neha Ojha <nojha@redhat.com>
Kefu Chai [Wed, 6 Feb 2019 11:01:45 +0000 (19:01 +0800)]
Merge pull request #26181 from iliul/fix-pybind-mgr-pep8
pybind/mgr: PEP 8 code clean and fix typo
Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 6 Feb 2019 11:00:01 +0000 (19:00 +0800)]
Merge pull request #26258 from liewegas/wip-disable-krb
build: disable kerberos for nautilus
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 6 Feb 2019 10:59:22 +0000 (18:59 +0800)]
Merge pull request #26259 from rzarzynski/wip-bl-freeze-alloc-unit
common: make CEPH_BUFFER_ALLOC_UNIT known at compile-time.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sebastian Wagner [Wed, 6 Feb 2019 09:57:45 +0000 (10:57 +0100)]
Merge pull request #26094 from sebastian-philipp/orchestrator-cli-command
mgr/orchestrator: make use of @CLICommand
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
David Zafman [Tue, 5 Feb 2019 22:51:14 +0000 (14:51 -0800)]
Merge pull request #26178 from dzafman/wip-38070
mon: A PG with PG_STATE_REPAIR doesn't mean damaged data, PG_STATE_IN…
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yehuda Sadeh [Tue, 5 Feb 2019 22:01:24 +0000 (14:01 -0800)]
Merge pull request #26273 from yehudasa/wip-38174
vstart.sh: fix params generation for monmaptool
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
David Zafman [Tue, 5 Feb 2019 19:31:32 +0000 (11:31 -0800)]
test: Ignore kill_daemons() error
Workaround for: http://tracker.ceph.com/issues/38195
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Mon, 4 Feb 2019 21:30:11 +0000 (13:30 -0800)]
test: Fix kill_daemon() to check after last large sleep
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 1 Feb 2019 23:02:57 +0000 (15:02 -0800)]
test: Increase timeouts in osd-backfill-space.sh because of failure seen
Fixes: http://tracker.ceph.com/issues/38027
Signed-off-by: David Zafman <dzafman@redhat.com>
Ilya Dryomov [Tue, 5 Feb 2019 18:44:36 +0000 (19:44 +0100)]
Merge pull request #26279 from idryomov/wip-krbd-bluestore
qa: objectstore snippets for krbd
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Ricardo Dias [Tue, 5 Feb 2019 16:06:21 +0000 (16:06 +0000)]
mgr/dashboard: ganesha: support no namespace
Signed-off-by: Ricardo Dias <rdias@suse.com>
Lenz Grimmer [Tue, 5 Feb 2019 15:18:44 +0000 (16:18 +0100)]
Merge pull request #25995 from tspmelo/wip-iscsi-ui
mgr/dashboard: iSCSI management UI
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sebastian Wagner [Tue, 5 Feb 2019 11:05:10 +0000 (12:05 +0100)]
mgr/orchestrator: fix broken `device ls`
* Added `InventoryDevice.from_ceph_volume_inventory`
* Improved documentation
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Tiago Melo [Tue, 15 Jan 2019 15:34:54 +0000 (15:34 +0000)]
mgr/dashboard: Add iSCSI Form UI
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Fri, 14 Dec 2018 14:46:20 +0000 (14:46 +0000)]
mgr/dashboard: Add read-only UI for iSCSI
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
Ricardo Dias [Tue, 5 Feb 2019 12:03:27 +0000 (12:03 +0000)]
mgr/dashboard: ganesha: notify ganesha daemons to reload configuration
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Tue, 5 Feb 2019 12:02:59 +0000 (12:02 +0000)]
mgr/dashboard: ganesha: add LookupError when checking RGW connectivity
Signed-off-by: Ricardo Dias <rdias@suse.com>
Tiago Melo [Fri, 18 Jan 2019 12:19:19 +0000 (12:19 +0000)]
mgr/dashboard: Fix TableComponent when changing columns afterViewInit
Angular was throwing an ExpressionChangedAfterItHasBeenCheckedError if you
changed columns information right after the table was initiated.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Wed, 16 Jan 2019 16:13:39 +0000 (16:13 +0000)]
mgr/dashboard: Set CdModal max-height
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Tue, 15 Jan 2019 15:49:14 +0000 (15:49 +0000)]
mgr/dashboard: Enhance CdValidators.validateIf method
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Tue, 15 Jan 2019 15:28:00 +0000 (15:28 +0000)]
mgr/dashboard: Add generic Select component
Signed-off-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Tue, 5 Feb 2019 11:41:48 +0000 (19:41 +0800)]
Merge pull request #26202 from smithfarm/wip-fix-s390x-rpm-build
rpm: package crypto libraries for all archs
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jeff Layton [Tue, 5 Feb 2019 10:59:17 +0000 (10:59 +0000)]
mgr/pybind/rados: add binding for rados_notify2
Add a new Ioctx.notify operation that we can call to send a rados
notification over an object.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Sebastian Wagner [Tue, 22 Jan 2019 15:30:01 +0000 (16:30 +0100)]
mgr/orchestrator: make use of @CLICommand
Also Modified some command to allow multiple hosts
Also: Added more tests
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Ilya Dryomov [Mon, 4 Feb 2019 19:43:38 +0000 (20:43 +0100)]
qa: objectstore snippets for krbd
krbd was being tested with filestore, up until recently when the
default for osd_objectstore was changed to bluestore. This broke
rbd_simple_big.yaml because bluestore_block_size defaults to 10G.
Pick up the sepia setting of 90G from bluestore-bitmap.yaml.
Run fsx subsuite with both filestore and bluestore.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Yehuda Sadeh [Tue, 5 Feb 2019 01:54:43 +0000 (17:54 -0800)]
Merge pull request #26106 from yehudasa/wip-rgw-es-fixes
rgw: multiple es related fixes and improvements
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Yehuda Sadeh [Tue, 5 Feb 2019 00:35:20 +0000 (16:35 -0800)]
vstart.sh: fix params generation for monmaptool
Fixes: http://tracker.ceph.com/issues/38174
This broke in the msgr21 case, due to bash globbing in cases where
the generated string somehow matched names of certain files in local
directory. Also need to pass params to the prun function separately,
otherwise everything is quoted together.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Patrick Donnelly [Mon, 4 Feb 2019 23:43:42 +0000 (15:43 -0800)]
Merge PR #26111 into master
* refs/pull/26111/head:
mds: broadcast quota message to client when disable quota
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Patrick Donnelly [Mon, 4 Feb 2019 23:39:52 +0000 (15:39 -0800)]
Merge PR #26123 into master
* refs/pull/26123/head:
mds: refactor MDSContext inheritance
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Sebastian Wagner [Mon, 4 Feb 2019 22:00:00 +0000 (23:00 +0100)]
Merge pull request #26023 from jmolmo/inventory_pb_updated
mgr/ansible: Replace Ansible playbook used to retrieve storage devices data
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
Yuri Weinstein [Mon, 4 Feb 2019 20:51:15 +0000 (12:51 -0800)]
Merge pull request #26170 from ifed01/wip-ifed-fix-fsck-read
os/bluestore: deep fsck fails on inspecting very large onodes
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Yuri Weinstein [Mon, 4 Feb 2019 20:50:45 +0000 (12:50 -0800)]
Merge pull request #26223 from majianpeng/remove-unused-function
osd: remove unused function.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Adam C. Emerson [Mon, 4 Feb 2019 18:08:20 +0000 (13:08 -0500)]
Merge pull request #25278 from ZVampirEM77/wip-deleteobject-policy
rgw: fix obj can still be deleted even if deleteobject policy is set
rgw: cleanup for RGWDeleteObj::verify_permission(
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Ilya Dryomov [Mon, 4 Feb 2019 14:13:18 +0000 (15:13 +0100)]
Merge pull request #26244 from idryomov/wip-krbd-alloc-size
krbd: alloc_size map option and tests
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Wed, 30 Jan 2019 10:51:58 +0000 (11:51 +0100)]
rpm: package crypto libraries for all archs
Since
318a8e3c079c937d4e006a9eb4f47c5349648360 we are now building at least the
openssl crypto plugin on all architectures, not just x86_64.
This fixes the non-x86_64 builds for master.
Fixes: 318a8e3c079c937d4e006a9eb4f47c5349648360
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Tatjana Dehler [Mon, 4 Feb 2019 10:32:41 +0000 (11:32 +0100)]
Merge pull request #25309 from Devp00l/wip-prometheus-alerting
mgr/dashboard: Prometheus integration
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sage Weil [Mon, 4 Feb 2019 05:59:54 +0000 (23:59 -0600)]
Merge PR #26256 into master
* refs/pull/26256/head:
msg/async/ProtocolV2: respect policy.resetcheck on cookie==0
Reviewed-by: Ricardo Dias <rdias@suse.com>
Radoslaw Zarzynski [Tue, 23 Oct 2018 09:31:31 +0000 (11:31 +0200)]
common: make CEPH_BUFFER_ALLOC_UNIT known at compile-time.
It sounds extremely unlikely that any platform Ceph targets can have
PAGE_SIZE lower than 4k. However, to handle these corner cases,
`bufferlist` was rounding to `CEPH_PAGE_SIZE` known at run-time only.
As a result, compilers were enforced to generate pretty inefficient
code like in `ceph::buffer::list::refill_append_space` (self is 1,10%):
```
│ min(const _Tp& __a, const _Tp& __b)
│ {
│ // concept requirements
│ __glibcxx_function_requires(_LessThanComparableConcept<_Tp>)
│ //return __b < __a ? __b : __a;
│ if (__b < __a)
5,44 │ mov _DYNAMIC+0x14a0,%rax
│ _Z11round_up_toImjENSt13make_unsignedINSt11common_typeIJT_T0_EE4typeEE4typeES2_S3_():
│ mov $0x1000,%ecx
│ _ZN4ceph6buffer4list19refill_append_spaceEj():
│ size_t alen = round_up_to(need, CEPH_BUFFER_ALLOC_UNIT) -
│ sizeof(raw_combined);
│ buffer::hangable_ptr& new_back = \
│ hangable_ptr::create(raw_combined::create(alen, 0, get_mempool()));
│ mov %rbp,%rdi
│ _Z11round_up_toImjENSt13make_unsignedINSt11common_typeIJT_T0_EE4typeEE4typeES2_S3_():
6,21 │ cmpl $0x1000,(%rax)
0,78 │ cmovbe (%rax),%ecx
│ mov %r12,%rax
│ xor %edx,%edx
0,78 │ mov %ecx,%ecx
45,59 │ div %rcx
```
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sage Weil [Sun, 3 Feb 2019 20:27:49 +0000 (14:27 -0600)]
build: disable kerberos for nautilus
We can re-enable after we branch. For N, though, there is no point in dragging
in the dependencies and implying there is something that works.
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 3 Feb 2019 17:37:02 +0000 (01:37 +0800)]
Merge pull request #26240 from votdev/improve_get_module_option
mgr: Use Py_BuildValue to create the argument tuple
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 3 Feb 2019 17:24:08 +0000 (01:24 +0800)]
Merge pull request #26233 from liewegas/wip-bluestore-disable-csum
os/bluestore: add bluestore_ignore_data_csum option
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Sun, 3 Feb 2019 17:22:11 +0000 (01:22 +0800)]
Merge pull request #25077 from rzarzynski/wip-bl-kill_append_buffer
common: drop append_buffer from bufferlist. Use simple carriage instead
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 3 Feb 2019 17:20:55 +0000 (01:20 +0800)]
Merge pull request #26245 from liewegas/wip-38150
os/bluestore/KernelDevice: use flock(2) for block device lock
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Sage Weil [Thu, 31 Jan 2019 22:52:09 +0000 (16:52 -0600)]
msg/async/ProtocolV2: respect policy.resetcheck on cookie==0
It's possible the accepting end knows the cookie but the connecting end
does not if the fault happens before it receives server_ident. If the
next connection attempt is in the other direction, we need to avoid a
reset or the queued messages at the first site will get lost.
Fixes: http://tracker.ceph.com/issues/38118
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Fri, 1 Feb 2019 09:35:33 +0000 (10:35 +0100)]
qa: update krbd tests for zeroout
Discard no longer guarantees zeroing, use BLKZEROOUT and "fallocate -z"
instead (blkdiscard(8) in xenial doesn't support -z).
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Thu, 31 Jan 2019 17:54:24 +0000 (18:54 +0100)]
qa: krbd discard with alloc_size vs zeroout tests
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Xie Xingguo [Sat, 2 Feb 2019 09:24:42 +0000 (17:24 +0800)]
Merge pull request #26179 from xiexingguo/wip-37968
crush: fix upmap overkill
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sat, 2 Feb 2019 07:45:44 +0000 (15:45 +0800)]
Merge pull request #26222 from tchaikov/wip-crimson-heartbeat
crimson/osd: add heartbeat support
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Fri, 25 Jan 2019 09:06:29 +0000 (17:06 +0800)]
cmake: disable GCC-9 warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 14 Jan 2019 08:59:09 +0000 (16:59 +0800)]
crimson/osd: add heartbeat support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Jan 2019 05:43:46 +0000 (13:43 +0800)]
crimson/osd: move "_preboot" log to where it belongs to
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Jan 2019 04:34:04 +0000 (12:34 +0800)]
crimson/osd: bind and listen
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Jan 2019 10:07:20 +0000 (18:07 +0800)]
crimson/net: add Messenger::try_bind()
in case the server is just fine with any unused local port number, and it
will report it to monitor.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Jan 2019 04:43:56 +0000 (12:43 +0800)]
crimson/osd: s/client_msgr/public_msgr/
because this messenger also serves requests from librados clients.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Jan 2019 03:21:27 +0000 (11:21 +0800)]
crimson/common: add pick_address.cc to crimson-common
crimson-osd needs pick_address() for initializing the listening
addresses.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Jan 2019 04:29:51 +0000 (12:29 +0800)]
common/pick_address: add necessary includes
* add needed forward declaration
* add necessary #includes
* move `#include "common/config.h"` to .cc, as it's not part of
interface.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 31 Jan 2019 04:22:44 +0000 (12:22 +0800)]
common/pick_address: conditional compile for crimson
crimson can only update configuration async, so we cannot let
pick_addreses() call set_val_or_die() without chaning its function
signature.
for implementing crimson-osd, what we need is only a single
pick_addresses() variant, which returns entity_addrvec_t. so we just
enable it if WITH_SEASTAR is defined instead of adding a wrapper or
reimplement all pick_addresses() variants for crimson-osd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 30 Jan 2019 13:03:20 +0000 (21:03 +0800)]
crimson/mon: add get_fsid() to mon::Client
we need it for creating some messages. `MOSDPing`, for instance.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 30 Jan 2019 08:35:55 +0000 (16:35 +0800)]
crimson/osd: define OSDMapService interface
* define OSDMapService interface to decouple the consumers of
this interface from its implementation -- the `OSD` class
* implement its methods in `OSD`
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 30 Jan 2019 08:39:13 +0000 (16:39 +0800)]
crimson/osd: add editor variable settings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 30 Jan 2019 08:13:53 +0000 (16:13 +0800)]
crimson/osd: remove unused method
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Wed, 23 Jan 2019 00:54:14 +0000 (16:54 -0800)]
mds: refactor MDSContext inheritance
This commit greatly simplifies things.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Xie Xingguo [Sat, 2 Feb 2019 00:26:50 +0000 (08:26 +0800)]
Merge pull request #26250 from falcon78921/wip-doc-rados-typo
doc: fixed typo in add-or-rm-mons.rst
Reviewed-by: Neha Ojha <nojha@redhat.com>
James McClune [Fri, 1 Feb 2019 22:12:24 +0000 (17:12 -0500)]
doc: fixed typo in add-or-rm-mons.rst
Redundant use of the word "monitor"
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
Radoslaw Zarzynski [Sun, 18 Nov 2018 04:32:32 +0000 (05:32 +0100)]
common: drop decltype(_buffers) from include/buffers.h.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Fri, 19 Oct 2018 17:09:35 +0000 (19:09 +0200)]
tests: introduce BufferList.ContiguousAppender.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 13 Nov 2018 01:15:36 +0000 (02:15 +0100)]
common: optimize bufferlist::contiguous_appender.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Mon, 22 Oct 2018 16:22:52 +0000 (18:22 +0200)]
common: introduce obtain_contiguous_space() to bufferlist.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Fri, 19 Oct 2018 17:09:16 +0000 (19:09 +0200)]
tests: introduce BufferList.InternalCarriage.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Mon, 22 Oct 2018 16:19:52 +0000 (18:19 +0200)]
common: introduce bl::_carriage to track writeable area.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 20 Sep 2018 12:12:07 +0000 (08:12 -0400)]
common: kill remainings of bufferlist's append_buffer.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Wed, 19 Sep 2018 00:11:25 +0000 (20:11 -0400)]
common: simplify the C-string-taking variant of bl::append().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Fri, 19 Oct 2018 10:52:45 +0000 (12:52 +0200)]
tests: introduce BufferListIterator.iterate_with_empties.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 18 Sep 2018 20:03:06 +0000 (22:03 +0200)]
common: bufferlist can contain 0-length bptrs.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 18 Sep 2018 02:40:29 +0000 (04:40 +0200)]
common: contiguous_appender doesn't use append_buffer anymore.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Mon, 17 Sep 2018 23:15:24 +0000 (01:15 +0200)]
common: bl::appends don't use the append_buffer anymore.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sage Weil [Fri, 1 Feb 2019 18:43:03 +0000 (12:43 -0600)]
Merge PR #25703 into master
* refs/pull/25703/head:
os/bluestore: option to disable bluestore warns on spillover.
mon: expose object store health warnings
osd: expose object store alerts
os/bluestore: indicate BlueFS spillover and lacking compressor alerts
os:enable ObjectStore::statfs() api to return OS alert list.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Feb 2019 18:42:38 +0000 (12:42 -0600)]
Merge PR #25773 into master
* refs/pull/25773/head:
common: Use OpenSSL for cryptographic hashing
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 1 Feb 2019 18:41:25 +0000 (12:41 -0600)]
Merge PR #26067 into master
* refs/pull/26067/head:
pybind/rados: fix application metadata list
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 1 Feb 2019 18:40:55 +0000 (12:40 -0600)]
Merge PR #26112 into master
* refs/pull/26112/head:
mgr: load modules in finisher to avoid potential lock cycles
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Sage Weil [Fri, 1 Feb 2019 18:40:12 +0000 (12:40 -0600)]
Merge PR #26164 into master
* refs/pull/26164/head:
mon/LogMonitor: lower logging level for check_sub
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 1 Feb 2019 17:39:41 +0000 (11:39 -0600)]
os/bluestore/KernelDevice: use flock(2) for block device lock
The fcntl locks fail due to the classic posix lock gotcha: if you close
*any* fd to the same inode from the process, the lock(s) go away.
Use flock(2) instead. We have to be careful because we open the main
bluestore device via two KernelDevice instances: one for bluestore and
one for bluefs. Add a no-lock flag so that the bluefs instance does not
try to lock and does not conflict with bluestore's.
Fixes: http://tracker.ceph.com/issues/38150
Signed-off-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Thu, 31 Jan 2019 15:59:11 +0000 (16:59 +0100)]
rbd: recognize alloc_size map option
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Kefu Chai [Fri, 1 Feb 2019 16:01:58 +0000 (00:01 +0800)]
Merge pull request #26224 from tchaikov/radek-lru-cleanup
common: drop the unused methods from SharedLRU.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sebastian Wagner [Fri, 1 Feb 2019 15:42:36 +0000 (16:42 +0100)]
Merge pull request #26171 from sebastian-philipp/orchestrator-merge-create-add
mgr/orchestrator: Unify `osd create` and `osd add`
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Patrick Nawracay [Fri, 1 Feb 2019 15:09:11 +0000 (16:09 +0100)]
Merge pull request #26151 from nathan-weinberg/cluster-tests
mgr/dashboard: Added additional breadcrumb and tab tests to Cluster menu
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>