]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoosd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)
David Zafman [Wed, 14 Mar 2018 23:07:01 +0000 (16:07 -0700)]
osd rados command: Improve scrub handling of HashInfo (hinfo_key xattr)

Fixes: http://tracker.ceph.com/issues/23364
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoosd: Don't crash in get_hash_info() with a corrupt HashInfo
David Zafman [Wed, 14 Mar 2018 23:29:18 +0000 (16:29 -0700)]
osd: Don't crash in get_hash_info() with a corrupt HashInfo

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agotest: Remove check that masks differences (let diff fail)
David Zafman [Wed, 4 Apr 2018 23:05:08 +0000 (16:05 -0700)]
test: Remove check that masks differences (let diff fail)

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #21126 from tspmelo/wip-services
Lenz Grimmer [Tue, 10 Apr 2018 14:47:03 +0000 (16:47 +0200)]
Merge pull request #21126 from tspmelo/wip-services

mgr/dashboard: Add Api module

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #21319 from majianpeng/doc-remove-osd-op-threads
Kefu Chai [Tue, 10 Apr 2018 12:12:08 +0000 (20:12 +0800)]
Merge pull request #21319 from majianpeng/doc-remove-osd-op-threads

doc: remove unused config: "osd op threads"

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21112 from guzhongyan/fix-vlog
Kefu Chai [Tue, 10 Apr 2018 10:51:12 +0000 (18:51 +0800)]
Merge pull request #21112 from guzhongyan/fix-vlog

src: fix various log messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21028 from rzarzynski/wip-osd-get_rw_locks-norefcnt
Kefu Chai [Tue, 10 Apr 2018 10:49:01 +0000 (18:49 +0800)]
Merge pull request #21028 from rzarzynski/wip-osd-get_rw_locks-norefcnt

osd: avoid unnecessary ref-counting across PrimaryLogPG::get_rw_locks.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21235 from xiexingguo/wip-fix-obj-start
Kefu Chai [Tue, 10 Apr 2018 10:47:58 +0000 (18:47 +0800)]
Merge pull request #21235 from xiexingguo/wip-fix-obj-start

osd/osd_types: fix ideal lower bound object-id of pg

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21313 from ceph/wip-pg-clean-timeout
Josh Durgin [Tue, 10 Apr 2018 05:27:16 +0000 (22:27 -0700)]
Merge pull request #21313 from ceph/wip-pg-clean-timeout

qa/tasks: Add default timeout for wait for pg clean task

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21284 from tchaikov/wip-cmake-libstdcxx
Kefu Chai [Tue, 10 Apr 2018 05:21:31 +0000 (13:21 +0800)]
Merge pull request #21284 from tchaikov/wip-cmake-libstdcxx

cmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #21290 from rjfd/wip-dashboard-fix-rest-controller
Kefu Chai [Tue, 10 Apr 2018 05:19:08 +0000 (13:19 +0800)]
Merge pull request #21290 from rjfd/wip-dashboard-fix-rest-controller

mgr/dashboard: restcontroller: fix detection of id args in element requests

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #21039 into master
Patrick Donnelly [Tue, 10 Apr 2018 04:33:15 +0000 (21:33 -0700)]
Merge PR #21039 into master

* refs/pull/21039/head:
qa/workunits/fs: test for cephfs rstats
mds: make rstat.rctime follow inodes' ctime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21040 into master
Patrick Donnelly [Tue, 10 Apr 2018 04:33:10 +0000 (21:33 -0700)]
Merge PR #21040 into master

* refs/pull/21040/head:
mds: mark damaged if sessions' preallocated inos don't match inotable

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21132 into master
Patrick Donnelly [Tue, 10 Apr 2018 04:33:06 +0000 (21:33 -0700)]
Merge PR #21132 into master

* refs/pull/21132/head:
client: remove getgroups_cb
client: remove _getgrouplist
client: have init_gids just set alloced_gids to true
client: remove init_groups
fuse: handle errors appropriately when getting group list

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #21144 into master
Patrick Donnelly [Tue, 10 Apr 2018 04:33:00 +0000 (21:33 -0700)]
Merge PR #21144 into master

