Commit Graph

90769 Commits

Author SHA1 Message Date
Kefu Chai
7e90989214
Merge pull request #24291 from tchaikov/wip-23964
erasure-code: add clay codes

Reviewed-by: Myna Vajha <mynaramana@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-10-02 10:48:21 +08:00
Neha Ojha
7aef741853
Merge pull request #24256 from dzafman/wip-36170
osd: Remove old bft= which has been superceded by backfill=

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-10-01 15:50:45 -07:00
John Spray
a45184e205
Merge pull request #24147 from sebastian-philipp/orchestrator-debuggability
mgr/orchestrator: Improve debuggability

Reviewed-by: John Spray <john.spray@redhat.com>
2018-10-01 21:48:28 +01:00
Patrick Donnelly
2dcd64df11
Merge PR #24346 into master
* refs/pull/24346/head:
	doc: misc fixes cephfs-shell

Reviewed-by: Pavani Rajula <rpavani1998@gmail.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-01 13:25:43 -07:00
Dan Mick
38de3d568b
Merge pull request #24340 from tchaikov/wip-36260
qa/workunits/mon/test_mon_config_key.py: bump up the size limit
2018-10-01 13:04:58 -07:00
Patrick Donnelly
bae625e666
Merge PR #21566 into master
* refs/pull/21566/head:
	test: add test for mds drop cache command
	mds: command to trim mds cache and client caps
	mds: implement journal flush as asynchronous context execution
	mds: cleanup some asok commands

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-01 12:48:16 -07:00
Andrew Schoen
27a572659f
Merge pull request #24355 from alfredodeza/wip-rm36249
ceph-volume:  activate option --auto-detect-objectstore respects --no-systemd

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-10-01 14:02:46 -05:00
Patrick Donnelly
b07a184859
Merge PR #24044 into master
* refs/pull/24044/head:
	qa: tolerate failed rank while waiting for state

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2018-10-01 10:43:35 -07:00
Alfredo Deza
8ac7b1a94e
Merge pull request #23674 from wjwithagen/wjw-wip-ceph-volume-zfs
ceph-volume: zfs, the initial first submit.

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-10-01 13:42:43 -04:00
Patrick Donnelly
b88cb48611
Merge PR #24275 into master
* refs/pull/24275/head:
	qa: add timeout to cleaning up workunit sandbox
	qa: add timeout to kclient umount
	qa: do not cleanup sandbox on error
	qa: use default timeout in fs workunits

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-10-01 10:41:00 -07:00
Alfredo Deza
29de6820a9 ceph-volume lvm.activate pass no_systemd args when detecting objectstore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-10-01 11:54:19 -04:00
Alfredo Deza
60dbeb6184 ceph-volume tests.lvm verify activate works with --auto-detect-objectstore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-10-01 11:53:37 -04:00
Willem Jan Withagen
d37d8e2b10 ceph-volume: zfs, the inital first submit.
Does nothing other than invoce the ceph-volume-zfs modules when
called with 'ceph-volume zfs

Like:
> ceph-volume zfs list

Use ZFS as the underlying technology for OSDs

--verbose   Increase the verbosity level

['list']
-->  TypeError: main() takes exactly 2 arguments (1 given)
Exit 1

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-10-01 17:39:45 +02:00
Casey Bodley
837d9adcf7
Merge pull request #24073 from AntonOks/master
doc: added some Civetweb configuration options

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-10-01 09:39:08 -04:00
Lenz Grimmer
c3db00d5e2
Merge pull request #24343 from jecluis/wip-dashboard-fix-oa
mgr/dashboard: fix reference to oA

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-10-01 15:01:30 +02:00
Lenz Grimmer
e525cb6438
Merge pull request #24237 from votdev/ignore_idea_dir
.gitignore: Ignore .idea directory

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-10-01 12:52:18 +02:00
Jos Collin
d7ff7cbb5f
doc: misc fixes cephfs-shell
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-10-01 09:20:06 +05:30
Patrick Donnelly
3a10d74f3a
qa: add timeout to cleaning up workunit sandbox
If there is a bug preventing rm from completing, the workunit will get stuck.

