Commit Graph

83531 Commits

Author SHA1 Message Date
Kefu Chai
ca2fd5abb8
Merge pull request #20506 from jan--f/prometheus-rm-outdated-daemon-metrics
pybind/mgr/prometheus: don't export metrics for dead daemon; new metrics

Reviewed-by: John Spray <john.spray@redhat.com>
2018-03-02 08:57:42 +08:00
Kefu Chai
8e272b2549
Merge pull request #20667 from tchaikov/wip-qa-standalone
qa/standalone: s/delete_erasure_pool/delete_erasure_coded_pool/

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-03-02 08:56:11 +08:00
Jason Dillaman
aed3a1db9d
Merge pull request #20648 from trociny/wip-snap_set_diff-empty_snapset
librados/snap_set_diff: don't assert on empty snapset

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:35:40 -05:00
Jason Dillaman
f91753d709
Merge pull request #20613 from Songweibin/wip-23038
rbd: import with option --export-format 2 fails to protect snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:35:23 -05:00
Jason Dillaman
6eaa1c4bc3
Merge pull request #20608 from Songweibin/wip-rbd-snap-purge
rbd: allow remove all unprotected snapshots

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:35:02 -05:00
Jason Dillaman
f9130d4a3d
Merge pull request #20578 from trociny/wip-pybind-group
librbd: small cleanup for recently merged code

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 15:34:26 -05:00
Casey Bodley
21cf09f8c6
Merge pull request #20621 from cbodley/wip-rgw-data_lock
rgw: don't hold data_lock over frontend io

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-03-01 15:05:50 -05:00
Casey Bodley
e05b74cb05
Merge pull request #20449 from cbodley/wip-rgw-beast-coroutine
rgw: switch beast frontend back to stackful coroutine

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-03-01 15:04:59 -05:00
Casey Bodley
855512aa28
Merge pull request #20546 from yehudasa/wip-rgw-gc-aio
rgw: gc use aio

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2018-03-01 13:54:11 -05:00
Patrick Donnelly
f52782694f
Merge PR #20643 into master
* refs/pull/20643/head:
	ceph-volume-client: fix command argument order

Reviewed-by: Ramana Raja <rraja@redhat.com>
2018-03-01 08:48:30 -08:00
Andrew Schoen
d14e4e6452
Merge pull request #20650 from ceph/wip-rm22841
ceph-volume be resilient to $PATH issues

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-03-01 16:42:38 +01:00
Jason Dillaman
ecadb2c85b
Merge pull request #20656 from yaozongyou/rbd-fix-return
librbd: fix missing return in NotifyMessage::get_notify_op

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-03-01 08:45:03 -05:00
songweibin
7deeef9164 rbd: allow remove all unprotected snapshots
allow remove all unprotected snapshots when exiting
protected snapshots in the same image.
Fixes: http://tracker.ceph.com/issues/23126

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-01 21:01:24 +08:00
songweibin
8f43eff6da rbd: import with option --export-format fails to protect snapshot
Fixes: http://tracker.ceph.com/issues/23038

Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-03-01 20:48:38 +08:00
Kefu Chai
e1c23cde27
Merge pull request #20640 from tchaikov/wip-async-dpdk-temp-str
msg/async: avoid referencing the temporary string

Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-03-01 19:19:01 +08:00
Kefu Chai
8157dbb31f
Merge pull request #20531 from xiexingguo/wip-ec-scrub-sleep
osd/ECBackend: inject sleep during deep scrub

Reviewed-by: Sage Weil <sage@redhat.com>
2018-03-01 19:17:26 +08:00
Kefu Chai
fc43ae1724 qa/standalone: s/delete_erasure_pool/delete_erasure_coded_pool/
it's a regression introduced by ac56a202

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-03-01 19:09:31 +08:00
Jan Fajerski
d03c79676b pybind/mgr/prometheus: extend daemon metadata with hostname and ceph version
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-03-01 08:44:27 +01:00
Jan Fajerski
0095e6a1ba pybind/mgr/prometheus: add fs and mds metadata metrics
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-03-01 08:43:09 +01:00
Jan Fajerski
71a6408b1a pybind/mgr/prometheus: new mon metrics
Remove mon_quorum_count and replace it with per-MON quorum status
(mon_quorum_status). Also add mon_metadata metrics.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-03-01 08:43:09 +01:00
Jan Fajerski
f88877ab0b pybind/mgr/prometheus: add Metrics class to manage Metric instances
The central change of this commit is that per-daemon metrics are now
managed by first appending the metric (using Metrics.append) to a
staging area. Then the metrics for specific paths (metric names) are
overwritten by the staged metrics (by calling Metrics.reset). This gets
rid of metrics from daemon that are no longer in the cluster. I.e. when
ceph no longer reports metrics for one OSD daemon (because it was
removed from the cluster) the prometheus module will no longer export
metrics for that daemon.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-03-01 08:43:09 +01:00
Jos Collin
59da11b195
Merge pull request #20630 from joscollin/wip-doc-monitoring
doc: Update monitoring.rst

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
2018-03-01 11:46:34 +05:30
Jos Collin
5542338eb9 doc: Update monitoring.rst
Updated monitoring.rst with
	* Latest command output
	* misc doc fixes

Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-03-01 10:15:18 +05:30
Yao Zongyou
2fa18ef9e0 rbd: fix return is missing in NotifyMessage::get_notify_op
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2018-03-01 11:15:44 +08:00
Alfredo Deza
161f331382 ceph-volume process always try to expand the executable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-28 15:06:25 -05:00
Alfredo Deza
d26215a49b ceph-volume tests.util ensure behavior of new which utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-28 12:10:48 -05:00
Alfredo Deza
c36afed9a2 ceph-volume util.system add a helper to find system executables
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-02-28 12:10:47 -05:00
Kefu Chai
1932cd1a83
Merge pull request #20646 from tchaikov/wip-qa/run-standalone.sh/python-path
qa/run-standalone.sh: set PYTHONPATH for FreeBSD also

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-03-01 00:03:28 +08:00
Kefu Chai
33aa2e5ee3
Merge pull request #20634 from tchaikov/wip-delete-pool-in-standalone-test
qa/standalone: extract delete_pool()

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-02-28 23:47:39 +08:00
Abhishek L
16fa9820a7
Merge pull request #20619 from theanalyst/doc/release-notes/12.2.4
doc: 12.2.4 release notes

