Commit Graph

85710 Commits

Author SHA1 Message Date
Rishabh Dave
0f56c7e8e5 client: don't hang when MDS sessions are evicted
Currently, a filesystem client hangs if a request is made after it's
eviction. Prevent the client from hanging and allow a manual unmount
in such cases.

Fixes: http://tracker.ceph.com/issues/10915
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-04-30 12:01:52 +00:00
Patrick Donnelly
8b3b7dbefa
Merge PR #21499 into master
* refs/pull/21499/head:
	doc/cephfs: update kernel client quotas support info

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2018-04-19 16:15:28 -07:00
Patrick Donnelly
cdd701f434
githubmap: update contributors
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 16:15:27 -07:00
Patrick Donnelly
7fa4965c2a
Merge PR #21472 into master
* refs/pull/21472/head:
	mds: optimize purge queue expire pos update

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-19 16:05:25 -07:00
Patrick Donnelly
9b2a919d70
Merge PR #21434 into master
* refs/pull/21434/head:
	client: add client option descriptions

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-19 14:59:24 -07:00
Patrick Donnelly
a4778e9d62
Merge PR #21498 into master
* refs/pull/21498/head:
	client: flush the mdlog in _fsync before waiting on unstable reqs

Reviewed-by: dongdong tao <tdd21151186@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-19 11:09:46 -07:00
Boris Ranto
4dde3d355f
Merge pull request #21530 from jan--f/mgr-prometheus-fix-osd-metadata
pybind/mgr/prometheus: fix creation of osd_metadata metric

Reviewed-by: Boris Ranto <branto@redhat.com>
2018-04-19 19:42:48 +02:00
Jan Fajerski
05a37d4a61 pybind/mgr/prometheus: fix creation of osd_metadata metric
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-04-19 17:34:25 +02:00
Kefu Chai
ed96c33181
Merge pull request #21446 from smithfarm/wip-ctest-py3-fallback
cmake/mgr: use Python 3 virtualenv if mgr subinterpreter is Python 3

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-19 23:13:23 +08:00
Kefu Chai
3d5aaf5a59
Merge pull request #21477 from liewegas/wip-kvstore-tool
ceph-kvstore-tool: make it a bit more friendly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-04-19 22:57:42 +08:00
Kefu Chai
12e42211aa
Merge pull request #21488 from tchaikov/wip-i-choose-to-die-instead-of-leak
msg/async/EventKqueue: assert on OOM

Reviewed-by: Haomai Wang <haomai@xsky.com>
2018-04-19 22:57:00 +08:00
Andrew Schoen
eaa02bc722
Merge pull request #21496 from ceph/wip-rm23678
ceph-volume: allow skipping systemd interactions on activate/create

Reviewed-by: Andrew Schoen <aschoen@redhat.com
2018-04-19 14:36:40 +00:00
Ricardo Dias
47a55cf52e
Merge pull request #21466 from jcsp/wip-dashboard-cmake-all
cmake: include frontend build in 'all' target

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-19 10:19:47 +01:00
Lenz Grimmer
3bff4b207c
Merge pull request #21497 from votdev/forceidentifier_datatable
mgr/dashboard: Add 'forceIdentifier' attribute to datatable

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-04-19 11:13:32 +02:00
Kefu Chai
b8fa9837be
Merge pull request #21469 from liewegas/wip-log-nomsgs
mon/LogMonitor: do not crash on log sub w/ no messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2018-04-19 17:06:32 +08:00
Kefu Chai
7985f37e54
Merge pull request #21467 from tchaikov/wip-perf-stats-ns-incarnation
include/ceph_features: fix OS_PERF_STAT_NS's incarnation

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-04-19 17:05:29 +08:00
Kefu Chai
fb472ddc37
Merge pull request #21459 from runsisi/wip-mgrc-register
mgr/MgrClient: service registration filtered by service name instead of daemon name

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-19 17:02:53 +08:00
Ilya Dryomov
d0ccfb4026
Merge pull request #21344 from yangdongsheng/lock_timeout
rbd: support lock_timeout in rbd mapping

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 10:26:09 +02:00
Nathan Cutler
ffab79587d cmake/mgr: use Python 3 virtualenv if mgr subinterpreter is Python 3
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-19 09:47:37 +02:00
Volker Theile
9e3ad18257 mgr/dashboard: Force identifier for RBD datatable.
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 09:31:38 +02:00
Volker Theile
dda38317c4 mgr/dashboard: Add 'forceIdentified' attribute to datatable
Signed-off-by: Volker Theile <vtheile@suse.com>
2018-04-19 09:23:58 +02:00
Dongsheng Yang
b09e4fe584 rbd: support lock_timeout in rbd mapping
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2018-04-19 02:59:21 -04:00
Ilya Dryomov
6931ab7ec9
Merge pull request #21056 from hitoshikamei/rbdmap-notrim
rbd: add notrim option to rbd map

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2018-04-19 08:51:57 +02:00
Kefu Chai
2efe9daf77
Merge pull request #21490 from tchaikov/wip-tox
mgr/dashboard: create venv for running tox

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-04-19 13:11:27 +08:00
Kefu Chai
1599414827 mgr/dashboard: create venv for running tox
the tox shipped with centos is 1.4.2, and is way too old. it does not
allow us to define the dependency using generative-envlist.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-19 12:11:59 +08:00
Kefu Chai
f8a0a3cfec tools/setup-virtualenv.sh: bump up the version of tox to 2.9.1
2.8.1 brings an important fix, see
https://github.com/tox-dev/tox/issues/515.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-04-19 12:11:59 +08:00
Alfredo Deza
b6344f366d
Merge pull request #21489 from thmour/thmour_parallel_create
ceph-volume: allow parallel creates

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-18 18:24:51 -04:00
Patrick Donnelly
bb95292213
Merge PR #16608 into master
* refs/pull/16608/head:
	qa: whitelist mds down wrn during cephfs testing
	mds: add config to disable fragmentation
	qa: add max_mds thrash test
	qa: mds_thrash updates for new max_mds behavior
	doc: update upgrade procedure and release notes
	qa: add test for cluster resizing
	qa: remove use of mds deactivate
	cephfs: add new down/joinable fs flags
	mds: evict all clients if last mds shutting down
	cephfs: deprecate ceph mds deactivate
	cephfs: kill allow_dirfrags
	cephfs: Kill allow_multimds
	cephfs: Change behavior of cluster_down flag
	mon/FSCommands: Set extra MDS to standby
	cephfs: Health check changes
	mon/MDSMonitor: Remove command support for legacy syntax

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:36:54 -07:00
Patrick Donnelly
994cd16fbd
Merge PR #21456 into master
* refs/pull/21456/head:
	MDSMonitor: initialize new Filesystem epoch from pending