* refs/pull/21144/head:
mds: fix unhealth heartbeat during rejoin

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21167 into master
Patrick Donnelly [Tue, 10 Apr 2018 04:32:56 +0000 (21:32 -0700)]
Merge PR #21167 into master

* refs/pull/21167/head:
mds: make stopping mds export strays and subtree at the same time
mds: handle client requests while mds is stopping
mds: check projected linkage before migrating stray dentry

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21191 into master
Patrick Donnelly [Tue, 10 Apr 2018 04:32:51 +0000 (21:32 -0700)]
Merge PR #21191 into master

* refs/pull/21191/head:
client: fix request send_to_auth was never really used

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21255 into master
Patrick Donnelly [Tue, 10 Apr 2018 04:32:47 +0000 (21:32 -0700)]
Merge PR #21255 into master

* refs/pull/21255/head:
mds: automatically create snaprealm for old format quota
client: check if mds create snaprealm when setting quota
mds: remove unused MDCache::snaprealm_create()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21295 from badone/wip-large-omap-scrub-big-random-loser-2
Josh Durgin [Tue, 10 Apr 2018 00:44:33 +0000 (17:44 -0700)]
Merge pull request #21295 from badone/wip-large-omap-scrub-big-random-loser-2

qa/suites/rados: Disable scrub backoff

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoqa/tasks: wait_for_clean is called after ceph task as well after osd's are up, 21313/head
Vasu Kulkarni [Tue, 10 Apr 2018 00:24:42 +0000 (17:24 -0700)]
qa/tasks: wait_for_clean is called after ceph task as well after osd's are up,
the default timeout is none in that case, there are cases where it can hang  forever
due to error cases, since this dumps quite a lot of info the logs grow in GB's, with
default timeout of 1200 we can avoid such huge logs and fail sooner. Any tests needing
higher timeout can pass the required value.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agodoc: remove unused config: "osd op threads" 21319/head
Jianpeng Ma [Mon, 9 Apr 2018 21:39:59 +0000 (05:39 +0800)]
doc: remove unused config: "osd op threads"

This option already removed.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoMerge pull request #21309 from ceph/wip-yuriw-crontab
Yuri Weinstein [Mon, 9 Apr 2018 19:37:57 +0000 (12:37 -0700)]
Merge pull request #21309 from ceph/wip-yuriw-crontab

qa/tests - minor clean ups and made perf-suite run 3 times, so we can…

Reviewed-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #21282 from liewegas/wip-pgpool-enc
Sage Weil [Mon, 9 Apr 2018 19:16:49 +0000 (14:16 -0500)]
Merge pull request #21282 from liewegas/wip-pgpool-enc

osd/osd_types: fix pg_pool_t encoding for hammer

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ilya Drymov <idryomov@redhat.com>
7 years agoqa/tests - minor clean ups and made perf-suite run 3 times, so we can have more data... 21309/head
Yuri Weinstein [Mon, 9 Apr 2018 16:17:10 +0000 (09:17 -0700)]
qa/tests - minor clean ups and made perf-suite run 3 times, so we can have more data points

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge PR #21263 into master
Patrick Donnelly [Mon, 9 Apr 2018 15:59:11 +0000 (08:59 -0700)]
Merge PR #21263 into master

* refs/pull/21263/head:
doc: outline upgrade procedure for mds cluster

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
7 years agomgr/dashboard: Move services provision to service module 21126/head
Tiago Melo [Thu, 29 Mar 2018 11:35:49 +0000 (12:35 +0100)]
mgr/dashboard: Move services provision to service module

Few services were being declared in the shared module.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Add Api module
Tiago Melo [Thu, 29 Mar 2018 00:36:41 +0000 (01:36 +0100)]
mgr/dashboard: Add Api module

