Commit Graph

91136 Commits

Author SHA1 Message Date
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
Noah Watkins
e2341ad331 qa/mgr: avoid enabling always on modules
when enabling a module attempt to determine if it is an always on
module, and if it is, then return without waiting on the active manager
daemon to restart---which it won't if it is an always on module.

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-10-01 14:34:27 -07:00
Noah Watkins
bca519a1be qa/mgr: do not disable always on module
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-10-01 14:06:42 -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
f3b2b291e8
mds: small refactor
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-01 13:48:07 -07:00
Patrick Donnelly
fe1dec424a
ptl-tool.py: move githubmap update into merge commit
Otherwise Github will reject the push because one commit is not part of the PR
(and "untested").

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-10-01 13:42:39 -07: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
Noah Watkins
18f253aa3f mgr: monitor-controlled always on modules
the original version of the always-on mgr modules feature had an issue
such that if a user-enabled module was included in the always-on list of
modules then after an upgrade the module would remain in the list of
enabled modules (because it was still in the manager map). this results
in awkward ux since the modules cannot actually be disabled. this patch
addresses the issue by altering MgrMap to contain the always on modules,
and centralizes control of this list in the monitor.

the list of always on modules is versioned at compile time, and the
monitor will update the manager map when this verison is bumped. manager
daemons enable the union of user-enabled modules and the list of always
on modules. this is important so that a user-enabled module is not
disabled if it goes through a cycle of being in the always on list, and
then being removed through an upgrade sequence.

communicating the always on modules to the daemon enables the daemon to
provide the best error reporting when an always on module encounters an
issue (i.e. complain loudly).

Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-10-01 11:41:58 -07:00
Noah Watkins
8ef9b7e2a5 mgr: remove always on mods from init list
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-10-01 11:39:42 -07:00
Noah Watkins
ef88206d1c mgr: remove dead code
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-10-01 11:33:44 -07: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
Ilya Dryomov
870e42ac6a qa/suites/krbd: more fsx tests
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-10-01 16:48:47 +02:00
Ilya Dryomov
7374c73225 test/librbd/fsx: don't use time() for seeding
When starting multiple concurrent jobs with rbd_fsx task, all jobs get
the same seed.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-10-01 16:48:47 +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
Ricardo Marques
731dcefbeb mgr/dashboard: Check content-type before decode json response
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-10-01 11:47:38 +01:00
Ricardo Marques
d7916e6458 mgr/dashboard: Exception.message doesn't exist on Python 3
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-10-01 10:20:59 +01: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
Mykola Golub
3b49b57d56 rbd-mirror: use pool level config overrides
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-30 20:16:00 +03:00
Mykola Golub
586bb7cff9 librbd: add rbd mirror tunables to pool level config overrides
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-09-30 20:16:00 +03:00
yuliyang
38407f69da rgw: list bucket can not show the object uploaded by RGWPostObj
when enable bucket versioning

fix https://tracker.ceph.com/issues/36265

Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2018-09-30 17:35:04 +08: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
Radoslaw Zarzynski
61395d4401 common: fix memory leaks in WeightedPriorityQueue.
Fixes: http://tracker.ceph.com/issues/36248
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2018-09-28 15:13:39 +02: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