Commit Graph

91619 Commits

Author SHA1 Message Date
Patrick Donnelly
6345c3f80d
Merge PR #24455 into master
* refs/pull/24455/head:
	qa: use timeout for fs asok operations

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2018-10-17 10:17:29 -07:00
Patrick Donnelly
d8925ba530
mds: remove MonClient reconnect
We should instead rely on the keepalives and automatic reconnects by the
MonClient.

Fixes: http://tracker.ceph.com/issues/36493

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-17 09:59:52 -07:00
Sage Weil
c24d8d47d5 Merge PR #24615 into master
* refs/pull/24615/head:
	cmake: mark gcc 7 as minimum C++ compiler (due to std++17)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-17 11:08:31 -05:00
Lenz Grimmer
a848953f28
Merge pull request #24617 from p-na/fix-python3-issue
mgr/dashboard: Fix Python3 issue

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-10-17 18:06:58 +02:00
Kefu Chai
36fb31867f crimson/mon: remove timeout support from mon::Client::authenticate()
as the timeout parameter is not used by OSD.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-10-17 23:55:07 +08:00
Kefu Chai
250fe6bc0f cmake: reuse common_mountcephfs_objs in crimson-common
so we won't built them twice.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-10-17 23:54:57 +08:00
Sage Weil
1d59e1eb3f Merge PR #24102 into master
* refs/pull/24102/head:
	global: fix err_to_stderr can't work when it was configured to false
	osd: replace cout/derr with dout(0) to avoid writing trivial logs to syslog file

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-17 10:07:15 -05:00
Sage Weil
442f50741d Merge PR #24236 into master
* refs/pull/24236/head:
	osd: Log error and abort if fails to pick address

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-10-17 10:06:57 -05:00
Sage Weil
f8b6cbda34 Merge PR #24359 into master
* refs/pull/24359/head:
	qa/tests: update ansible version to 2.6 for master branch testing.
	qa/tests: use lvm as default for ceph-ansible testing, this should also work with raw devices

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-10-17 10:06:42 -05:00
Sage Weil
54d539d79a Merge PR #24603 into master
* refs/pull/24603/head:
	crush: get "ceph osd crush class create/rm" back

Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-17 10:06:26 -05:00
Sage Weil
8427cef7e3 Merge PR #24613 into master
* refs/pull/24613/head:
	OSD: fix a typo err when increase recvoery bytes statistics

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-10-17 10:05:39 -05:00
Kefu Chai
1b78e91bf4
Merge pull request #24586 from mynaramana/claydoc
erasure-code: fixes alignment issue when clay code is used with jerasure, cauchy_orig

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-17 22:55:38 +08:00
Sage Weil
4bb9c6abed Merge PR #24625 into nautilus
* refs/pull/24625/head:
	qa/suites/rados/mgr/tasks/module_selftest: whitelist 'foo bar security'

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2018-10-17 09:46:18 -05:00
Jeff Layton
741850b05e mgr/rook: fix urljoin import
This is the correct syntax to ensure that we get urljoin, no matter
the python version.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2018-10-17 10:26:41 -04:00
Kefu Chai
89cd34b60c
Merge pull request #24608 from cyx1231st/wip-seastar-msgr-accepting
crimson/net: implement accepting/connecting states

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-17 21:51:22 +08:00
Yingxin
f368daf5a1 crimson/net: implement accepting/connecting states
- introduce the new accepting/connecting connection states.
- return ConnectionRef immediately when connect().
- manage the ownership of the accepting connections.
- manage the ownership of the registered connections.
- encapsulate a Socket class because it is not created when constructing
  a SocketConnection, and allow it to be replaced in the future.
- refactor related interfaces.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-10-18 02:15:26 +08:00
Patrick Donnelly
6b2cecf687
Merge PR #24624 into master
* refs/pull/24624/head:
	client: Mutex::Locker -> std::lock_guard
	mds: Mutex::Locker -> std::lock_guard

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-17 06:42:49 -07:00
Myna V
c42aa4d003 erasure-code: fixing bugs in clay-code plugin
* Fixes alignment issue while using clay code with jerasure, cauchy_orig
* Fixes ceph_erasure_code_non_regression to adapt to new decode

Signed-off-by: Myna <mynaramana@gmail.com>
2018-10-17 18:35:07 +05:30
Sage Weil
b833d35d9b qa/suites/rados/mgr/tasks/module_selftest: whitelist 'foo bar security'
Avoid failures like

"2018-10-16 20:36:00.437153 mgr.y (mgr.25609) 6 : cluster [SEC] foo bar security" in cluster log

Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-17 07:09:15 -05:00
Patrick Nawracay
5c0c122597 mgr/dashboard: Fix Python3 issue
Which results in a 500 error when trying to access the `Performance
Counter` tab on the OSD list.

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-10-17 14:02:12 +02:00
Kefu Chai
2a914d4c2d
Merge pull request #24629 from cyx1231st/wip-seastar-fix
crimson/net: fix compile errors in test_alien_echo.cc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-17 19:22:03 +08:00
Yingxin
e304deac65 crimson/net: fix compile errors
test_alien_echo.cc is using common_init_finish, but it is not available
if defined WITH_SEASTAR.

