Commit Graph

88961 Commits

Author SHA1 Message Date
Sage Weil
61615e037f Merge PR #23243 into master
* refs/pull/23243/head:
	mon/OSDMonitor: remove ambiguous type case for 'osd pool set' value
	mon: use throwing variant of cmd_getval
	common/cmdparse: add cmd_getval_throws variants that throw bad_cmd_get
	mon: catch bad_cmd_exception and reply EINVAL
	common/cmdparse: add bad_cmd_get exception

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-07 08:54:00 -05:00
Sage Weil
864d93f829 Merge PR #23338 into master
* refs/pull/23338/head:
	msg/Messenger: send_message -> send_to
	msg/msg_types: add entity_addr_t::legacy_or_front_addr()
	mon/MonMap: kill get_inst()
	mon: kill MonMap::get_inst() users
	mon/MonClient: replace get_mon_{addr,inst} with get_mon_addrs
	mon/MonClient: get_connection -> connect_to_mon
	src/test: get_connection -> connect_to_*
	mon/MonMap: add get_addrs() (temp wrappers)
	msg/Messenger: make connect_to() key method, get_connection() becomes wrapper
2018-08-07 08:53:55 -05:00
Sage Weil
cedeeadf30 Merge PR #23412 into master
* refs/pull/23412/head:
	mgr: add Orchestrator.available method + CLI
	doc: add general documentation on orchestrator
	doc: add page for Rook module
	doc: add development guide for Ceph+Rook in k8s
	script: add kubejacker script
	mgr/rook: Rook orchestrator module
	mgr/orchestrator_cli: module for calling into orchestators
	mgr: introduce `orchestrator` python interface

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-07 08:53:51 -05:00
Kefu Chai
19f2525fc7
Merge pull request #23430 from tchaikov/wip-silence-clang-warnings
tools, mgr: silence clang warnings

Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-07 18:18:01 +08:00
Sebastian Wagner
94198c01c2
Merge pull request #23420 from tspmelo/fix-24902
mgr/dashboard: Escape regex pattern in DeletionModalComponent

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2018-08-07 11:43:48 +02:00
Sebastian Wagner
7c4bbfa225
Merge pull request #23414 from tspmelo/wip-breadcrumbs
mgr/dashboard: Add breadcrumbs component

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-08-07 11:38:56 +02:00
Yan, Zheng
eb46b598f4
Merge pull request #23465 from ukernel/wip-revert-22850
Revert "cephfs-journal-tool: enable purge_queue journal's event comma…
2018-08-07 17:05:37 +08:00
Yan, Zheng
65ae72a1e6 Revert "cephfs-journal-tool: enable purge_queue journal's event commands"
This reverts commit 8ebfa93982. That
commit changes PurgeItem's encode/decode function, breaks backward
compatibility

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-08-07 17:02:18 +08:00
Kefu Chai
e40c107d9e
Merge pull request #22562 from wjwithagen/wjw-fix-dashboard-build
mgr/dashboard: Fix building under FreeBSD

Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-08-07 16:27:08 +08:00
Xie Xingguo
c4fd4e3b3b
Merge pull request #23450 from neha-ojha/wip-fix-complete-to
osd/PGLog.cc: check if complete_to points to log.end()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-08-07 11:24:25 +08:00
Willem Jan Withagen
3b776457fe FreeBSD: update build script to current state
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-06 23:42:06 +02:00
David Galloway
066d345cb8
Merge pull request #23456 from yuriw/wip-yuriw-crontab-master
qa/tests: changed ceph qa email address to bypass dreamhost's spam filter
2018-08-06 17:02:00 -04:00
Yuri Weinstein
790a3960cb qa/tests: changed ceph qa email address to bypass dreamhost's spam filter
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-08-06 13:59:21 -07:00
Andrew Schoen
c2b611c245
Merge pull request #23448 from alfredodeza/wip-rm26862
ceph-volume: `lvm batch` allow extra flags (like dmcrypt) for bluestore

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-08-06 20:32:16 +00:00
Patrick Donnelly
2132e38fcd
Merge PR #23433 into master
* refs/pull/23433/head:
	client: fix compile warning

Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-06 13:27:12 -07:00
Patrick Donnelly
345c83eba8
Merge PR #22850 into master
* refs/pull/22850/head:
	cephfs-journal-tool: enable purge_queue journal's event commands

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-06 11:43:44 -07:00
Patrick Donnelly
67630d52af
Merge PR #22999 into master
* refs/pull/22999/head:
	mds: consider max age of dispatch queue when finding stale client
	mds: reset heartbeat map at potential time-consuming places
	mds: change MDSRank::finished_queue to deque

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-06 11:43:35 -07:00
Patrick Donnelly
a8d2c6a79d
Merge PR #23341 into master
* refs/pull/23341/head:
	mds: calculate load by checking self CPU usage

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-06 11:43:24 -07:00
Patrick Donnelly
8aedb901c5
Merge PR #23370 into master
* refs/pull/23370/head:
	client: check for unmounted condition before printing debug output

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-06 11:43:09 -07:00
John Spray
074e97dfa5
Merge pull request #23387 from jcsp/wip-mgr-rw
mgr: fix permissions on `balancer execute`

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-06 17:26:49 +01:00
John Spray
3ce1a596c0
Merge pull request #23205 from jcsp/wip-devicehealth-cleanup
mgr/devicehealth: clean up error handling

Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-06 17:26:22 +01:00
Neha Ojha
630daa1d7d osd/PGLog.cc: check if complete_to points to log.end()
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-08-06 09:24:00 -07:00
Andrew Schoen
ef6e10501a
Merge pull request #23443 from alfredodeza/wip-rm24970
ceph-volume: `lvm batch` documentation and man page updates

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-08-06 16:02:58 +00:00
Alfredo Deza
c460f18d09 ceph-volume lvm.batch move import statement to the top
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 11:59:05 -04:00
Alfredo Deza
4149d664fa ceph-volume lvm.batch allow extra flags for bluestore
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 11:58:31 -04:00
Ricardo Marques
e9cde819a3
Merge pull request #23347 from votdev/bug_25190
mgr/dashboard: RestClient can't handle ProtocolError exceptions

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-08-06 16:41:37 +01:00
John Spray
d903240eed mgr: add Orchestrator.available method + CLI
The CLI `status` method tells you what backend
is selected, and also gives the backend
an opportunity to complain if something
seems wrong with its configuration.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:30 +01:00
John Spray
2e6ac9a43d doc: add general documentation on orchestrator
Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:30 +01:00
John Spray
1fecff0e2d doc: add page for Rook module
This is pretty sparse because users don't really
interact with the module, they interact with other
modules that use it.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:30 +01:00
John Spray
751d32c137 doc: add development guide for Ceph+Rook in k8s
Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:30 +01:00
John Spray
87b4894d62 script: add kubejacker script
For those with running k8s/Rook environments, that want
to inject newly built binaries from their development
tree into their kubernetes environment.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:30 +01:00
John Spray
f3164d0fd2 mgr/rook: Rook orchestrator module
Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:29 +01:00
John Spray
31e33f019a mgr/orchestrator_cli: module for calling into orchestators
This is going to be pretty useful for development: calls
into the same places that the dashboard would call into.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:29 +01:00
John Spray
fee5b0e79a mgr: introduce orchestrator python interface
Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 16:22:29 +01:00
Igor Fedotov
3588641129
Merge pull request #23410 from ifed01/wip-ifed-fio-new-param
test/fio: new option to control file preallocation.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-06 17:56:12 +03:00
Kefu Chai
e6e7dcb7e0
Merge pull request #23404 from badone/wip-daemon_health_metrics-race
mgr/MgrClient: Protect daemon_health_metrics

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-06 22:52:37 +08:00
Kefu Chai
d01a1710c7
Merge pull request #23377 from dzafman/wip-24875
osd: do_sparse_read(): Verify checksum earlier so we will try to repair

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-08-06 22:50:44 +08:00
Kefu Chai
2ce754df3c
Merge pull request #23361 from smithfarm/wip-install-deps-with-seastar
build/ops: install-deps.sh: refrain from installing/using lsb_release, and other cleanup

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-06 22:49:44 +08:00
Kefu Chai
02b4e2340a
Merge pull request #23285 from tspmelo/wip-package-lock
mgr/dashboard: Add package-lock.json

Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-08-06 22:48:52 +08:00
Sage Weil
6090545cc7 Merge PR #22433 into master
* refs/pull/22433/head:
	common/config: Add description to (near)full ratio settings

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-06 08:57:03 -05:00
Alfredo Deza
e00d9bbf53 doc/man/ceph-volume add batch information
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 09:43:10 -04:00
Tiago Melo
14e704ab54 mgr/dashboard: Add breadcrumbs component
Now we don't need to add a breadcrumb in each new page we create,
just add the necessary extra data in the route module and the
breadcrumb will be automatically created.