Reviewed-by: John Spray <john.spray@redhat.com>
2018-04-18 14:36:47 -07:00
Patrick Donnelly
63f6ce85c7
Merge PR #21457 into master
* refs/pull/21457/head:
	mds: unset deleted vars in shutdown_pass

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-18 14:36:40 -07:00
Patrick Donnelly
f28e19315c
Merge PR #21458 into master
* refs/pull/21458/head:
	MDSMonitor: cleanup and protect fsmap access

Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-04-18 14:36:32 -07:00
Patrick Donnelly
c03dc9d40e
Merge PR #21473 into master
* refs/pull/21473/head:
	client: fix error operator precedence

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-04-18 14:36:26 -07:00
Patrick Donnelly
c9ac87f57f
client: add client option descriptions
Fixes: http://tracker.ceph.com/issues/22933

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:22:27 -07:00
Patrick Donnelly
3292d43192
mds: unset deleted vars in shutdown_pass
So future passes do not try to delete again.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-04-18 14:14:39 -07:00
Nathan Cutler
90f5424782
Merge pull request #21480 from smithfarm/wip-backport-create-issue
scripts: new backport-create-issue script

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-04-18 19:57:45 +02:00
Nathan Cutler
327347a008 script/backport-create-issue: enable script to be imported
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-04-18 18:39:10 +02:00
Luis Henriques
35191fa4ad doc/cephfs: update kernel client quotas support info
Signed-off-by: Luis Henriques <lhenriques@suse.com>
2018-04-18 16:33:57 +01:00
Alfredo Deza
8848d03708 ceph-volume tests functional python tests for --no-systemd in activate
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-18 10:07:23 -04:00
Alfredo Deza
75685e33bf ceph-volume lvm.activate add --no-systemd flag to skip starting/enabling services
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-18 10:07:23 -04:00
Alfredo Deza
832da49ca8 ceph-volume lvm.common add --no-systemd flag to skip enabling/starting services
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-04-18 10:07:23 -04:00
Jeff Layton
d790108158 client: flush the mdlog in _fsync before waiting on unstable reqs
Recently, we changed ganesha to call to ceph_ll_sync_inode after
issuing a setattr call, to ensure that the attribute changes makes it
to the backing store before returning.

While testing with this, I noticed that we'd occasionally see setattr
calls stall for a long time. Analysis showed that the client's _fsync
request was stalled waiting on an mdlog flush.

This patch adds a call to flush_mdlog_sync prior to waiting on unsafe
requests in _fsync and seems to resolve the issue.

Tracker: http://tracker.ceph.com/issues/23714
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2018-04-18 10:06:44 -04:00
Jason Dillaman
5c4f8c7dc3
Merge pull request #21436 from trociny/wip-test-out_of_order
test/librbd: ensure OutOfOrder test has enough concurrent management ops

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 09:51:46 -04:00
Jason Dillaman
d286e72616
Merge pull request #21493 from trociny/wip-deep-copy-missing-return
librbd: missing 'return' in deep_copy::ObjectCopyRequest::send_read_object

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 09:51:22 -04:00
Lenz Grimmer
1b057bbc76
Merge pull request #21385 from ricardoasmarques/wip-list-all-rbds
mgr/dashboard: RBD management (frontend)

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-04-18 15:50:14 +02:00
Andrew Schoen
06c0933ae4
Merge pull request #21451 from ceph/wip-rm23581
ceph-volume: automatic VDO detection 

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-04-18 13:48:41 +00:00
Ricardo Marques
4e9a5aa7a6 mgr/dashboard: RBD management
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 12:04:08 +01:00
Mykola Golub
5f9a9fb142 librbd: missing 'return' in deep_copy::ObjectCopyRequest::send_read_object
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-04-18 13:46:16 +03:00
Boris Ranto
a2eea2427a
Merge pull request #21383 from b-ranto/wip-mgr-rgw-metadata
prometheus: Implement rgw_metadata metric

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-04-18 12:46:00 +02:00
Ricardo Marques
f0d8338e98 mgr/dashboard: Add 'executing' cell template
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00
Ricardo Marques
2c4e35a7e1 mgr/dashboard: Configurable type for 'cd-submit-button'
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-04-18 11:02:28 +01:00