]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agopybind/rbd: fix python 3 str to bytes problems
Ricardo Dias [Fri, 23 Mar 2018 14:51:44 +0000 (14:51 +0000)]
pybind/rbd: fix python 3 str to bytes problems

Fixes: http://tracker.ceph.com/issues/23609
Signed-off-by: Ricardo Dias <rdias@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 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 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 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 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 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: 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 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

7 years agomon/OSDMonitor: fix warnings
Sage Weil [Thu, 5 Apr 2018 18:07:53 +0000 (13:07 -0500)]
mon/OSDMonitor: fix warnings

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: keep sending legacy create messages for now
Sage Weil [Thu, 5 Apr 2018 18:04:09 +0000 (13:04 -0500)]
mon/OSDMonitor: keep sending legacy create messages for now

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21261 from batrick/ceph-update-ceph-object-corpus
Sage Weil [Thu, 5 Apr 2018 17:55:18 +0000 (12:55 -0500)]
Merge pull request #21261 from batrick/ceph-update-ceph-object-corpus

ceph-object-corpus: update to fix make check

7 years agoceph-object-corpus: update to fix make check 21261/head
Patrick Donnelly [Thu, 5 Apr 2018 17:50:32 +0000 (10:50 -0700)]
ceph-object-corpus: update to fix make check

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agolibrbd: discard should wait for in-flight cache writeback to complete 21248/head
Jason Dillaman [Wed, 4 Apr 2018 15:48:56 +0000 (11:48 -0400)]
librbd: discard should wait for in-flight cache writeback to complete

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosdc/ObjectCacher: allow discard to complete in-flight writeback
Jason Dillaman [Wed, 4 Apr 2018 15:47:05 +0000 (11:47 -0400)]
osdc/ObjectCacher: allow discard to complete in-flight writeback

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21148 from wjwithagen/wjw-setup-virtualenv
Nathan Cutler [Thu, 5 Apr 2018 13:14:13 +0000 (15:14 +0200)]
Merge pull request #21148 from wjwithagen/wjw-setup-virtualenv

tools: FreeBSD basic getopt does not use --options

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #21237 from guzhongyan/zabbix-fix
John Spray [Thu, 5 Apr 2018 11:00:40 +0000 (12:00 +0100)]
Merge pull request #21237 from guzhongyan/zabbix-fix

mgr/zabbix: Fix wrong log message

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21253 from ceph/wip-yuriw-crontab
Kefu Chai [Thu, 5 Apr 2018 07:04:02 +0000 (15:04 +0800)]
Merge pull request #21253 from ceph/wip-yuriw-crontab

tests/qa - enabled `ceph-deploy` runs on `mira` nodes

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge PR #21254 into master
Patrick Donnelly [Thu, 5 Apr 2018 04:13:35 +0000 (21:13 -0700)]
Merge PR #21254 into master

* refs/pull/21254/head:
mds: bump mds_log_max_segments for trim buffer

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #21252 from neha-ojha/wip-modify-crontab
Josh Durgin [Thu, 5 Apr 2018 00:50:07 +0000 (17:50 -0700)]
Merge pull request #21252 from neha-ojha/wip-modify-crontab

qa/crontab: run the perf-basic suite every day

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agomds: bump mds_log_max_segments for trim buffer 21254/head
Patrick Donnelly [Wed, 4 Apr 2018 23:47:06 +0000 (16:47 -0700)]
mds: bump mds_log_max_segments for trim buffer

Under create heavy workloads, the MDS will sometimes get behind trimming but
catch up. This avoids unnecessary warnings.

Fixes: http://tracker.ceph.com/issues/23560
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agotests/qa - enabled `ceph-deploy` runs on `mira` nodes 21253/head
Yuri Weinstein [Wed, 4 Apr 2018 23:18:41 +0000 (16:18 -0700)]
tests/qa - enabled `ceph-deploy` runs on `mira` nodes

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agomgr/dashboard: Apply usage-bar component on health 21128/head
Ricardo Marques [Mon, 2 Apr 2018 11:11:23 +0000 (12:11 +0100)]
mgr/dashboard: Apply usage-bar component on health

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Apply usage-bar component on osd
Ricardo Marques [Mon, 2 Apr 2018 11:10:50 +0000 (12:10 +0100)]
mgr/dashboard: Apply usage-bar component on osd

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Apply usage-bar component on cephfs
Ricardo Marques [Mon, 2 Apr 2018 11:09:25 +0000 (12:09 +0100)]
mgr/dashboard: Apply usage-bar component on cephfs

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agomgr/dashboard: Add usage bar component
Ricardo Marques [Thu, 29 Mar 2018 14:58:53 +0000 (15:58 +0100)]
mgr/dashboard: Add usage bar component

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoqa/crontab: run the perf-basic suite every day 21252/head
Neha Ojha [Wed, 4 Apr 2018 21:33:11 +0000 (14:33 -0700)]
qa/crontab: run the perf-basic suite every day

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoqa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS
Sage Weil [Wed, 4 Apr 2018 21:23:48 +0000 (16:23 -0500)]
qa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS

Recovery and peering can be slow enough with all the logging enabled to
trigger a slow ops warning.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoTEST Revert "mon/OSDMonitor: disallow pg_num changes until after pool is created"
Sage Weil [Wed, 4 Apr 2018 21:20:06 +0000 (16:20 -0500)]
TEST Revert "mon/OSDMonitor: disallow pg_num changes until after pool is created"