I used a modified version of ngx-breadcrumbs from McNull:
https://github.com/McNull/ngx-breadcrumbs

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-06 14:23:43 +01:00
John Spray
753d96f260 mgr/devicehealth: improve error handling
Avoid catch-all exception handlers, especially
ones that just `pass`

When catching RADOS object not found type errors,
catch specifically those, and make sure we're still
logging any actual unexpected IO errors from RADOS.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 14:22:41 +01:00
John Spray
e337da052f mgr/devicehealth: style/whitespace cleanup
We don't usually do gratuitious whitespace commits,
but for the python code it's worthwhile as it allows
smart editors to show us real problems without them
getting lost in the style noise.

Signed-off-by: John Spray <john.spray@redhat.com>
2018-08-06 14:22:39 +01:00
Alfredo Deza
d3bad7fa76 doc/ceph-volume include batch doc in the toc tree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 08:39:46 -04:00
Alfredo Deza
f965f9db22 doc/ceph-volume decument batch reporting and bluestore support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-08-06 08:25:53 -04:00
Laura Paduano
d5e52b1f14
Merge pull request #23316 from votdev/bug_25090
mgr/dashboard: Datatable error panel blinking on page loading

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-08-06 13:15:34 +02:00
Sebastian Wagner
ba363a5cb7
Merge pull request #22735 from votdev/bug_24677
mgr/dashboard: RGW proxy can't handle self-signed SSL certificates

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2018-08-06 11:06:24 +02:00
Tiago Melo
6953c561e4 mgr/dashboard: Escape regex pattern in DeletionModalComponent
Fixes: http://tracker.ceph.com/issues/24902

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-06 09:57:18 +01:00
Yan, Zheng
2ca5708df6 mds: consider max age of dispatch queue when finding stale client
session renew messages from clients can be in the dispatch queue,
waiting for getting dispatched.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-08-06 11:31:55 +08:00