Reviewed-By: Alfredo Deza <adeza@redhat.com>
Reviewed-By: Lenz Grimmer <lgrimmer@suse.com>
2018-02-28 16:42:12 +01:00
Mykola Golub
2be4840afd librados/snap_set_diff: don't assert on empty snapset
Instead treat the diff as a full-object delta.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-02-28 17:33:50 +02:00
Kefu Chai
aaffaee38b qa/run-standalone.sh: set PYTHONPATH for FreeBSD also
do not set PYTHONPATH=/usr/lib/python2.7/dist-packages anymore, it will
be overridden later on anyway.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 22:30:32 +08:00
Yuri Weinstein
57ffaaa389
Merge pull request #19015 from hansbogert/master
mon: Add `ceph osd get-require-min-compat-client` command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2018-02-28 06:25:31 -08:00
Kefu Chai
8c4f10c9bb
Merge pull request #20607 from shangfufei/test_stack
msg/async:fix the incoming parameter type of EventCenter::process_events()

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 22:02:02 +08:00
Kefu Chai
52e5f1007d
Merge pull request #20509 from liewegas/wip-less-filestore-idempotent
qa/tasks/filestore_idempotent: shorter test

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 21:59:24 +08:00
Kefu Chai
8c31fbb001
Merge pull request #20498 from liewegas/wip-22616
os/bluestore: trim cache every 50ms (instead of 200ms)

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-02-28 21:58:14 +08:00
Kefu Chai
6b298b6693
Merge pull request #20616 from tchaikov/wip-cmake
cmake/BuildBoost: fixes to ready seastar

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-02-28 21:53:23 +08:00
Kefu Chai
fa7222377a
Merge pull request #20636 from tchaikov/wip-23169
Revert "core: hint the dout()'s message crafting as a cold code."

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2018-02-28 21:50:46 +08:00
Kefu Chai
7dd6e87dab
Merge pull request #20631 from tchaikov/wip-cmake-systemd
cmake: s/sysconf/sysconfig/

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Reviewed-by: Lenz Grimmer <lenz@grimmer.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-02-28 21:49:36 +08:00
Patrick Donnelly
cd30d28c6e
ceph-volume-client: fix command argument order
Fixes: http://tracker.ceph.com/issues/22038

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-02-28 03:55:52 -08:00
Kefu Chai
a2f65d78c3 msg/async: avoid referencing the temporary string
* get_val<std::string>(...) returns a temporary std::string, so we cannot
  keep a reference to it after evaluating this method. so convert it to
  an integer right away in the same expression.
* use std::stoull() with base = 16, so we can parse a hex string
  representing up to 64 bits.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 19:23:56 +08:00
Abhishek L
4e1c3acf2a
Merge pull request #15849 from theanalyst/wip-doc-es
doc: rgw add some basic documentation for sync plugins & ES

Reviewed-By: Yehuda Sadeh <yehuda@redhat.com>
2018-02-28 10:44:43 +01:00
Abhishek Lekshmanan
eee8bf925f doc: 12.2.4 release notes
And updating the release table

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-02-28 09:54:39 +01:00
Kefu Chai
d1df1f8e09 Revert "core: hint the dout()'s message crafting as a cold code."
This reverts commit b265ed2955.

with b265ed29, we cannot use `dout(10) << __func__ << ...` anymore for
logging the name of the inner most function. what we will have is
always `operator()`, because the lambda closure will be the inner most
function with the the hinting change.

Fixes: http://tracker.ceph.com/issues/23169
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 16:29:34 +08:00
Kefu Chai
ac56a202fd qa/standalone: extract delete_pool()
some tests, like osd-backfill-stats.sh are using delete_pool(), but
they don't have this function defined. and this function is defined
in standalone tests separately, so would be simpler if we can
consolidate them in ceph-helper.sh.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 15:40:28 +08:00
Kefu Chai
d0dd6e8eb1
Merge pull request #20411 from majianpeng/sync-nvml-submodule
cmake: sync nvml submodule to latest code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-02-28 15:19:09 +08:00
Jianpeng Ma
f85674a2d8 os/bluestore: make PMEMDevice work based on latest pmdk.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-02-28 18:13:54 +08:00
Jianpeng Ma
c1811b0813 cmake: sync nvml submodule
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2018-02-28 18:13:49 +08:00
Kefu Chai
930f5dd23f cmake: s/sysconf/sysconfig/
it's a regression caused by 638aadf

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-02-28 14:49:44 +08:00
Kefu Chai
bf5cb2e10e
Merge pull request #20618 from tchaikov/wip-systemd-deb-env
cmake,deb: install system units using cmake

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-02-28 14:42:34 +08:00