Moved all the api related services into the new module.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #20807 from Devp00l/improve-table-search
Lenz Grimmer [Mon, 9 Apr 2018 15:43:46 +0000 (17:43 +0200)]
Merge pull request #20807 from Devp00l/improve-table-search

mgr/dashboard: Improve table search

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #20943 from tspmelo/fix-e2e
Lenz Grimmer [Mon, 9 Apr 2018 15:32:00 +0000 (17:32 +0200)]
Merge pull request #20943 from tspmelo/fix-e2e

mgr/dashboard: fix frontend e2e tests

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20758 from ceph/wip-cv-doc-typos
Alfredo Deza [Mon, 9 Apr 2018 13:58:56 +0000 (09:58 -0400)]
Merge pull request #20758 from ceph/wip-cv-doc-typos

ceph-volume doc updates

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agoMerge pull request #21249 from dillaman/wip-18844
Mykola Golub [Mon, 9 Apr 2018 13:22:03 +0000 (16:22 +0300)]
Merge pull request #21249 from dillaman/wip-18844

rbd: improve 'import-diff' corrupt input error messages

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoosd/OSDMap: propagate POOL_SNAPS|SELFMANAGED_SNAPS to tiers 21282/head
Sage Weil [Sun, 8 Apr 2018 19:40:45 +0000 (14:40 -0500)]
osd/OSDMap: propagate POOL_SNAPS|SELFMANAGED_SNAPS to tiers

We set this when we add selfmanaged snaps to the base tier.  When those
propagate to the cache tier, propagate the flags, too!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21196 from jeffrey4l/fix_typo
Alfredo Deza [Mon, 9 Apr 2018 11:02:50 +0000 (07:02 -0400)]
Merge pull request #21196 from jeffrey4l/fix_typo

ceph-volume: fix typo in ceph-volume lvm prepare help

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #21270 from Devp00l/ceph-table-action-fix
Lenz Grimmer [Mon, 9 Apr 2018 10:34:25 +0000 (12:34 +0200)]
Merge pull request #21270 from Devp00l/ceph-table-action-fix

mgr/dashboard: Fix the data table action selector

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: restcontroller: fix detection of id args in element requests 21290/head
Ricardo Dias [Sun, 8 Apr 2018 17:37:30 +0000 (18:37 +0100)]
mgr/dashboard: restcontroller: fix detection of id args in element requests

Fixes: https://tracker.ceph.com/issues/23593
Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge pull request #21269 from b-ranto/wip-mgr-expose-rgw
Boris Ranto [Mon, 9 Apr 2018 08:40:42 +0000 (10:40 +0200)]
Merge pull request #21269 from b-ranto/wip-mgr-expose-rgw

mgr: Expose rgw perf counters

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoqa/suites/rados: Disable scrub backoff 21295/head
Brad Hubbard [Mon, 9 Apr 2018 01:46:32 +0000 (11:46 +1000)]
qa/suites/rados: Disable scrub backoff

A long run of lost coin flips can lead to a timeout in
test_large_omap_detection.py.

Fixes: http://tracker.ceph.com/issues/23578
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agomisc: fix various log messages 21112/head
Gu Zhongyan [Thu, 29 Mar 2018 07:44:25 +0000 (15:44 +0800)]
misc: fix various log messages

add space between __func__ and following messages

Signed-off-by: Gu Zhongyan <guzhongyan@360.cn>
7 years agoMerge pull request #21248 from dillaman/wip-23548
Mykola Golub [Sun, 8 Apr 2018 20:22:38 +0000 (23:22 +0300)]
Merge pull request #21248 from dillaman/wip-23548

librbd: potential race between discard and writeback

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #17531 from smithfarm/wip-calamari-tests
Nathan Cutler [Sun, 8 Apr 2018 06:54:27 +0000 (08:54 +0200)]
Merge pull request #17531 from smithfarm/wip-calamari-tests

