Commit Graph

95626 Commits

Author SHA1 Message Date
Patrick Donnelly
eac565f7b0
Merge PR #26659 into master
* refs/pull/26659/head:
	qa: remove libcephfs-java tests

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-03-01 06:53:20 -08:00
Nathan Cutler
94656d99e9
Merge pull request #26695 from smithfarm/wip-make-check-amqp-endpoint
do_cmake.sh: SUSE builds need WITH_RADOSGW_AMQP_ENDPOINT=OFF

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-03-01 15:49:41 +01:00
Patrick Donnelly
06e7b12d24
Merge PR #26699 into master
* refs/pull/26699/head:
	qa: unmount clients before deleting fs

Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-03-01 06:46:46 -08:00
Patrick Donnelly
a2dac30db5
Merge PR #26700 into master
* refs/pull/26700/head:
	qa: bump fsstress timeout to 6h

Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-03-01 06:44:36 -08:00
Lenz Grimmer
34f04be35b
Merge pull request #26482 from votdev/show_success_notification_rgw
mgr/dashboard: Show success notification in RGW forms

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-03-01 12:02:15 +01:00
Lenz Grimmer
86edaa3d91
Merge pull request #26507 from votdev/yesno_pipe
mgr/dashboard: Introduce pipe to convert bool to text

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-03-01 11:46:33 +01:00
Volker Theile
346cfa3969 mgr/dashboard: Introduce pipe to convert bool to text
Convert boolean values to 'Yes' or 'No' or any other value.

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-03-01 10:27:13 +01:00
Ricardo Dias
b975a35eeb
Merge pull request #26714 from cyx1231st/wip-async-bannercheck
msg/async: fix banner_v1 check in ProtocolV2

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-03-01 09:24:48 +00:00
Lenz Grimmer
305095ed7a
Merge pull request #26626 from LenzGr/master-documentation
doc: Updated Ceph Dashboard documentation

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-03-01 10:00:01 +01:00
Ricardo Dias
4c5c303cc4
Merge pull request #26711 from cyx1231st/wip-async-frame-header
msg/async: fix include in frames_v2.h

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-03-01 08:03:16 +00:00
Yingxin Cheng
e17ec6437d msg/async: fix banner_v1 check in ProtocolV2
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-03-01 15:46:36 +08:00
Yingxin Cheng
939b381b93 msg/async: fix include in frames_v2.h
`ceph_clock_now()` needs to include common/Clock.h.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
2019-03-01 12:39:43 +08:00
Patrick Donnelly
1f5892f820
Merge PR #26638 into master
* refs/pull/26638/head:
	doc: update documentation for standby-replay
	qa: update discontinous map test to use mds freezing
	mon: add freeze MDS command
	qa: update testing for standby-replay
	mon: add setting for fs to enable standby-replay
	ceph-mds: obsolete hot-standby option
	fs: obsolete standby_for config options
	messages/MMDSBeacon: use inline init
	mds: avoid unnecessary copy of entity_addrvec_t
	mds: use inline init for mds_info_t
	mds: use rank from MDSMap always
	mds: remove obsolete comment
	qa: use SIGTERM when stopping vstart service

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2019-02-28 20:37:13 -08:00
Xie Xingguo
4102b62c12
Merge pull request #26605 from xiexingguo/wip-misc-cleanups
osd/OSDMap: drop local pool filter in calc_pg_upmaps

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-01 11:23:16 +08:00
Sage Weil
5eb77a2b73 Merge PR #26614 into master
* refs/pull/26614/head:
	osd: Implement lazy omap usage statistics

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-28 18:08:29 -06:00
Sage Weil
649ea55d8a Merge PR #26453 into master
* refs/pull/26453/head:
	rpm: build with lttng on ppc64le (SUSE)
	rpm: no lttng build on openSUSE s390x