Fixes: http://tracker.ceph.com/issues/36184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-30 18:12:19 -07:00
Patrick Donnelly
7a64eb9dfb
qa: add timeout to kclient umount
Otherwise QA sits forever waiting for the kclient to umount when there is a
problem.

Fixes: http://tracker.ceph.com/issues/36184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-30 18:12:15 -07:00
Patrick Donnelly
d4b8f94cf8
qa: do not cleanup sandbox on error
Otherwise the command will hang if the mount is broken.

Fixes: http://tracker.ceph.com/issues/36184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-30 18:12:11 -07:00
Patrick Donnelly
bdd2ddcfd8
qa: use default timeout in fs workunits
Six hours is unnecessarily long.

Fixes: http://tracker.ceph.com/issues/36184
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-09-30 18:10:05 -07:00
Joao Eduardo Luis
d723ef4100 mgr/dashboard: fix reference to oA
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2018-10-01 01:11:09 +01:00
Kefu Chai
b35f6a533a qa/workunits/mon/test_mon_config_key.py: bump up the size limit
in b38b8e980c, we changed the upper
limit of size of `config key` 's value to 64k, so we need to update
the test accordingly.

Fixes: http://tracker.ceph.com/issues/36260
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-30 16:04:04 +08:00
Jason Dillaman
49f4614cc7
Merge pull request #24302 from hydro-b/fix-rbd-nbd-docu
doc: add "--timeout" option to rbd-nbd

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: songweibin <song.weibin@zte.com.cn>
2018-09-29 15:57:38 -04:00
Kefu Chai
27aaed88cf
Merge pull request #24289 from ukernel/wip-msg-clear-payload
msg: clear message middle when clearing encoded message buffer

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-30 00:10:18 +08:00
Kefu Chai
816f7aff2a
Merge pull request #24301 from tchaikov/wip-async-connect-timeout
msg/async: keep connection alive only actually sending

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-09-30 00:09:33 +08:00
Kefu Chai
2932b1b5ea
Merge pull request #24278 from wjwithagen/wjw-fix-inline_variant
common: fix missing include boost/noncopyable.hpp

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-09-30 00:09:04 +08:00
Kefu Chai
1b686aab44
Merge pull request #24263 from tchaikov/wip-drop-lock-policy
auth,common: use ceph::mutex instead of LockMutex