Dispatcher::ms_verify_authorizer() is removed by PR#24095.

Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-10-17 23:12:45 +08:00
Lenz Grimmer
dd73f4d861
Merge pull request #24607 from p-na/fix-osd-list-status-labels
mgr/dashboard: Fix spaces around status labels on OSD list

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-10-17 12:59:07 +02:00
Lenz Grimmer
11f73f47a5
Merge pull request #24614 from s0nea/wip-dashboard-configs-textarea-vertical-resize
mgr/dashboard: configs textarea disallow horizontal resize

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-10-17 12:57:55 +02:00
Lenz Grimmer
bf972f3a8c
Merge pull request #24631 from Devp00l/wip-issue-36466
mgr/dashboard: Add left padding to helper icon

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-10-17 12:56:21 +02:00
Stephan Müller
c37023c9f3 mgr/dashboard: Handle class objects as regular objects in KV-table
Fixes: https://tracker.ceph.com/issues/36468
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-17 10:51:26 +02:00
Stephan Müller
69373765f4 mgr/dashboard: Add left padding to helper icon
Fixes: https://tracker.ceph.com/issues/36466
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-17 10:46:37 +02:00
Stephan Müller
70c3d98c95 mgr/dashboard: Add missing test requirement "werkzeug"
Fixes: https://tracker.ceph.com/issues/36445
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-10-17 10:33:39 +02:00
Myna V
ddae848062 doc: erasure-code cleanup of clay plugin documentation
Signed-off-by: Myna <mynaramana@gmail.com>
2018-10-17 09:59:39 +05:30
hsiang41
31c26279bb mgr/diskprediction: Solve predictor model file not backward compatibility
Use pickle library instead of joblib library. It can avoid library not compatible with different operation system.

Signed-off-by: Rick Chen <rick.chen@prophetstor.com>
2018-10-17 10:10:59 +08:00
Dongsheng Yang
9a2b1f2623 TokenBucketThrottle: use reference to m_blockers.front() and then update it
As we need to update the blocker below, then we need to use reference to front object,
rather than a new object of blocker.

Fixes: http://tracker.ceph.com/issues/36475
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2018-10-16 21:00:46 -04:00
Sage Weil
369a272abb Merge PR #24578 into master
* refs/pull/24578/head:
	pybind/ceph_argparse.py: do not create file for validating CephFilepath

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-10-16 17:57:24 -05:00
Sage Weil
862dd2117c Merge PR #24565 into master
* refs/pull/24565/head:
	mgr: python 3 compat fixes

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2018-10-16 17:56:59 -05:00
Sage Weil
06af843bbc Merge PR #24558 into master
* refs/pull/24558/head:
	pybind/mgr: Fix Python 3 imports in diskprediction & insights

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2018-10-16 17:56:43 -05:00
Sage Weil
c92787c34a Merge PR #24528 into master
* refs/pull/24528/head:
	common/condition_variable_debug: fix wait hooks
	common/mutex_debug: remove no-op before/after hooks
	common/mutex_debug: do lockdep post-lock step in caller
	os/bluestore: {Mutex,Cond} -> ceph::{mutex,condition_variable}
	os/bluestore: std::recursive_mutex -> ceph::recursive_mutex
	os/bluestore: re-add is_locked assert
	os/bluestore: std::{mutex,condition_variable} -> ceph::{mutex,condition_variable}
	os/bluestore: use deduction for lock_guard<>, unique_lock<>

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2018-10-16 17:55:59 -05:00
Sage Weil
7f5d42fef1 Merge PR #24151 into master
* refs/pull/24151/head:
	mgr/devicehealth: use is_valid_daemon_name helper
	mgr/devicehealth: generalize to mon and osd daemons
	mon: implement 'smart [devid]' tell command
	mgr: parse mon metadata properly
	mon: report device id used by mon
	common/blkdev: add get_device_by_path
	common/blkdev: migrate block_device_run_smartctl from OSD.cc

Reviewed-by: John Spray <john.spray@redhat.com>
2018-10-16 17:43:02 -05:00
Sage Weil
8e2ed7796c Merge PR #24566 into master
* refs/pull/24566/head:
	osd,mon: keep last_epoch_started along with last_epoch_clean premerge

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-10-16 14:34:19 -05:00
Sage Weil
948635a8b2 mgr: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:11:33 -05:00
Sage Weil
209ec5d4ec kv: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:11:21 -05:00
Sage Weil
993db49e20 librados: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:10:37 -05:00
Sage Weil
de8153fba6 client: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:08:46 -05:00
Sage Weil
b023007be7 mds: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 14:08:46 -05:00
Sage Weil
35df0deac6 mon: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 13:44:55 -05:00
Sage Weil
84358a04b5 osd: Mutex::Locker -> std::lock_guard
Signed-off-by: Sage Weil <sage@redhat.com>
2018-10-16 13:43:33 -05:00
Sage Weil
f9cf93584f Merge PR #24598 into master
* refs/pull/24598/head:
	.github/stale.yml: configure probot/stale to automatically close stale issues

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-10-16 13:41:28 -05:00
Kefu Chai
6c00b11ba9
Merge pull request #24619 from tchaikov/wip-crimson-mon-client-better-encapsulation
crimson/mon: move mon::Connection into .cc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-17 00:45:19 +08:00
Kefu Chai
311c6371f8 crimson/mon: move mon::Connection into .cc
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-10-17 00:07:41 +08:00
Neha Ojha
bc13cfd035
Merge pull request #23849 from tchaikov/wip-crimson-monc
crimson: add MonClient

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 08:10:36 -07:00
Casey Bodley
1d9f7b117e rgw: remove old PutObjProcessor stack
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00
Casey Bodley
28f194d8c7 rgw: copy_obj uses AtomicObjectProcessor
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-10-16 11:06:14 -04:00