Reviewed-by: Tim Serong <tserong@suse.com>
2019-02-28 18:07:59 -06:00
Sage Weil
cac4335ff3 Merge PR #26667 into master
* refs/pull/26667/head:
	cmake: link rgw tests with ${rgw_libs}
	cmake: link ${rgw_libs} not rgw_a and rabbitmq
	cmake: move rgw tests targets down to end

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Yuval Lifshitz <ylifshit@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-02-28 18:07:26 -06:00
Sage Weil
fa690ea9c6 Merge PR #26681 into master
* refs/pull/26681/head:
	mon/ConfigMonitor: add 'config ls'

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2019-02-28 18:05:28 -06:00
Jason Dillaman
499bef6591
Merge pull request #26693 from trociny/wip-rbd-bench-interrupt
rbd: close image when bench is interrupted

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-02-28 17:31:45 -05:00
Matt Benjamin
23efa7dbee
Merge pull request #26639 from cbodley/wip-38479
rgw: data sync drains lease stack on lease failure
2019-02-28 16:58:34 -05:00
Patrick Donnelly
df62f2d91d
qa: remove libcephfs-java tests
These have bit-rotted and no longer work. No cycles from interested parties
available to fix.

Fixes: https://tracker.ceph.com/issues/38487
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-28 13:32:15 -08:00
Alfredo Deza
9106ede784
Merge pull request #26685 from ceph/wip-testinfra-ceph-volume
ceph-volume: use our own testinfra suite for functional testing

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-02-28 13:01:22 -05:00
Lenz Grimmer
a0ce357c87
Merge pull request #26650 from LenzGr/typo-fix
mgr/dashboard: Fixed typos in environment.build.js

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-02-28 18:42:10 +01:00
Lenz Grimmer
217236c896
Merge pull request #26588 from votdev/relocate_empty_pipe
mgr/dashboard: Relocate empty pipe

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-02-28 18:40:49 +01:00
Lenz Grimmer
934ac83005
Merge pull request #26447 from votdev/fix_notify_show
mgr/dashboard: Remove param when calling notificationService.show

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-02-28 18:39:28 +01:00
Patrick Donnelly
f9146f2acc
qa: bump fsstress timeout to 6h
When run with valgrind, it takes a significant amount of time to complete.

Fixes: http://tracker.ceph.com/issues/38520
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-28 09:35:53 -08:00
Patrick Donnelly
a20a61f476
qa: unmount clients before deleting fs
Client unmount during test cleanup will hang if the file system was deleted.

Fixes: http://tracker.ceph.com/issues/38518
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-28 09:02:33 -08:00
Lenz Grimmer
8b4d9d8e07 mgr/dashboard: Fixed typo in environment.build.js
Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2019-02-28 17:21:38 +01:00
Lenz Grimmer
48282cb9f9 doc: Updated Ceph Dashboard documentation
Renamed "Ceph Manager Dashboard" to "Ceph Dashboard" in
various locations, replaced "plugin" with "module".
Overhauled the feature list, added more references to configuration
instructions and related components.
Fixed capitalization of subchapters.
Added note about mixed content blocking to the Grafana section.
Removed duplicate content from the dashboard's `README.rst`,
moved some parts (supported browser list) into the documentation
instead.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2019-02-28 17:14:37 +01:00
Nathan Cutler
18d2b2a603 do_cmake.sh: SUSE builds need WITH_RADOSGW_AMQP_ENDPOINT=OFF
Without this patch, "make check" fails on SUSE systems because
WITH_RADOS_AMQP_ENDPOINT defaults to "ON".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-02-28 14:56:55 +01:00
Sebastian Wagner
6d02236ffa
Merge pull request #26630 from sebastian-philipp/ssh-simple-type-error
mgr/ssh: fix type and doc errors

Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2019-02-28 14:22:50 +01:00
Mykola Golub
dcd083e647 rbd: close image when bench is interrupted
Previously when `rbd bench` was interrupted it left the lock and
watcher and one had to wait for them to expire before reusing or
removing the image.