Reviewed-by: Sage Weil <sage@redhat.com>
2018-09-30 00:08:33 +08:00
Alfredo Deza
9ec683b2bd
Merge pull request #24336 from alfredodeza/wip-rm36251
ceph-volume add new ceph-handlers role from ceph-ansible

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-28 14:16:54 -04:00
Stefan Kooman
183caeced7 doc: add "--timeout" option to rbd-nbd
Fixes: https://tracker.ceph.com/issues/22333
Signed-off-by: Stefan Kooman <stefan@bit.nl>
2018-09-28 19:39:10 +02:00
Alfredo Deza
956dc5e65c ceph-volume tests.functional add new ceph-handlers role from ceph-ansible
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-28 12:56:17 -04:00
Andrew Schoen
ccd4114dc0
Merge pull request #24330 from alfredodeza/wip-rm36098
ceph-volume:  lsblk can fail to find PARTLABEL, must fallback to blkid

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-09-28 09:54:55 -05:00
Kefu Chai
8a4a8cf9f5
Merge pull request #24315 from tchaikov/wip-jenkins-does-not-read-package-desc
install-deps: do not specify unknown options

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-09-28 21:53:22 +08:00
Venky Shankar
43d1b8e174 test: add test for mds drop cache command
Fixes: http://tracker.ceph.com/issues/23362
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-09-28 00:07:59 -04:00
Venky Shankar
da70dde8aa mds: command to trim mds cache and client caps
With this command, the MDS would request clients to release
caps followed by trimming its own cache and a journal flush.
The command accepts a timeout to wait for clients to respond
to session recall and flush messages.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-09-28 00:07:59 -04:00
Venky Shankar
75f42340db mds: implement journal flush as asynchronous context execution
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-09-28 00:07:59 -04:00
Venky Shankar
4c03cfd99e mds: cleanup some asok commands
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-09-28 00:07:59 -04:00
Kefu Chai
3911a7c7d0 install-deps: do not specify unknown options
per apt.conf(5), and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550564,
"Acquire::Translation" is not documented and will be deprecated. it
would be better to use "Acquire::Languages" solely. and it's consistent
with https://github.com/ceph/ceph-build/pull/1137 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-28 11:52:39 +08:00
Alfredo Deza
c502e5f64a ceph-volume simple.scan better detection for ceph-disk data devices
Uses the new ``CephDiskDevice`` to look into PARTLABEL from both lsblk
(the default) falling back to blkid, which in some cases has the right
value when lsblk fails.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-27 16:17:29 -04:00
Alfredo Deza
8f072eb3f9 ceph-volume tests.util verify CephDiskDevice behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-27 16:15:26 -04:00
Alfredo Deza
5bfc8c26e6 ceph-volume tests.conftest add blkid patching to device_info fixture
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-27 16:15:00 -04:00
Alfredo Deza
200e6bfd93 ceph-volume util.device add a ceph-disk device object to detect types
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-09-27 16:14:28 -04:00
Jason Dillaman
b08b031acb
Merge pull request #24300 from trociny/wip-36236
test/rbd_mirror: race in WaitingOnLeaderReleaseLeader

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-09-27 15:56:58 -04:00
Casey Bodley
8bc4ddb88b
Merge pull request #23950 from ceph/wip-rgw-dpp-metasync
rgw: log refactoring for meta sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-09-27 15:33:44 -04:00
Kefu Chai
83fbd116e2 auth: switch from Mutex to ceph::mutex
to be aligned with our direction to use std::mutex or its wrapper. see
https://trello.com/c/aUSezBRH/365-cephmutex-etc-for-release-builds

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-27 21:34:05 +08:00
Kefu Chai
272afb9bbe auth,common: switch to ceph::mutex, etc
in this change, along with LockPolicy, src/common/lock_* are completely
removed.

instead of using LockPolicy based template specialization of LockMutex,
etc, it would be simpler if we can just rely on WITH_SEASTAR
preprocessor macro to tell if we are compiling code for crimson or not.
but please bear in mind, we cannot link against the plain libceph-common
in crimson anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-27 21:34:05 +08:00
Kefu Chai
c45113ba3c common/ceph_mutex: add shared_mutex to ceph namespace
for the sake of completeness, also pave the road to ditch
SharedMutex<LockPolicy>. please note, in code used by crimson, we are
not using shared_mutex or SharedMutex yet. so we are not adding
the dummy shared_mutex for WITH_SEASTAR.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-27 21:34:05 +08:00
Kefu Chai
c316f82180 msg/async: keep connection alive only actually sending
When connection stuck into odd state, we need to let connection timeout.
If send_message could update last_active, it won't play the role as
expected.
So we move last_active updated to the place actually should.

Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-27 20:40:30 +08:00
Mykola Golub
14f07dbd39 test/rbd_mirror: race in WaitingOnLeaderReleaseLeader
Fixes: http://tracker.ceph.com/issues/36236
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-27 14:32:30 +03:00
Sage Weil
bc86b06a67 qa/suites/rados/thrash-erasure-code: add clay 4+2
Signed-off-by: Sage Weil <sage@redhat.com>
2018-09-27 18:56:21 +08:00