Commit Graph

84738 Commits

Author SHA1 Message Date
Sage Weil
577737d007 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>
2018-04-06 11:00:14 -05:00
Sage Weil
8f8f65594b
Merge pull request #21250 from liewegas/wip-recovery-slow-ops
qa/suites/rados/singleton/all/recovery_preemption: whitelist SLOW_OPS
2018-04-06 10:59:23 -05:00
Sage Weil
b235a3f62a qa/suites/rados/singleton/all/ec-lost-unfound: whitelist SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-06 10:38:45 -05:00
Lenz Grimmer
95ee4e4142
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>
2018-04-06 16:36:34 +02:00
Joao Eduardo Luis
940dd941ef
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>
2018-04-06 15:22:28 +01:00
Casey Bodley
072a9be2e0
Merge pull request #20464 from cbodley/wip-rgw-beast-ssl
rgw: add ssl support to beast frontend

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-04-06 09:52:55 -04:00
Lenz Grimmer
658e5d5a50
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>
2018-04-06 11:07:01 +02:00
Lenz Grimmer
6def989ade
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>
2018-04-06 10:50:45 +02:00
Joao Eduardo Luis
3997eed4db qa: enable mon osdmap pruning on 'rados/' suites
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-06 04:18:23 +01:00
Joao Eduardo Luis
65e7e4a38f qa: enable mon osdmap pruning on rados/monthrash
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-06 04:18:23 +01:00
Joao Eduardo Luis
2ffed4c98f 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>
2018-04-06 04:18:23 +01:00
Joao Eduardo Luis
6393c7ddeb 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>
2018-04-06 04:18:22 +01:00
Joao Eduardo Luis
f501458967 qa/standalone: deduplicate cleanup code
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-06 04:18:22 +01:00
Joao Eduardo Luis
5ba6286834 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>
2018-04-06 04:18:22 +01:00
Joao Eduardo Luis
5cd2b057f3 mon/OSDMonitor: allow triggering prunes from tick()
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-06 04:18:22 +01:00
Joao Eduardo Luis
029807b3e9 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>
2018-04-06 04:18:22 +01:00
Joao Eduardo Luis
b64122ac37 mon/OSDMonitor: dump osdmap manifest alongside other infos
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-06 04:18:22 +01:00
Joao Eduardo Luis
bc5df2b449 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>
2018-04-06 04:18:22 +01:00
Joao Eduardo Luis
06f3ab684f doc: add dev notes for mon's full osdmap pruning
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-04-06 04:18:22 +01:00
Nathan Cutler
507b872858
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>
2018-04-06 04:00:46 +02:00
Patrick Donnelly
2156fd071c
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>
2018-04-05 17:03:18 -07:00
Patrick Donnelly
fa430543d9
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>
2018-04-05 17:02:20 -07:00
Casey Bodley
fe5fb47ba5 rgw: beast frontend calls shutdown before closing connections
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-04-05 17:38:41 -04:00
Casey Bodley
35fd4050b7 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>
2018-04-05 15:30:22 -04:00
Casey Bodley
247e074338 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>
2018-04-05 15:30:22 -04:00
Casey Bodley
0753410bde 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>
2018-04-05 15:30:22 -04:00
Matt Benjamin
c803fb12c8
Merge pull request #20992 from cbodley/wip-dmclock-remove-by-ptr
dmclock: update mClockPriorityQueue with changes in subtree
2018-04-05 14:57:41 -04:00
Sage Weil
07ee12d509
Merge pull request #21261 from batrick/ceph-update-ceph-object-corpus
ceph-object-corpus: update to fix make check
2018-04-05 12:55:18 -05:00
Patrick Donnelly
b8569e0155
ceph-object-corpus: update to fix make check
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-05 10:50:32 -07:00
Nathan Cutler
a903a769df
Merge pull request #21148 from wjwithagen/wjw-setup-virtualenv
tools: FreeBSD basic getopt does not use --options

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-04-05 15:14:13 +02:00
John Spray
a367b60740
Merge pull request #21237 from guzhongyan/zabbix-fix
mgr/zabbix: Fix wrong log message

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-05 12:00:40 +01:00
Kefu Chai
d440902b4d
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>
2018-04-05 15:04:02 +08:00
Patrick Donnelly
7c6aff27c7
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>
2018-04-04 21:13:35 -07:00
Josh Durgin
7fbac83e10
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>
2018-04-04 17:50:07 -07:00
Patrick Donnelly
86e76d15f3
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>
2018-04-04 16:47:06 -07:00
Yuri Weinstein
3846f8445f tests/qa - enabled ceph-deploy runs on mira nodes
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-04-04 16:18:41 -07:00
Ricardo Marques
4b7f56a83d mgr/dashboard: Apply usage-bar component on health
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-04 23:54:27 +01:00
Ricardo Marques
9d5df36e3a mgr/dashboard: Apply usage-bar component on osd
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-04 23:54:27 +01:00
Ricardo Marques
9dc966bc3e mgr/dashboard: Apply usage-bar component on cephfs
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-04 23:54:27 +01:00
Ricardo Marques
e3278b423d mgr/dashboard: Add usage bar component
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-04 23:54:26 +01:00
Neha Ojha
109057c037 qa/crontab: run the perf-basic suite every day
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-04-04 15:26:21 -07:00
Sage Weil
3b3c32f643 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>
2018-04-04 16:24:31 -05:00
Josh Durgin
90600bd18d
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>
2018-04-04 14:06:46 -07:00
Nathan Cutler
72c6405da3 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>
2018-04-04 19:17:45 +02:00
Ricardo Dias
1f8922178c
mgr/dashboard: move all controller infrastructure to controllers/__init__.py
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-04 17:41:14 +01:00
Ricardo Dias
204109cc82
mgr/dashboard: using RoutesDispatcher as HTTP request dispatcher
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-04 17:41:03 +01:00
vasukulkarni
806072a494
Merge pull request #21146 from zmc/wip-cephmetrics
qa/suites/cephmetrics: Updates for new version
2018-04-04 08:28:57 -07:00
Sage Weil
953744e578
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>
2018-04-04 10:18:21 -05:00
Igor Fedotov
733be6f0a9 os/bluestore: update description for
bluestore_compression_[min|max|_blob_size options

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-04-04 17:01:51 +03:00
Ricardo Dias
f736dbdef6
mgr/dashboard: TaskManager: implement finished tasks as a list
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-04-04 11:19:16 +01:00