]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Adam C. Emerson [Fri, 29 Mar 2019 00:37:34 +0000 (20:37 -0400)]
objclass: Update objclass.h to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:37:14 +0000 (20:37 -0400)]
os: Update ObjectStore.h to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:37:03 +0000 (20:37 -0400)]
os: Update ObjectMap.h to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:35:02 +0000 (20:35 -0400)]
osd: Update PGPeeringEvent.h to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:34:51 +0000 (20:34 -0400)]
osd: Update Watch.h to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:34:26 +0000 (20:34 -0400)]
osd: Update OSDMapMapping to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:34:05 +0000 (20:34 -0400)]
osd: Update ECMsgTypes to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:33:45 +0000 (20:33 -0400)]
osd: Update HitSet to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:33:28 +0000 (20:33 -0400)]
osd: Update OSDMap to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:33:05 +0000 (20:33 -0400)]
osd: Update OpRequest to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:32:43 +0000 (20:32 -0400)]
osd: Update osd_types to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:31:55 +0000 (20:31 -0400)]
osdc: Update Filer.h to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:31:17 +0000 (20:31 -0400)]
osdc: Update Striper to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 29 Mar 2019 00:30:44 +0000 (20:30 -0400)]
osdc: Update Objecter to work without using namespace
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Sage Weil [Mon, 25 Mar 2019 18:15:16 +0000 (13:15 -0500)]
Merge PR #27124 into master
* refs/pull/27124/head:
osd/pg: use emplace() to construct new element in-place
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 25 Mar 2019 18:14:41 +0000 (13:14 -0500)]
Merge PR #27079 into master
* refs/pull/27079/head:
mgr/pg_autoscaler: Fix python3 incompatibility
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Mon, 25 Mar 2019 18:14:11 +0000 (13:14 -0500)]
Merge PR #27113 into master
* refs/pull/27113/head:
mgr/diskprediction_cloud: Correct base64 encode translate table
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 25 Mar 2019 18:08:56 +0000 (13:08 -0500)]
Merge PR #27156 into master
* refs/pull/27156/head:
common/blkdev: get_device_id: behave if model is lvm and id_model_enc isn't there
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Mon, 25 Mar 2019 17:22:39 +0000 (13:22 -0400)]
Merge pull request #26100 from ceph/wip-s3a-hadoop-ver
qa/tests: update s3a hadoop versions used for test
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Mon, 25 Mar 2019 15:38:50 +0000 (23:38 +0800)]
Merge pull request #27150 from tchaikov/wip-ceph.spec.in/immutable-object-cache
rpm: immutable-object-cache related changes
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Mon, 25 Mar 2019 15:29:46 +0000 (23:29 +0800)]
Merge pull request #27126 from tchaikov/wip-monclient-srv-priority
mon/MonClient: add proper SRV priority support
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
J. Eric Ivancich [Mon, 25 Mar 2019 15:11:48 +0000 (11:11 -0400)]
Merge pull request #25808 from joke-lee/fix_dump_usage_categories_info
rgw: usage dump_unsigned instead dump_int in dump_usage_categories_info
Reviewed-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Mon, 25 Mar 2019 15:11:17 +0000 (11:11 -0400)]
Merge pull request #26070 from iliul/fix-bug-38002
rgw: Replace COMPLETE_MULTIPART_MAX_LEN with rgw_max_put_param_size
Reviewed-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Mon, 25 Mar 2019 15:10:20 +0000 (11:10 -0400)]
Merge pull request #26947 from IrekFasikhov/fixRGWMultiDeleteObject
rgw: fix RGWDeleteMultiObj::verify_permission()
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Sage Weil [Mon, 25 Mar 2019 12:10:21 +0000 (07:10 -0500)]
common/blkdev: get_device_id: behave if model is lvm and id_model_enc isn't there
If that happens, leave ID_MODEL blank and we'll fall back to something
else, like ID_SERIAL (which is present in each case I've seen this).
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Mon, 25 Mar 2019 12:56:57 +0000 (08:56 -0400)]
Merge pull request #26634 from theanalyst/scheduler-beast-ctx
rgw: build async scheduler only when beast is built
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Lenz Grimmer [Mon, 25 Mar 2019 11:43:56 +0000 (12:43 +0100)]
Merge pull request #25451 from nathan-weinberg/gateway-tests
mgr/dashboard: Added breadcrumb tests to Object Gateway menu items
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Mon, 25 Mar 2019 11:21:02 +0000 (12:21 +0100)]
Merge pull request #26850 from nathan-weinberg/nfs-breadcrumb
mgr/dashboard: Added breadcrumb tests to NFS menu
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Mon, 25 Mar 2019 05:51:41 +0000 (13:51 +0800)]
rpm,deb: let immutable-object-cache depend on librados2
ceph-common depends on librados2, but ceph-immutable-object-cache only
uses librados2's C++ API, so librados2 would suffice.
rpmbuild is able to figure out the .so dependencies, and let
ceph-immutable-object-cache depend on the package which offers
librados2, but we'd better make sure immutable-object-cache is linked
against the librados2 of the same version, to ensure that librados2
offers the correct C++ symbols. as we only version the C++ API in the
librados2 after nautilus.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Xie Xingguo [Mon, 25 Mar 2019 05:28:41 +0000 (13:28 +0800)]
Merge pull request #27090 from xiexingguo/wip-config-mon-core
mon/ConfigMonitor: make 'num' of 'config reset' optional; allow target version 0
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 25 Mar 2019 04:46:22 +0000 (12:46 +0800)]
rpm: remove libradospp1 from immutable-object-cache's Requires
* remove "libradospp1" from immutable-object-cache's runtime
dependencies. this package was removed in
65c8733b
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 24 Mar 2019 14:08:36 +0000 (22:08 +0800)]
rpm: do not use "-n" for immutable-object-cache
as immutable-object-cache has the prefix of "ceph", no need to use "-n"
option. so this change is but a cleanup.
* use "%package immutable-object-cache" not "%package
ceph-immutable-object-cache" for naming subpackage of
"ceph-immutable-object-cache". this would result in package name of
"ceph-immutable-object-cache". see
http://ftp.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html
* the same applies to other directives with "-n" options, see
http://ftp.rpm.org/max-rpm/s1-rpm-inside-package-directive.html
Signed-off-by: Kefu Chai <kchai@redhat.com>
Zengran Zhang [Fri, 22 Mar 2019 13:36:47 +0000 (21:36 +0800)]
osd/pg: use emplace() to construct new element in-place
replace emplace() and emplace_back() with insert() and push_back()
calls to construct the new element in-place and avoid the overhead
of move constructor calls
Signed-off-by: Zengran Zhang <zhangzengran@sangfor.com.cn>
xie xingguo [Thu, 21 Mar 2019 09:14:27 +0000 (17:14 +0800)]
mon/ConfigMonitor: make 'num' of 'config reset' command optional
This way it can be used to fast cancel/undo the last command.
Also make the tip message a litter bit nicer..
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sun, 24 Mar 2019 15:25:45 +0000 (10:25 -0500)]
Merge PR #27147 into master
* refs/pull/27147/head:
qa/workunits/mon/config.sh: s|bin/ceph|ceph|
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Sun, 24 Mar 2019 02:46:58 +0000 (10:46 +0800)]
Merge pull request #26531 from majianpeng/msg-async-optimization
msg/async: optimizations
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Sun, 24 Mar 2019 02:28:25 +0000 (10:28 +0800)]
Merge pull request #27107 from neha-ojha/wip-38845
mon/Monitor.cc: print min_mon_release correctly
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 24 Mar 2019 02:26:44 +0000 (10:26 +0800)]
Merge pull request #27097 from tchaikov/wip-option-sv-as-keys
common/config: use string_view for keys
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sun, 24 Mar 2019 02:23:05 +0000 (10:23 +0800)]
Merge pull request #26220 from ashitakasam/master
common/Formatter: escape printed buffer in XMLFormatter::dump_format_va()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 23 Mar 2019 20:09:29 +0000 (15:09 -0500)]
Merge PR #27138 into master
* refs/pull/27138/head:
qa/suites/upgrade/nautilus-x: misc updates
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Kefu Chai [Sat, 23 Mar 2019 14:43:03 +0000 (22:43 +0800)]
qa/workunits/mon/config.sh: s|bin/ceph|ceph|
so we can verify that ceph is able to reject wrong debug levels.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 23 Mar 2019 11:40:34 +0000 (19:40 +0800)]
Merge pull request #27143 from dzafman/wip-38896
doc: Fix the pg states and auto repair config options
Reviewed-by: Kefu Chai <kchai@redhat.com>
David Zafman [Fri, 22 Mar 2019 23:47:23 +0000 (16:47 -0700)]
doc: Fix the pg states and auto repair config options
Fixes: http://tracker.ceph.com/issues/38896
Signed-off-by: David Zafman <dzafman@redhat.com>
Neha Ojha [Fri, 22 Mar 2019 23:33:09 +0000 (16:33 -0700)]
Merge pull request #27140 from neha-ojha/wip-fix-cron
qa/crontab/teuthology-cronjobs: fix suite-branch
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Yuri Weinstein [Fri, 22 Mar 2019 22:45:50 +0000 (15:45 -0700)]
Merge pull request #27129 from yuriw/wip-yuriw-subsets-master
qa/tests: added the subset clause for nautilus branch
Neha Ojha [Fri, 22 Mar 2019 22:29:04 +0000 (15:29 -0700)]
qa/crontab/teuthology-cronjobs: fix suite-branch
Signed-off-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 22 Mar 2019 21:38:27 +0000 (16:38 -0500)]
qa/suites/upgrade/nautilus-x: misc updates
- start with msgr2 enabled (defaults)
- run nautilus branch for workunits
- drop msgr2 enable step at teh end
- add octopus placeholder (although it is empty for now)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Mar 2019 21:30:25 +0000 (16:30 -0500)]
Merge PR #26939 into master
* refs/pull/26939/head:
os/bluestore: unconditionally cap chunks returned by allocator to 2^31
os/bluestore: start using 64-bit intervals for bitmap allocator
os/bluestore: make bluestore interval base template.
tests/fastbmap_alloc: UT to reproduce 4G allocation bug
os/bluestore: os/bluestore: implement dump for bitmap allocator
os/bluestore be more tolerant to lack of space for bluefs.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Mar 2019 21:28:09 +0000 (16:28 -0500)]
Merge PR #27086 into master
* refs/pull/27086/head:
msg: remove unused header file in Messenger.h
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 22 Mar 2019 21:27:32 +0000 (16:27 -0500)]
Merge PR #27111 into master
* refs/pull/27111/head:
pybind/rados: should pass "name" to cstr()
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 22 Mar 2019 21:26:53 +0000 (16:26 -0500)]
Merge PR #27112 into master
* refs/pull/27112/head:
qa/suites: do not test luminous-x upgrade path
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Casey Bodley [Fri, 22 Mar 2019 20:45:58 +0000 (16:45 -0400)]
Merge pull request #27047 from tianshan/fix_38811
rgw: fix read not exists null version return wrong
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 22 Mar 2019 20:24:15 +0000 (16:24 -0400)]
Merge pull request #27102 from adamemerson/wip-one-rados-handle-to-rule-them-all
One Rados Handle to Rule Them All
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 22 Mar 2019 20:23:39 +0000 (16:23 -0400)]
Merge pull request #25999 from cbodley/wip-37945
rgw: Fix S3 compatibility bug when CORS is not found
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Fri, 22 Mar 2019 20:23:06 +0000 (16:23 -0400)]
Merge pull request #26998 from cbodley/wip-38328
rgw: don't crash on missing /etc/mime.types
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Fri, 22 Mar 2019 20:22:21 +0000 (16:22 -0400)]
Merge pull request #26952 from cbodley/wip-rgw-bucket-tagging-notsupp
rgw: reject bucket tagging requests and document unsupported
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Fri, 22 Mar 2019 20:21:47 +0000 (16:21 -0400)]
Merge pull request #26722 from cbodley/wip-rgw-sync-counters
rgw multisite: add perf counters to data sync
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Fri, 22 Mar 2019 20:20:57 +0000 (16:20 -0400)]
Merge pull request #27008 from ofriedma/wip-34308-beast-tcp-nodelay
rgw: Adding tcp_nodelay option to Beast
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Neha Ojha [Fri, 22 Mar 2019 19:12:31 +0000 (12:12 -0700)]
Merge pull request #27105 from neha-ojha/wip-21174
osd/PGLog.h: print olog_can_rollback_to before deciding to rollback
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Xie Xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 22 Mar 2019 17:47:00 +0000 (01:47 +0800)]
Merge pull request #26819 from tchaikov/wip-rpm-more-recommends
rpm: use Recommends on fedora also
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Kefu Chai [Fri, 22 Mar 2019 17:22:49 +0000 (01:22 +0800)]
Merge pull request #27108 from tchaikov/wip-crimson-vstart.sh
vstart.sh: add an option to use crimson-osd
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Neha Ojha [Thu, 21 Mar 2019 22:12:20 +0000 (15:12 -0700)]
osd/PGLog.h: print olog_can_rollback_to before deciding to rollback
This is particularly important as the crt might have changed before
being passed to merge_object_divergent_entries().
Fixes: http://tracker.ceph.com/issues/38894
Signed-off-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 22 Mar 2019 17:07:50 +0000 (10:07 -0700)]
Merge pull request #27083 from neha-ojha/wip-38635
qa/objectstore: test with reduced value of osd_memory_target
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
chunmei Liu [Sat, 9 Mar 2019 01:28:16 +0000 (17:28 -0800)]
vstart.sh: pass osd specific options to OSD
--osd-args : for passing osd specific args
this allows us to pass seastar related options to crimson-osd
Signed-off-by: chunmei Liu <chunmei.liu@intel.com>
Yuri Weinstein [Fri, 22 Mar 2019 15:21:29 +0000 (08:21 -0700)]
qa/tests: added the subset clause for nuatilis branch
--subset x/2999 should generate ~250 jobs as result
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 06:58:46 +0000 (14:58 +0800)]
qa/suites: do not test luminous-x upgrade path
in this change,
* suites/rados/upgrade: luminous-x-singleton => mimic-x-singleton
* suites/upgrade: luminous-x => nautilus-x
we support upgrade from n to n+2 release. otherwise monitor refuses to
do so:
mon.a@-1(probing) e1 current monmap has min_mon_release 15 (luminous)
which is >2 releases older than me 15 (octopus), stopping.
Fixes: https://tracker.ceph.com/issues/38845
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 13:36:13 +0000 (21:36 +0800)]
mon/MonClient: take all-0 weights as a special case
if all weights of monitors are 0, it means the administrator want to use
uniform distribution for the load balance. see page.2 of
https://www.ietf.org/rfc/rfc2782.txt .
so remove the default weight of 10.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Thu, 14 Mar 2019 13:27:36 +0000 (09:27 -0400)]
rgw: reject bucket tagging requests and document unsupported
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 13:28:26 +0000 (21:28 +0800)]
common/weighted_shufft: rewrite it to avoid copyright issue
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 11:32:32 +0000 (19:32 +0800)]
mon/MonClient: respect priority in SRV
before this change, we always choose the monitors with the lowest
priority and ignore the ones with higher priorty. but per
https://www.ietf.org/rfc/rfc2782.txt
> A client MUST attempt to contact the target host with the
> lowest-numbered priority it can reach
so, if a monitor is not reachable, we should try the ones with the
lowest ones *reachable*.
after this change, MonClient will memorize the monitors have been
contacted. and will continue hunting the ones not tried if the last
batch fail.
Signed-off-by: Kefu Chai <kchai@redhat.com>
hsiang41 [Fri, 22 Mar 2019 07:41:43 +0000 (15:41 +0800)]
mgr/diskprediction_cloud: Correct base64 encode translate table
Correct base64 encode/decode string translate table
Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
Jason Dillaman [Fri, 22 Mar 2019 12:21:50 +0000 (08:21 -0400)]
Merge pull request #25545 from zhouyuan/wip-ceph-immutable-obj-cache-daemon
tools: adding ceph level immutable obj cache daemon
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
Jason Dillaman [Fri, 22 Mar 2019 12:19:27 +0000 (08:19 -0400)]
Merge pull request #26675 from trociny/wip-rbd-io-simple-scheduler
librbd: simple scheduler plugin for object dispatcher layer
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Marius Schiffer [Wed, 20 Mar 2019 17:42:45 +0000 (18:42 +0100)]
mgr/pg_autoscaler: Fix python3 incompatibility
Fixes: http://tracker.ceph.com/issues/38626
Signed-off-by: Marius Schiffer <marius@mschiffer.de>
ofriedma [Sat, 16 Mar 2019 19:38:08 +0000 (21:38 +0200)]
rgw: Adding tcp_nodelay option to Beast
beast frontend option to set the TCP_NODELAY socket option to match the tcp_nodelay option in civetweb.
Fixes: https://tracker.ceph.com/issues/34308
Signed-off-by: Or Friedmann <ofriedma@redhat.com>
xie xingguo [Thu, 21 Mar 2019 08:19:49 +0000 (16:19 +0800)]
mon/ConfigMonitor: kill improper assert
otherwise it can be reliably triggerred by the following command:
ceph config reset 0
There are two ways to fix this problem:
- add some more santicy checks and prevent user from passing in
any kind of non-positive (not permitted) value
- kill the assert instead
Option 2 sounds to be the preferred choice for me since "0" in general
is the natural representation of "nothing" and hence could always
be used to revert everything to its default or initiative state.
But perhaps I am the only one?
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Lenz Grimmer [Fri, 22 Mar 2019 10:30:03 +0000 (11:30 +0100)]
Merge pull request #27098 from ming416/master
mgr/dashboard: auth ttl expired error
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sage Weil [Fri, 22 Mar 2019 10:07:37 +0000 (05:07 -0500)]
Merge PR #27070 into master
* refs/pull/27070/head:
osd/OSDMap: add 'zone' to default crush map
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sage Weil [Fri, 22 Mar 2019 09:52:25 +0000 (04:52 -0500)]
Merge PR #27020 into master
* refs/pull/27020/head:
common/blkdev: handle devices with ID_MODEL as "LVM PV ..." but valid ID_MODEL_ENC
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 22 Mar 2019 09:42:29 +0000 (04:42 -0500)]
Merge PR #27021 into master
* refs/pull/27021/head:
msg: remove XioMessenger
qa/suites/rados/thrash-old-clients: add nautilus
qa/suites/rados/thrash-old-clients: add mimic v1 variant
qa/suites/rados/thrash-old-clients: add mimic
qa/suites/rados/thrash-old-clients: collapse msgr and client choice
qa: remove simplemessenger tests
ceph_test_msgr: remove simple
msg: remove SimpleMessenger
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 22 Mar 2019 09:29:03 +0000 (04:29 -0500)]
Merge PR #27101 into master
* refs/pull/27101/head:
mon/MgrStatMonitor: ensure only one copy of initial service map
Reviewed-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Fri, 22 Mar 2019 01:43:14 +0000 (18:43 -0700)]
mon/Monitor.cc: print min_mon_release correctly
Signed-off-by: Neha Ojha <nojha@redhat.com>
ming416 [Fri, 22 Mar 2019 08:56:10 +0000 (16:56 +0800)]
mgr/dashboard: auth ttl expired error
Fixes: https://tracker.ceph.com/issues/38428
Signed-off-by: ming416 <geenature@163.com>
Kefu Chai [Fri, 22 Mar 2019 07:43:04 +0000 (15:43 +0800)]
Merge pull request #26940 from xiexingguo/wip-monc-add-con
mon/MonClient: weight-based mon selection
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 07:42:13 +0000 (15:42 +0800)]
Merge pull request #26955 from liewegas/wip-slow-add
crush: various fixes for weight-sets, the osd_crush_update_weight_set option, and tests
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 22 Mar 2019 07:39:11 +0000 (15:39 +0800)]
Merge pull request #26950 from xiexingguo/wip-mgr-fixes
mgr/Mgr: kill redundant sub_unwant call
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 07:36:30 +0000 (15:36 +0800)]
Merge pull request #27068 from hjwsm1989/upmap-filter-out-underfull-buckets
crush: add root_bucket to identify underfull buckets
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Fri, 22 Mar 2019 07:31:53 +0000 (15:31 +0800)]
Merge pull request #27067 from SUSE/wip-fix-38788
cmake: remove cython 0.29's subinterpreter check during install
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 07:31:07 +0000 (15:31 +0800)]
Merge pull request #26923 from majianpeng/msg-optimize-check-loopback-con
msg/async/AsyncConnection: optimize check loopback connection.
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Fri, 22 Mar 2019 07:28:49 +0000 (15:28 +0800)]
Merge pull request #27076 from MariusSchiffer/ceph-mgr-python3-fix
mgr/balancer: Python 3 compatibility fix
Reviewed-by: Kai Wagner <kwagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 06:25:12 +0000 (14:25 +0800)]
pybind/rados: should pass "name" to cstr()
it's a regression introduced by
6cb23f9c
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 18 Feb 2019 11:23:22 +0000 (19:23 +0800)]
vstart.sh: add an option to use crimson-osd
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 05:40:15 +0000 (13:40 +0800)]
Merge pull request #27106 from dalgaaf/dalgaaf-wip-fix-lrc-doc
doc: fix LRC documentation
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 22 Mar 2019 05:37:01 +0000 (13:37 +0800)]
Merge pull request #27071 from tchaikov/wip-crimson-osd-peering
crimson/osd: add minimal state machine for PG peering
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Mon, 25 Feb 2019 16:26:36 +0000 (00:26 +0800)]
crimson/osd: add minimal PG recovery FSM
after this change, PG is able to go clean as primary
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 8 Mar 2019 13:01:07 +0000 (21:01 +0800)]
crimson/osd: advance pg in consume_map()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 8 Mar 2019 03:45:20 +0000 (11:45 +0800)]
crimson/osd/pg: update info.stats
PG.info.stats is sent to mgr periodically for PG stats reporting,
also, it is sent to peer OSD in MOSDPGLog message when PG performs
peering. we need to keep it updated.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 4 Mar 2019 02:58:12 +0000 (10:58 +0800)]
crimson/osd: add more peering facilities
* add PG::should_restart_peering() for telling if we should start
a peering at seeing a new mapping
* add PG::start_peering_interval() for starting a peering
* add PG::activate() for activating a PG
* add PG::on_activated() to be called once a PG is activated
* add PG::send_to_osd() for sending message to given OSD
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 12 Mar 2019 12:26:25 +0000 (20:26 +0800)]
crimson/osd: add operator<< for PG
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 5 Mar 2019 12:55:45 +0000 (20:55 +0800)]
crimson/osd/pg: add peer_activated
add facilities for updating peer_activated. it is used for tracking the
peers has activated and committed. once all of them ack the activation
proposed by primary, the PG is considered activated.
Signed-off-by: Kefu Chai <kchai@redhat.com>