]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Wed, 5 Jun 2019 07:18:07 +0000 (15:18 +0800)]
crimson/osd/osd.cc: add editor variables/options
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 07:04:15 +0000 (15:04 +0800)]
crimson/osd: s/ostream/std::ostream/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 5 Jun 2019 07:00:28 +0000 (15:00 +0800)]
crimson/osd: mark one of PG::do_peering_event()s private
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Wed, 5 Jun 2019 00:37:26 +0000 (17:37 -0700)]
Merge PR #28324 into master
* refs/pull/28324/head:
client: clean up error checking and return of _lookup_parent
client: drop Client::lookup_parent
Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Patrick Donnelly [Wed, 5 Jun 2019 00:36:04 +0000 (17:36 -0700)]
Merge PR #28116 into master
* refs/pull/28116/head:
client: fix "ceph.snap.btime" vxattr value
client: fix "ceph.dir.rctime" vxattr value
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 23:22:26 +0000 (16:22 -0700)]
Merge PR #28371 into master
* refs/pull/28371/head:
qa: fix kclient symlink to use latest rhel7
qa: fix latest distros and add helper symlinks
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 23:21:22 +0000 (16:21 -0700)]
Merge PR #28148 into master
* refs/pull/28148/head:
common/secret.c: fix key parsing when doing a remount
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
Boris Ranto [Tue, 4 Jun 2019 21:31:24 +0000 (23:31 +0200)]
Merge pull request #26415 from zmc/wip-populate-grafana
mgr/dashboard: Push Grafana dashboards on startup
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Andrew Schoen [Tue, 4 Jun 2019 21:24:17 +0000 (16:24 -0500)]
Merge pull request #28294 from alfredodeza/wip-rm40063
ceph-volume: pass --ssh-config to pytest to resolve hosts when connecting
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
Boris Ranto [Tue, 4 Jun 2019 20:52:54 +0000 (22:52 +0200)]
Merge pull request #28228 from jan--f/spec-grafana-dashboards-require-grafana
ceph.spec.in: grafana-dashboards package depends on grafana
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Zack Cerza [Tue, 22 Jan 2019 00:30:44 +0000 (17:30 -0700)]
mgr/dashboard: Push Grafana dashboards on startup
Because we didn't have viable way to populate Grafana dashboards in a
fully containerized context, we needed a different method. This will
work in packaged and containerized deployments.
We provide three methods to push the dashboard JSON files to the Grafana
instance: a command (ceph dashboard update-grafana-dashboards); an API
endpoint (/api/grafana/update_dashboards); and an automatic on-startup
feature that is disabled by default (ceph dashboard
set-grafana-update-dashboards true). The on-startup method will also
retry periodically to avoid racing with the startup of Grafana itself.
Signed-off-by: Zack Cerza <zack@redhat.com>
Abhishek L [Tue, 4 Jun 2019 19:22:50 +0000 (21:22 +0200)]
Merge pull request #28385 from theanalyst/doc/releases/13.2.6
doc: add release notes for v13.2.6 mimic
Reviewed-By: Sage Weil <sage@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 19:11:23 +0000 (12:11 -0700)]
Merge PR #28236 into master
* refs/pull/28236/head:
doc: Fix incorrect indentations in cephfs-shell
doc: Add usage for stat command in cephfs-shell
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 19:06:51 +0000 (15:06 -0400)]
Merge pull request #28386 from cbodley/wip-vstart-rgw-run
vstart: fix run() invocation for rgw
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 18:26:16 +0000 (14:26 -0400)]
vstart: fix run() invocation for rgw
add an extra argument to run() for rgw so that --redirect-output
sends stdout to rgw.{port}.stdout
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 17:46:26 +0000 (10:46 -0700)]
Merge PR #28384 into master
* refs/pull/28384/head:
mgr/volumes: fix subvolume creation with quota
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Ramana Raja [Mon, 3 Jun 2019 09:46:18 +0000 (15:16 +0530)]
mgr/volumes: fix subvolume creation with quota
A quota is set on a subvolume by setting a quota virtual
xattr on a fs subdirectory. The value of the quota xattr
should be a bytes object. The quota value wasn't correctly
converted to a bytes object. Fix this.
Fixes: http://tracker.ceph.com/issues/40152
Signed-off-by: Ramana Raja <rraja@redhat.com>
Kefu Chai [Tue, 4 Jun 2019 16:50:02 +0000 (00:50 +0800)]
Merge pull request #28252 from tchaikov/wip-cmake-cleanup
cmake: cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Patrick Donnelly [Tue, 4 Jun 2019 16:08:55 +0000 (09:08 -0700)]
Merge PR #28380 into master
* refs/pull/28380/head:
mgr/volumes: convert string to bytes object
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Abhishek Lekshmanan [Tue, 4 Jun 2019 15:20:33 +0000 (17:20 +0200)]
doc: add release notes for v13.2.6 mimic
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Rishabh Dave [Tue, 4 Jun 2019 12:26:11 +0000 (17:56 +0530)]
mgr/volumes: convert string to bytes object
mount method in libcephfs's cython modules expects filesystem_name to
be a bytes object. Therefore, convert string to bytes object
beforehand.
Fixes: http://tracker.ceph.com/issues/39750
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Kefu Chai [Tue, 4 Jun 2019 12:59:24 +0000 (20:59 +0800)]
cmake: extract rgw_*_scheduler.cc into rgw_schedulers
i was running into following issue:
../../../lib/libradosgw_a.a(rgw_loadgen_process.cc.o): In function
`RGWLoadGenProcess::run()':
/home/jenkins-build/build/workspace/ceph-pull-requests/src/rgw/rgw_loadgen_process.cc:102:
undefined reference to `signal_shutdown()'
collect2: error: ld returned 1 exit status
signal_shutdown() is only used by rgw_main.cc to notify the main thread,
but we don't need this facility in unit test exercising the schedulers,
so, in this change, rgw schedulers are extracted into librgw_schedulers,
so this library can be consumed by the unit test.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 12:07:17 +0000 (08:07 -0400)]
Merge pull request #28243 from cbodley/wip-40022
radosgw-admin: fix syncs_from in 'bucket sync status'
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 12:04:54 +0000 (08:04 -0400)]
Merge pull request #28156 from cbodley/wip-rgw-realm-list-api
rgw: add 'GET /admin/realm?list' api to list realms
Reviewed-by: Alfonso MartÃnez <almartin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Tue, 4 Jun 2019 12:03:28 +0000 (08:03 -0400)]
Merge pull request #28345 from tianshan/fix_http_return_check
rgw: fix miss handle curl error return
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 12:03:00 +0000 (08:03 -0400)]
Merge pull request #28303 from cbodley/wip-39992
rgw: fetch_remote_obj() compares expected object size
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
Casey Bodley [Tue, 4 Jun 2019 12:00:27 +0000 (08:00 -0400)]
Merge pull request #28188 from tianshan/fix_39984
rgw: fix bucket may redundantly list keys after BI_PREFIX_CHAR
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 4 Jun 2019 11:53:43 +0000 (07:53 -0400)]
Merge pull request #27993 from liuchang0812/rgw-bucket-tagging
rgw: bucket tagging
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Chang Liu [Fri, 17 May 2019 02:53:32 +0000 (10:53 +0800)]
rgw: cleanup bucket tags code
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Tue, 14 May 2019 14:11:40 +0000 (22:11 +0800)]
rgw: show bucket tagging when user stats bucket
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Casey Bodley [Mon, 3 Jun 2019 14:59:00 +0000 (10:59 -0400)]
test/rgw: test truncated reads in RGWHTTPManager
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Tianshan Qu [Fri, 31 May 2019 10:37:44 +0000 (18:37 +0800)]
rgw: fix miss handle curl error return
if meet tcp packet loss, curl return will be result=18(CURLE_PARTIAL_FILE)
and http_status=200, so sync will continue and cause content miss match.
Fixes: https://tracker.ceph.com/issues/39992
Signed-off-by: Tianshan Qu <tianshan@xsky.com>
Kefu Chai [Tue, 4 Jun 2019 02:57:12 +0000 (10:57 +0800)]
Merge pull request #28362 from cyx1231st/wip-seastar-fix-random-failure
test/crimson: fix msgr test of ref counter racing
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yingxin Cheng [Mon, 3 Jun 2019 13:15:42 +0000 (21:15 +0800)]
test/crimson: fix msgr test of ref counter racing
Foreign-dispatch in crimson-messenger is not implemented yet, and no
need to test this feature now.
Fixes: http://tracker.ceph.com/issues/36405
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
Chang Liu [Tue, 14 May 2019 14:11:05 +0000 (22:11 +0800)]
rgw: simplify RGWObjTags dump
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 13:30:39 +0000 (21:30 +0800)]
doc: bucket tagging is supported now
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 13:24:43 +0000 (21:24 +0800)]
rgw: forwards to master and uses gw_bucket_set_attrs
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 09:16:03 +0000 (17:16 +0800)]
rgw: make max number of bucket/object tags configurble
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Wed, 8 May 2019 04:07:51 +0000 (12:07 +0800)]
rgw: iam policy about bucket tagging
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Tue, 7 May 2019 07:52:17 +0000 (15:52 +0800)]
rgw: impl put_bucket_tags and delete_bucket_tags
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Mon, 6 May 2019 13:14:18 +0000 (21:14 +0800)]
rgw: add set_bucket_tags api
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Mon, 6 May 2019 13:13:45 +0000 (21:13 +0800)]
rgw: uses 404 http code when there is NoSuchTagSetError
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Mon, 6 May 2019 06:27:16 +0000 (14:27 +0800)]
rgw: get bucket tagging
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Sun, 5 May 2019 13:10:29 +0000 (21:10 +0800)]
rgw: declares bucket tagging op classes
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Chang Liu [Sun, 5 May 2019 12:30:46 +0000 (20:30 +0800)]
rgw:new op type and error code about bucket tagging
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
Patrick Donnelly [Mon, 3 Jun 2019 21:39:57 +0000 (14:39 -0700)]
qa: fix kclient symlink to use latest rhel7
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 3 Jun 2019 21:36:30 +0000 (14:36 -0700)]
qa: fix latest distros and add helper symlinks
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Jeff Layton [Thu, 30 May 2019 19:56:53 +0000 (15:56 -0400)]
client: clean up error checking and return of _lookup_parent
ll_lookup_inode can end up getting back 0 from _lookup_parent,
without zeroing out the parent pointer, which ends up remaining
uninitialized.
Fix this by moving most of the sanity checks in _lookup_parent
into ll_lookup_inode, and only have it issue the call to the MDS.
This also allows us to do the checks in a more sane order.
Fixes: http://tracker.ceph.com/issues/40085
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Sage Weil [Mon, 3 Jun 2019 20:45:42 +0000 (15:45 -0500)]
Merge PR #26547 into master
* refs/pull/26547/head:
Added validation of zabbix_host to support hostnames, IPv4 and IPv6.
mgr/zabbix: Documentation added.
mgr/zabbix: Adds possibility to send data to multiple zabbix servers.
Reviewed-by: Wido den Hollander <wido@42on.com>
Sage Weil [Mon, 3 Jun 2019 20:44:11 +0000 (15:44 -0500)]
Merge PR #27667 into master
* refs/pull/27667/head:
src/test: fix creating two different objects for testing chunked object
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Jun 2019 20:43:33 +0000 (15:43 -0500)]
Merge PR #28200 into master
* refs/pull/28200/head:
pybind/mgr: add slash to prometheus illegal metric name characters
pybind/mgr: fix format for rbd-mirror prometheus metrics
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Samuel Just [Mon, 3 Jun 2019 20:41:05 +0000 (13:41 -0700)]
Merge pull request #28180 from athanatos/sjust/wip-crimson-peering
Integrate PeeringState into crimson, fix related bugs
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 18:29:09 +0000 (14:29 -0400)]
Merge pull request #28068 from cbodley/wip-qa-rgw-s3a
qa/rgw: don't use ceph-ansible in s3a-hadoop suite
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Patrick Donnelly [Mon, 3 Jun 2019 18:28:47 +0000 (11:28 -0700)]
Merge PR #28300 into master
* refs/pull/28300/head:
doc: cephfs: add section on fsync error reporting to posix.rst
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Jeff Layton [Thu, 30 May 2019 19:52:11 +0000 (15:52 -0400)]
client: drop Client::lookup_parent
Nothing calls this method.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 17:06:29 +0000 (01:06 +0800)]
cmake: link rbd_reply against rbd_replay_types
should make it `PUBLIC` because, for instance,
src/rbd_replay/actions.hpp uses
`rbd_replay::action::IoActionBase::dump()` and
`rbd_replay::action::ActionBase::dump()`
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 16:13:42 +0000 (00:13 +0800)]
cmake: link libosd against libos
apparently, libosd uses libos, but it does not use leveldb directly,
so s/leveldb/os/.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 08:36:12 +0000 (16:36 +0800)]
cmake: link rgw tests against ${rgw_libs}
if `WITH_RADOSGW_AMQP_ENDPOINT` is enabled, we should always link rgw
applications against `RabbitMQ::RabbitMQ` or `amqp_mock`, so, to
simplify the linkage dependencies, we should just use `${rgw_libs}`
instead of using `rgw_a` directly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 14 May 2019 12:30:59 +0000 (08:30 -0400)]
qa/rgw: add dnsmasq back to s3a-hadoop
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 20 Feb 2018 17:28:24 +0000 (12:28 -0500)]
qa/rgw: rgw task can override --rgw-dns-name on the command line
the value for rgw_dns_name isn't known until a machine is assigned, so
it can't be set via 'override: conf:'. add a per-client config option
to the rgw task so it can add the endpoint's hostname and/or s3website
hostname on the radosgw command line
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Fri, 10 May 2019 18:40:17 +0000 (14:40 -0400)]
qa/rgw: remove ceph-ansible from s3a-hadoop suite
Fixes: http://tracker.ceph.com/issues/39706
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 5 Mar 2019 15:50:23 +0000 (10:50 -0500)]
qa/rgw: use default ports (80 or 443) unless overridden
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 20 Feb 2018 16:23:00 +0000 (11:23 -0500)]
qa/rgw: allow rgw client config to override port
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 16:53:09 +0000 (12:53 -0400)]
Merge pull request #28146 from smanjara/wip-39551
rgw/multisite:RGWListBucketIndexesCR for data full sync pagination
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 16:51:13 +0000 (12:51 -0400)]
Merge pull request #26915 from dvanders/dvanders_doc_heap
doc: describe metadata_heap cleanup
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 15:51:20 +0000 (23:51 +0800)]
Merge pull request #28359 from tchaikov/wip-split-ceph-dencoder
tools/ceph-dencoder: split types.h into smaller pieces
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Dan van der Ster [Tue, 12 Mar 2019 15:42:25 +0000 (16:42 +0100)]
doc: describe metadata_heap cleanup
Fixes: http://tracker.ceph.com/issues/18174
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
Casey Bodley [Mon, 3 Jun 2019 13:09:24 +0000 (09:09 -0400)]
Merge pull request #28305 from rzarzynski/wip-bug-38827
qa/valgrind.supp: generalize the whiterule for aes-128-gcm to help rgw suite.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 13:00:13 +0000 (09:00 -0400)]
Merge pull request #25498 from cbodley/wip-27217
rgw: parse_copy_location defers url-decode
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 12:59:12 +0000 (08:59 -0400)]
Merge pull request #16659 from rzarzynski/wip-rgw-20797
rgw: TempURL should not allow PUTs with the X-Object-Manifest.
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 12:57:37 +0000 (08:57 -0400)]
Merge pull request #12709 from rzarzynski/wip-rgw-18364-dbgs
rgw: improve debugs on the path of RGWRados::cls_bucket_head.
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Casey Bodley [Mon, 3 Jun 2019 12:57:13 +0000 (08:57 -0400)]
Merge pull request #12470 from rzarzynski/wip-rgw-18241
rgw: dump s3_code as the Code response element in RGWDeleteMultiObj_ObjStore_S3
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 08:34:46 +0000 (16:34 +0800)]
cmake: link libkv against libheap_profiler
PriorityCache.cc uses `ceph_heap_*` functions, and libkv contains
`PriorityCache.cc`, so it should link against libheap_profiler.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 07:02:51 +0000 (15:02 +0800)]
cmake: link libkv against common_prioritycache_obj
as both `kv/rocksdb_cache/BinnedLRUCache.cc` and
`kv/rocksdb_cache/ShardedCache.cc` uses `PriorityCache` which is in turn
offered by common_prioritycache_obj, we need to link libkv against the
latter.
libos uses `PriorityCache` as well, but since libos links against
libkv, so it's safe.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 05:27:57 +0000 (13:27 +0800)]
cmake: remove kv_objs target
libkv is better than kv_objs, as it is able to bring more
properties with with it, for instance, the public include
directories, the public/private libraries it is linked against.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 3 Jun 2019 04:28:32 +0000 (12:28 +0800)]
Merge pull request #28339 from tchaikov/wip-cmake-asan
cmake/modules: replace ";" with " " in compile flags
Reviewed-by: Yingxin Cheng <yingxincheng@gmail.com>
Jan Fajerski [Thu, 23 May 2019 16:35:18 +0000 (18:35 +0200)]
ceph.spec.in: install grafana dashboards world readable
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
Kefu Chai [Fri, 31 May 2019 18:35:16 +0000 (02:35 +0800)]
tools/ceph-dencoder: split types.h into smaller pieces
instead of putting all types in a single compilation unit, split them
into smaller groups, in hope to reduce the memory footprint of compiler
when compiling ceph_dencoder.cc.
sometimes, GCC just fails to compile this source file.
Fixes: http://tracker.ceph.com/issues/39595
Signed-off-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Sat, 1 Jun 2019 02:13:06 +0000 (19:13 -0700)]
Merge PR #28354 into master
* refs/pull/28354/head:
doc: Add warning that the root directory cannot be fragmented
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:48 +0000 (17:31 -0700)]
osd/: clarify rebuilt_missing_with_deletes and set in init
Updates PeeringState::init to set may_include_deletes_in_missing when
possible to avoid needlessly rebuilding the missing set on the next map.
The previous behavior was also subtly wrong as until the the next map
the osd would be possibly adding deletes to the missing set without the
flag having been set in the missing set on disk
This patch also renames the flag to reflect the fact that it simply
denotes wheter the may_include_deletes_in_missing omap entry needs to be
written out. This may happen during rebuild_missing_set_with_deletes,
but it'll also happen more commonly during init now.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:17 +0000 (17:32 -0700)]
crimson: hook PeeringState into pg
This patch:
1) Adds partially implemented stubs for PeeringState::PeeringListener
2) Revamps the message handling to batch the peering events from
a single message.
3) Replaces the message handling with hand-offs to PeeringState
4) Adds support for MOSDPGCreate2 enabling creation of pgs.
5) Introduces ShardServices for exposing osd machinery to the pgs.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 19:04:41 +0000 (12:04 -0700)]
crimson/osd/main: add --debug option
Really, what we need to do is examine the ceph conf and set
the right logger levels based on configured log levels, but
this'll suffice for now.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 17:53:36 +0000 (10:53 -0700)]
crimson/osd/pg_backend: clear exists in remove
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 16:50:45 +0000 (09:50 -0700)]
cyan_store: map -ENOENT to 0 for _remove
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:14 +0000 (17:32 -0700)]
crimson/net/ProtocolV1: close connection when replaced
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:10 +0000 (17:32 -0700)]
Revert "cmake: define BOOST_SP_DISABLE_THREADS for crimson"
For whatever reason, this patch appears to cause the reactor/peering
to hang much of the time. Reverting until we have time to debug it.
This reverts commit
a09a4f342c0a0fddcae29fe6c8d97e3b353f8c0c .
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:09 +0000 (17:32 -0700)]
crimson/common/assert.cc: flush cout before abort
Seastar logger() instances don't flush the channel, so recent messages
won't be present otherwise.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:07 +0000 (17:32 -0700)]
dout: let <= 20 correspond to debug for crimson
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:05 +0000 (17:32 -0700)]
vstart: add --redirect-output option to redirect output for --nodaemon
Useful for crimson which doesn't currently support writing directly
to a log file.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:03 +0000 (17:32 -0700)]
crimson/osd: use configured ceph-osd uuid in mkfs
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:32:01 +0000 (17:32 -0700)]
crimson/net/Connection: add peer_is_* helpers
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:59 +0000 (17:31 -0700)]
crimson/net/SocketMessenger: wait for accepter thread to die on shutdown
Otherwise, it ends up trying to operator<< *this after it's been
deleted.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:57 +0000 (17:31 -0700)]
crimson/mon/MonClient: handle mon client connection race
The first to establish a connection and close the others needs
to ensure that the others don't mess with broken state. To that
end, leave a cleared pending_conns map while the conns are being
closed. Also, take care to clean up outstanding promises and
fallout from conns disappearing.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:55 +0000 (17:31 -0700)]
crimson/os/cyan_store: run t.get_on_* contexts
PeeringState makes liberal use of those callbacks, run them
upon completion of do_transaction.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:53 +0000 (17:31 -0700)]
crimson/os/cyan_store: add some omap machinery
Adds transaction methods for PeeringState.
Mainly omap_set, but also a stub for collection hint and the other omap
update methods. Also adds omap_get and debugging to dump the
transaction upon encountering a problem.
Also fixes up std and ceph::bufferlist namespace qualifications.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:50 +0000 (17:31 -0700)]
os/cyan_collection: add pragma once
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:46 +0000 (17:31 -0700)]
osd/: move pg/osd state machinery into osd_types for use in crimson
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 30 May 2019 00:31:44 +0000 (17:31 -0700)]
PGLog: add cyan_store machinery for reading the log
Signed-off-by: Samuel Just <sjust@redhat.com>
Nathan Fish [Fri, 31 May 2019 20:38:22 +0000 (16:38 -0400)]
doc: Add warning that the root directory cannot be fragmented
Documents: #39704
Signed-off-by: Nathan Fish <lordcirth@gmail.com>
Patrick Donnelly [Fri, 31 May 2019 20:10:18 +0000 (13:10 -0700)]
Merge PR #28199 into master
* refs/pull/28199/head:
qa/tasks: upgrade the check for -c sudo option in vstart_runner.py
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>