tests: cleanup: drop calamari tasks

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
7 years agoMerge pull request #21245 from ifed01/wip-ifed-shard-bug-logging
Xie Xingguo [Sun, 8 Apr 2018 05:37:00 +0000 (13:37 +0800)]
Merge pull request #21245 from ifed01/wip-ifed-shard-bug-logging

os/bluestore: be more verbose when hitting unloaded shard in extent map

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agocmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++ 21284/head
Kefu Chai [Sun, 8 Apr 2018 01:57:36 +0000 (09:57 +0800)]
cmake: define HAVE_STDLIB_MAP_SPLICING for both libstdc++ and libc++

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/osd_types: fix pg_pool_t encoding for hammer
Sage Weil [Sat, 7 Apr 2018 18:36:32 +0000 (13:36 -0500)]
osd/osd_types: fix pg_pool_t encoding for hammer

If we are missing the hammer feature, we will also be missing the
luminous feature, but we should still encode like hammer.

Analogous fix to e28e0c617af8825ae92cced5d87cc4f403709e48

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #20866 from jan--f/mgr-fix-metadata-return
Kefu Chai [Sat, 7 Apr 2018 09:31:04 +0000 (17:31 +0800)]
Merge pull request #20866 from jan--f/mgr-fix-metadata-return

mon/MonCommands: mgr metadata - improve parameter naming consistency

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21217 from tchaikov/wip-cmp-hobject
Kefu Chai [Sat, 7 Apr 2018 09:29:57 +0000 (17:29 +0800)]
Merge pull request #21217 from tchaikov/wip-cmp-hobject

common/hobject: preserve the order of hobject

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21211 from tchaikov/wip-clang-without-map-merge
Kefu Chai [Sat, 7 Apr 2018 09:29:15 +0000 (17:29 +0800)]
Merge pull request #21211 from tchaikov/wip-clang-without-map-merge

cmake,mds: detect std::map::merge() before using it.

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #21161 from cbodley/wip-mon-config-obs
Kefu Chai [Sat, 7 Apr 2018 09:27:15 +0000 (17:27 +0800)]
Merge pull request #21161 from cbodley/wip-mon-config-obs

config: notify config observers on set_mon_vals()

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21151 from xiexingguo/wip-prune-olr
Kefu Chai [Sat, 7 Apr 2018 09:25:48 +0000 (17:25 +0800)]
Merge pull request #21151 from xiexingguo/wip-prune-olr

osd/PGBackend: drop input "snapid_t" from objects_list_range()

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21150 from xiexingguo/wip-large-omap-obj-counting
Kefu Chai [Sat, 7 Apr 2018 09:24:56 +0000 (17:24 +0800)]
Merge pull request #21150 from xiexingguo/wip-large-omap-obj-counting

osd/PGBackend: fix large_omap_objects checking

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #21119 from Liuchang0812/refine-optracker-history
Kefu Chai [Sat, 7 Apr 2018 09:23:35 +0000 (17:23 +0800)]
Merge pull request #21119 from Liuchang0812/refine-optracker-history

common, osd: duplicated "start" event in OpTracker, improve OpTracker::dump_ops

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21095 from wido/ceph-metadata-version
Kefu Chai [Sat, 7 Apr 2018 09:22:01 +0000 (17:22 +0800)]
Merge pull request #21095 from wido/ceph-metadata-version

common: Add metadata with only Ceph version number and release

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21055 from tchaikov/wip-pr-20994
Kefu Chai [Sat, 7 Apr 2018 09:21:06 +0000 (17:21 +0800)]
Merge pull request #21055 from tchaikov/wip-pr-20994

filestore,rgw: fix types/casts making clang on 32-Bit working

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agomds: Clang does not (yet) support std::map::merge 21211/head
Willem Jan Withagen [Sun, 1 Apr 2018 12:34:48 +0000 (14:34 +0200)]
mds: Clang does not (yet) support std::map::merge

@tchaikov found:
    libc++ still does not support "Splicing Maps and Sets",
    see https://libcxx.llvm.org/cxx1z_status.html ,
    search for "p0083r3" .