This reverts commit 38319f8300ebf4a48b6910790467bad96d29941e.

I want to reproduce the race to see if there is a better way to avoid it.

This breaks tests that set pg_num, and generally makes interacting with
the cluster awkward for anything non-human.

# Conflicts:
# src/mon/CreatingPGs.h

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21101 from dzafman/wip-23267
Josh Durgin [Wed, 4 Apr 2018 21:06:46 +0000 (14:06 -0700)]
Merge pull request #21101 from dzafman/wip-23267

scrub errors not cleared on replicas can cause inconsistent pg state when replica takes over primary

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agorbd: improve 'import-diff' corrupt input error messages 21249/head
Jason Dillaman [Wed, 4 Apr 2018 18:55:05 +0000 (14:55 -0400)]
rbd: improve 'import-diff' corrupt input error messages

Fixes: http://tracker.ceph.com/issues/18844
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agobuild/ops: make-dist: fall back to python3 21127/head
Nathan Cutler [Thu, 29 Mar 2018 15:23:40 +0000 (17:23 +0200)]
build/ops: make-dist: fall back to python3

If python2.7 is not available, we might be building in a Python 3-only
environment.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agomgr/dashboard: move all controller infrastructure to controllers/__init__.py 21239/head
Ricardo Dias [Wed, 4 Apr 2018 16:25:16 +0000 (17:25 +0100)]
mgr/dashboard: move all controller infrastructure to controllers/__init__.py

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agomgr/dashboard: using RoutesDispatcher as HTTP request dispatcher
Ricardo Dias [Tue, 3 Apr 2018 16:02:09 +0000 (17:02 +0100)]
mgr/dashboard: using RoutesDispatcher as HTTP request dispatcher

Signed-off-by: Ricardo Dias <rdias@suse.com>
7 years agoosd: clarify FIXME comments
Sage Weil [Wed, 4 Apr 2018 15:30:45 +0000 (10:30 -0500)]
osd: clarify FIXME comments

These are generally things to fix aspirationally someday or things that
we'll need to clean up as part of the move to seastar.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21146 from zmc/wip-cephmetrics
vasukulkarni [Wed, 4 Apr 2018 15:28:57 +0000 (08:28 -0700)]
Merge pull request #21146 from zmc/wip-cephmetrics

qa/suites/cephmetrics: Updates for new version

7 years agoosd: reimplement get_mapped_pools
Sage Weil [Wed, 4 Apr 2018 13:35:15 +0000 (08:35 -0500)]
osd: reimplement get_mapped_pools

Output as a proper array this time.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21244 from ifed01/wip-ifed-min-blob-descr
Sage Weil [Wed, 4 Apr 2018 15:18:21 +0000 (10:18 -0500)]
Merge pull request #21244 from ifed01/wip-ifed-min-blob-descr

os/bluestore: update description for bluestore_compression_[min|max|_blob_size options

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: be more verbose when hitting unloaded shard in extent map 21245/head
Igor Fedotov [Wed, 4 Apr 2018 14:29:31 +0000 (17:29 +0300)]
os/bluestore: be more verbose when hitting unloaded shard in extent map

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoos/bluestore: update description for 21244/head
Igor Fedotov [Wed, 4 Apr 2018 14:01:51 +0000 (17:01 +0300)]
os/bluestore: update description for
bluestore_compression_[min|max|_blob_size options

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoosd: avoid OSDShardPGSlot allocation in fast path
Sage Weil [Wed, 4 Apr 2018 02:07:23 +0000 (21:07 -0500)]
osd: avoid OSDShardPGSlot allocation in fast path

If the entry already exists, we don't want to construct the PGSlot
and then throw it out.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: check for rctx contexts instead of adding nop() to transaction
Sage Weil [Tue, 3 Apr 2018 01:57:32 +0000 (20:57 -0500)]
osd: check for rctx contexts instead of adding nop() to transaction

This is cheaper and more explicit.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/ObjectStore: add has_contexts()
Sage Weil [Tue, 3 Apr 2018 01:57:04 +0000 (20:57 -0500)]
os/ObjectStore: add has_contexts()

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: clean up osdmap_lock
Sage Weil [Mon, 2 Apr 2018 20:44:57 +0000 (15:44 -0500)]
osd: clean up osdmap_lock

Comment rules and take lock during init/shutdown (nice but not necessary).

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoPendingReleaseNotes: not pg_num adjustments during pool create
Sage Weil [Mon, 2 Apr 2018 20:33:36 +0000 (15:33 -0500)]
PendingReleaseNotes: not pg_num adjustments during pool create

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoPendingReleaseNotes: mons before osds to avoid force-recovery issue
Sage Weil [Mon, 2 Apr 2018 19:39:41 +0000 (14:39 -0500)]
PendingReleaseNotes: mons before osds to avoid force-recovery issue

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: drop obsolete Pred
Sage Weil [Mon, 2 Apr 2018 14:24:16 +0000 (09:24 -0500)]
osd: drop obsolete Pred

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoosd: OSDShard: sdata_op_ordering_lock -> shard_lock
Sage Weil [Mon, 2 Apr 2018 14:24:03 +0000 (09:24 -0500)]
osd: OSDShard: sdata_op_ordering_lock -> shard_lock

Signed-off-by: Sage Weil <sage@redhat.com>