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
4cb194eef5
mon/OSDMonitor: fix warnings
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-05 13:07:53 -05:00
Sage Weil
b626b4dcdc
mon/OSDMonitor: keep sending legacy create messages for now
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-05 13:04:09 -05: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
Jason Dillaman
0e04de4bb9
librbd: discard should wait for in-flight cache writeback to complete
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-05 09:47:01 -04:00
Jason Dillaman
feee52d57d
osdc/ObjectCacher: allow discard to complete in-flight writeback
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-04-05 09:46:57 -04: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
Sage Weil
7db0fd0a8d
TEST Revert "mon/OSDMonitor: disallow pg_num changes until after pool is created"
...
This reverts commit 38319f8300
.
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>
2018-04-04 16:20:36 -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
Sage Weil
5b9c0c1605
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>
2018-04-04 10:30:45 -05: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
1f4f8ce257
osd: reimplement get_mapped_pools
...
Output as a proper array this time.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 10:26:28 -05: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
70cda1704b
os/bluestore: be more verbose when hitting unloaded shard in extent map
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2018-04-04 17:29:31 +03: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
Sage Weil
d14221d5d6
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>
2018-04-04 08:27:01 -05:00
Sage Weil
9dbb9f9355
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>
2018-04-04 08:27:01 -05:00
Sage Weil
b85a24acd1
os/ObjectStore: add has_contexts()
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:01 -05:00
Sage Weil
0724072b16
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>
2018-04-04 08:27:01 -05:00
Sage Weil
68c505df24
PendingReleaseNotes: not pg_num adjustments during pool create
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:01 -05:00
Sage Weil
3ecfa258d1
PendingReleaseNotes: mons before osds to avoid force-recovery issue
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
073dc92119
osd: drop obsolete Pred
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
e05dddeb9a
osd: OSDShard: sdata_op_ordering_lock -> shard_lock
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
20f6a86ac5
osd: OSDShard: sdata_lock -> sdata_wait_lock
...
This is only used for waiting.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
0c2970f0aa
osd: rename OSDPGShard::osdmap -> shard_osdmap
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
a25d6fd89f
osd: move sdata_op_ordering_lock declaration
...
So that comment makes sense
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
77179eb968
osd: reduce debug level for pg epoch min
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
a01d2dfc87
osd: accessors for num_pgs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:27:00 -05:00
Sage Weil
bfbf2044b2
osd: fix old wake_pg_waiters references
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:26:59 -05:00
Sage Weil
dc66a055ea
osd: fix 'stale' message
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:26:59 -05:00
Sage Weil
08381749f6
osd: constify arg for handle_pg_create_info, maybe_wait_for_max_pg
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-04-04 08:26:59 -05:00