Make this case the more explicit coded.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agocmake: detect if std::map::merge() is supported
Kefu Chai [Tue, 3 Apr 2018 12:00:14 +0000 (20:00 +0800)]
cmake: detect if std::map::merge() is supported

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21274 from dzafman/wip-cot-config
Kefu Chai [Sat, 7 Apr 2018 03:59:28 +0000 (11:59 +0800)]
Merge pull request #21274 from dzafman/wip-cot-config

tools: Use --no-mon-config so ceph_objectstore_tool.py test doesn't hang

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #20760 into wip-sage-testing-20180407.023110
Sage Weil [Sat, 7 Apr 2018 02:31:19 +0000 (21:31 -0500)]
Merge PR #20760 into wip-sage-testing-20180407.023110

* refs/pull/20760/head:
mon/ConfigMonitor: add 'config reset' command
mon/ConfigMonitor: add 'config log' command
mon/ConfigMap: add ConfigChangeSet
mon/ConfigMonitor: avoid no-op updates
mon/ConfigMonitor: maintain history of all config changes

7 years agoMerge PR #20516 into wip-sage-testing-20180407.023003
Sage Weil [Sat, 7 Apr 2018 02:30:18 +0000 (21:30 -0500)]
Merge PR #20516 into wip-sage-testing-20180407.023003

* refs/pull/20516/head:
os/filestore: advertise vdo in filestore metadata
os/filestore: implement thin provisioning utilization stats for VDO
os/bluestore/KernelDevice: advertise vdo and physical_size in metadata
os/bluestore/KernelDevice: implement thin utilization stats for VDO
os/bluestore: hook to expose utilization of thinly-provisioned device
common/blkdev: identify VDO devices beneath LVM
common/blkdev: implement VDO helper functions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge PR #20512 into wip-sage-testing-20180407.022843
Sage Weil [Sat, 7 Apr 2018 02:29:32 +0000 (21:29 -0500)]
Merge PR #20512 into wip-sage-testing-20180407.022843