As a bonus now it prints the benchmark summary on exit even if it
is interrupted.

Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-02-28 12:57:19 +00:00
Nathan Cutler
a65a03137a
Merge pull request #26596 from smithfarm/wip-release-notes-12_2_11
doc: add missing 12.2.11 release note

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-02-28 12:57:59 +01:00
Patrick Donnelly
77a69405f9
doc: update documentation for standby-replay
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:39:18 -08:00
Patrick Donnelly
4fa4eda9ee
qa: update discontinous map test to use mds freezing
and stop using standby_for_*.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:39:17 -08:00
Patrick Donnelly
9524bdbdda
mon: add freeze MDS command
This is a new hidden command that allows us to do certain testing for race
conditions. A frozen MDS cannot change change state or be replaced by a
standby.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:39:17 -08:00
Patrick Donnelly
8cbdad9f9b
qa: update testing for standby-replay
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:39:12 -08:00
Patrick Donnelly
0f7614720e
mon: add setting for fs to enable standby-replay
Operators now simply mark a file system as enabling standby-replay via

    ceph fs set <name> allow_standby_replay true

The MDSMonitor will assign available standbys to take on this role.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:25 -08:00
Patrick Donnelly
80eece89a4
ceph-mds: obsolete hot-standby option
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:25 -08:00
Patrick Donnelly
d4638836ba
fs: obsolete standby_for config options
The operator can no longer configure which rank/fscid/name an MDS wants to
follow or standby for. This was an unfortunately confusing set of config
options as ultimately the MDSMonitor (by default) would set a standby to follow
any fscid/rank if no standby is available that explicitly follows the failed
rank. It is suggested that operators instead use the `standby_count_wanted`
setting on each fs to ensure that sufficient standbys are available.

The temporary effect of this commit is that the MDSMonitor no longer assigns
any standby to standby-replay, to be fixed in the following commits.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:25 -08:00
Patrick Donnelly
61fdf556c4
messages/MMDSBeacon: use inline init
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:25 -08:00
Patrick Donnelly
372aa3efea
mds: avoid unnecessary copy of entity_addrvec_t
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:25 -08:00
Patrick Donnelly
acf3a1b7b5
mds: use inline init for mds_info_t
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:24 -08:00
Patrick Donnelly
e396a5d27a
mds: use rank from MDSMap always
This old bit of code was using standby_for_rank to determine what rank it
should follow but, for the last few releases, the Monitor always sets the the
rank to follow.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:24 -08:00
Patrick Donnelly
831ba12de2
mds: remove obsolete comment
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:24 -08:00
Patrick Donnelly
2ea41574a2
qa: use SIGTERM when stopping vstart service
Otherwise MDS will not send down:dne to mons when restarting.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:38:24 -08:00
Sage Weil
c1112928b7 Merge PR #26663 into master
* refs/pull/26663/head:
	doc: change ruleset to id in crush map file

Reviewed-by: Sage Weil <sage@redhat.com>
2019-02-27 17:23:25 -06:00
Sage Weil
3478670499 Merge PR #26595 into master
* refs/pull/26595/head:
	osd/PG: log tracked pg refs under debug_refs
	osd/PG: include tag in get/put debug lines
	osd: clean up oncommit contexts in _process shutdown

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-27 16:59:47 -06:00
Sage Weil
81a6a38374 Merge PR #26637 into master
* refs/pull/26637/head:
	common/ceph_context: experimental kludge for crimson
	auth/AuthRegistry: mark 'secure' con mode experimental for now
	msg/async: set ms_*_mode to crc only (no secure)

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-27 16:59:32 -06:00
Sage Weil
478b212bf9 Merge PR #26640 into master
* refs/pull/26640/head:
	mon/OSDMonitor: remove old v1 addrs when converting blacklist to new TYPE_ANY form

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-27 16:59:04 -06:00