* refs/pull/20512/head:
osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agogithubmap: update contributors
Sage Weil [Sat, 7 Apr 2018 02:28:58 +0000 (21:28 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #21033 into wip-sage-testing-20180407.022623
Sage Weil [Sat, 7 Apr 2018 02:27:20 +0000 (21:27 -0500)]
Merge PR #21033 into wip-sage-testing-20180407.022623

* refs/pull/21033/head:
buffer: kill push_front
tools/RadosDump: avoid bufferlist::push_front
os/filestore/FileJournal: avoid push_front
erasure-code: avoid bufferlist::push_front
buffer: kill claim_prepend
unittest_compression: avoid claim_prepend
os/bluestore: avoid claim_prepend
osdc/Striper: rewrite assemble_result without push_front or claim_prepend

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Jesse Williamson <jwilliamson@suse.de>
7 years agogithubmap: update contributors
Sage Weil [Sat, 7 Apr 2018 02:27:19 +0000 (21:27 -0500)]
githubmap: update contributors

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19594 from smithfarm/wip-doc-make-check
Nathan Cutler [Fri, 6 Apr 2018 20:19:03 +0000 (22:19 +0200)]
Merge pull request #19594 from smithfarm/wip-doc-make-check

doc: expand developer documentation of unit tests

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agotools: Use --no-mon-config so ceph_objectstore_tool.py test doesn't hang 21274/head
David Zafman [Fri, 6 Apr 2018 18:52:10 +0000 (11:52 -0700)]
tools: Use --no-mon-config so ceph_objectstore_tool.py test doesn't hang

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #19973 from liewegas/wip-peering-fast-dispatch
Gregory Farnum [Fri, 6 Apr 2018 18:48:11 +0000 (11:48 -0700)]
Merge pull request #19973 from liewegas/wip-peering-fast-dispatch

osd: fast dispatch of peering events and pg_map + osd sharded wq refactor

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoosd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max 20512/head
Sage Weil [Wed, 21 Feb 2018 16:10:56 +0000 (10:10 -0600)]
osd: osd_mon_report_interval_min -> osd_mon_report_interval, kill _max

The _max isn't used.  Drop the _min suffix.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21250 from liewegas/wip-recovery-slow-ops
Sage Weil [Fri, 6 Apr 2018 15:59:23 +0000 (10:59 -0500)]
Merge pull request #21250 from liewegas/wip-recovery-slow-ops

qa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS

7 years agoqa/suites/rados/singleton/all/ec-lost-unfound: whitelist SLOW_OPS 21250/head
Sage Weil [Fri, 6 Apr 2018 15:38:45 +0000 (10:38 -0500)]
qa/suites/rados/singleton/all/ec-lost-unfound: whitelist SLOW_OPS

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Search with spaces 20807/head
Stephan Müller [Fri, 16 Mar 2018 10:55:44 +0000 (11:55 +0100)]
mgr/dashboard: Search with spaces

Removed the usage of using comma to indicated a new search term and
introduced the possibility to use quoted strings in order to search for
spaces too.

Also improved the column search handling in order to not get no search
results found while typing a column name.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agomgr/dashboard: Improve table search
Stephan Müller [Thu, 22 Feb 2018 11:47:59 +0000 (12:47 +0100)]
mgr/dashboard: Improve table search

You can now search for multiple words at a time if you separate them by
comma or space. The other improvement is that you can specify which
column should be searched by a search term. For example if you wand to
filter for a row with the ID 3 you type "id:3". The column name is case
insensitive and is separated from the search word by a colon.

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #21239 from rjfd/wip-dashboard-routes
Lenz Grimmer [Fri, 6 Apr 2018 14:36:34 +0000 (16:36 +0200)]
Merge pull request #21239 from rjfd/wip-dashboard-routes

mgr/dashboard: using RoutesDispatcher as HTTP request dispatcher

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
7 years agoMerge pull request #19331 from jecluis/wip-mon-osdmap-prune
Joao Eduardo Luis [Fri, 6 Apr 2018 14:22:28 +0000 (15:22 +0100)]
Merge pull request #19331 from jecluis/wip-mon-osdmap-prune

mon: osdmap prune

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: Fix the data table action selector 21270/head
Stephan Müller [Fri, 6 Apr 2018 08:53:17 +0000 (10:53 +0200)]
mgr/dashboard: Fix the data table action selector

Signed-off-by: Stephan Müller <smueller@suse.com>
7 years agoMerge pull request #20464 from cbodley/wip-rgw-beast-ssl
Casey Bodley [Fri, 6 Apr 2018 13:52:55 +0000 (09:52 -0400)]
Merge pull request #20464 from cbodley/wip-rgw-beast-ssl

rgw: add ssl support to beast frontend

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodoc: dev: improve headings within Testing chapter 19594/head
Nathan Cutler [Fri, 6 Apr 2018 12:18:37 +0000 (14:18 +0200)]
doc: dev: improve headings within Testing chapter

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agorgw: Sanitize rgw perf counter names 21269/head
Boris Ranto [Fri, 6 Apr 2018 10:02:41 +0000 (12:02 +0200)]
rgw: Sanitize rgw perf counter names

The rgw perf counters are currently being named by the rgw names (i.e.
client.rgw.<name>.<something>). This changes their names to something
more sane like rgw.<something>. This also makes data exported by
prometheus ceph-mgr module a lot more useful as you do not need to use
the rgw name to get the metrics for an rgw.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agomgr/dashboard: fix frontend e2e tests 20943/head
Tiago Melo [Fri, 2 Mar 2018 16:39:46 +0000 (16:39 +0000)]
mgr/dashboard: fix frontend e2e tests

Updated protractor configuration: now it's possible to run the tests inside a
docker container, added params for the username and password and added login
during the prepare phase.

Chrome is required to run the e2e tests. This can be achieved by installing
Chrome in your system or by using a docker container with Chrome installed.

Changed some timer calls, so they are runned outside of angular. This was
preventing protractor from running the tests.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr: Expose rgw perf counters
Boris Ranto [Fri, 6 Apr 2018 09:19:22 +0000 (11:19 +0200)]
mgr: Expose rgw perf counters

We are filtering rgw perf counters in mgr_module. This commit allows us
to expose rgw perf counters to the mgr modules. This also directly
exports the rgw perf counters via prometheus module since the module
calls the get_all_perf_counters method to get all the perf counters and
then it exports them.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoMerge pull request #21128 from ricardoasmarques/wip-usage-bar
Lenz Grimmer [Fri, 6 Apr 2018 09:07:01 +0000 (11:07 +0200)]
Merge pull request #21128 from ricardoasmarques/wip-usage-bar

mgr/dashboard: Add usage bar component

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21240 from rjfd/wip-dashboard-task-fixes
Lenz Grimmer [Fri, 6 Apr 2018 08:50:45 +0000 (10:50 +0200)]
Merge pull request #21240 from rjfd/wip-dashboard-task-fixes

mgr/dashboard: TaskManager bug fixes

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoqa: enable mon osdmap pruning on 'rados/' suites 19331/head
Joao Eduardo Luis [Wed, 21 Feb 2018 12:37:56 +0000 (12:37 +0000)]
qa: enable mon osdmap pruning on 'rados/' suites

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa: enable mon osdmap pruning on rados/monthrash
Joao Eduardo Luis [Tue, 20 Feb 2018 15:47:57 +0000 (15:47 +0000)]
qa: enable mon osdmap pruning on rados/monthrash

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa: mon: osdmap pruning standalone/workunit
Joao Eduardo Luis [Fri, 24 Nov 2017 22:46:55 +0000 (22:46 +0000)]
qa: mon: osdmap pruning standalone/workunit

Keep a standalone wrapper for the workunit, so we can test it locally,
leveraging the ceph-helpers to do the setup. Keep a workunit to be
exercised by teuthology.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa/standalone: change PATH to allow finding sysctl
Joao Eduardo Luis [Tue, 20 Feb 2018 15:42:39 +0000 (15:42 +0000)]
qa/standalone: change PATH to allow finding sysctl

If, by default, a user's PATH does not contain /sbin and /usr/sbin, we
may have a hard time finding sysctl to adjust the kernel core pattern.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa/standalone: deduplicate cleanup code
Joao Eduardo Luis [Wed, 14 Feb 2018 20:57:57 +0000 (20:57 +0000)]
qa/standalone: deduplicate cleanup code

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoqa/standalone: discard pipe in sysctl kernel.core_pattern
Joao Eduardo Luis [Wed, 14 Feb 2018 12:20:59 +0000 (12:20 +0000)]
qa/standalone: discard pipe in sysctl kernel.core_pattern

At least verified in openSUSE tumbleweed and ubuntu 16.04,
`sysctl -n kernel.core_pattern` returns a pipe at the start of the
value. We reset core_pattern to its original form once the script is
about to end, but if we do not discard the pipe the new value will
contain an extra pipe (apparently, the pipe is added automatically at
some point, possibly simply on read). We are simply stripping it on
read, as to prevent this behavior.

Additionally, we are also enclosing the reset of kernel.core_pattern in
quotes, so as to make sure patterns that include spaces (e.g., ubuntu's
apport, or tumbleweed's systemd-coredump) are properly reset.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agomon/OSDMonitor: allow triggering prunes from tick()
Joao Eduardo Luis [Fri, 24 Nov 2017 22:46:04 +0000 (22:46 +0000)]
mon/OSDMonitor: allow triggering prunes from tick()

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agomon/OSDMonitor: allow blocking trim if option is enabled
Joao Eduardo Luis [Mon, 4 Dec 2017 23:38:31 +0000 (23:38 +0000)]
mon/OSDMonitor: allow blocking trim if option is enabled

We need to allow blocking osdmap trimming to test osdmap pruning.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agomon/OSDMonitor: dump osdmap manifest alongside other infos
Joao Eduardo Luis [Thu, 23 Nov 2017 17:18:39 +0000 (17:18 +0000)]
mon/OSDMonitor: dump osdmap manifest alongside other infos

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agomon/OSDMonitor: prune full maps on encode_pending
Joao Eduardo Luis [Tue, 10 Oct 2017 19:17:11 +0000 (20:17 +0100)]
mon/OSDMonitor: prune full maps on encode_pending

If we have gone over a safety threshold for number of versions, start
pruning full osdmaps, poking holes in the sequence. To make up for the
missing maps, we will rebuild full maps based on the incremental maps
and the closest pinned full map we have available.

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agodoc: add dev notes for mon's full osdmap pruning
Joao Eduardo Luis [Thu, 23 Nov 2017 17:09:31 +0000 (17:09 +0000)]
doc: add dev notes for mon's full osdmap pruning

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
7 years agoosd: legacy pg_create creates pg in current epoch 19973/head
Sage Weil [Fri, 6 Apr 2018 02:47:48 +0000 (21:47 -0500)]
osd: legacy pg_create creates pg in current epoch

For the legacy create path, we pregenerate the history and instantiate
the PG at the current epoch.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21127 from smithfarm/wip-make-dist-py3
Nathan Cutler [Fri, 6 Apr 2018 02:00:46 +0000 (04:00 +0200)]
Merge pull request #21127 from smithfarm/wip-make-dist-py3

build/ops: make-dist: fall back to python3

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoMerge PR #21238 into master
Patrick Donnelly [Fri, 6 Apr 2018 00:03:18 +0000 (17:03 -0700)]
Merge PR #21238 into master

* refs/pull/21238/head:
doc: fix typos and other minor errors in cephfs-nfs doc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21204 into master
Patrick Donnelly [Fri, 6 Apr 2018 00:02:20 +0000 (17:02 -0700)]
Merge PR #21204 into master

* refs/pull/21204/head:
mds: PendingReleaseNotes and dev doc for open file table

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc: outline upgrade procedure for mds cluster 21263/head
Patrick Donnelly [Thu, 5 Apr 2018 22:49:32 +0000 (15:49 -0700)]
doc: outline upgrade procedure for mds cluster

Fixes: http://tracker.ceph.com/issues/23568
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorgw: beast frontend calls shutdown before closing connections 20464/head
Casey Bodley [Thu, 5 Apr 2018 21:37:05 +0000 (17:37 -0400)]
rgw: beast frontend calls shutdown before closing connections

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/rgw: verify suite tests beast with ssl
Casey Bodley [Fri, 16 Mar 2018 20:33:09 +0000 (16:33 -0400)]
qa/rgw: verify suite tests beast with ssl

instead of adding special frontend configs like civetweb_ssl.yaml and
beast_ssl.yaml, added a new proto/ subdirectory for http.yaml and
https.yaml

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agorgw: add ssl support to beast frontend
Casey Bodley [Tue, 6 Feb 2018 22:06:11 +0000 (17:06 -0500)]
rgw: add ssl support to beast frontend

adds frontend options ssl_certificate, ssl_private_key, ssl_port, ssl_endpoint

Fixes: http://tracker.ceph.com/issues/22832
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agorgw: factor the tcp::socket out of ClientIO
Casey Bodley [Tue, 23 Jan 2018 03:24:23 +0000 (22:24 -0500)]
rgw: factor the tcp::socket out of ClientIO

remove ClientIO's dependency on a concrete socket type by moving it into
a derived StreamIO class in rgw_asio_frontend.cc

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20992 from cbodley/wip-dmclock-remove-by-ptr
Matt Benjamin [Thu, 5 Apr 2018 18:57:41 +0000 (14:57 -0400)]
Merge pull request #20992 from cbodley/wip-dmclock-remove-by-ptr

dmclock: update mClockPriorityQueue with changes in subtree