Commit Graph

89015 Commits

Author SHA1 Message Date
Tiago Melo
c94b71aaaf mgr/dashboard: Update frontend packages
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-08-07 09:57:32 +01: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
Jos Collin
0334172770
doc: cleanup in cephfs/capabilities
Signed-off-by: Jos Collin <jcollin@redhat.com>
2018-08-07 10:00:04 +05:30
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
Sage Weil
891d8b4754 log/Log: fix buffer overflow
If we have a long line that has to be dynamically allocated, we need to
adjust m_log_buf_pos accordingly afterward.  In particular,
_write_and_copy does this adjustment, which means the later += line_used
is not only unnecessary but very bad, since line_used is > MAX_LOG_BUF.

Simplify all of this by getting rid of _write_and_copy: if we are writing
a big chunk let's just send the whole thing to m_fd and not bother keeping
the tail of it around for later.

Fix _log_safe_write to write the passed buffer, not m_log_buf.

Replace the paranoid check with a simple assert.

Fixes: 65da5ba216
Fixes: https://github.com/ceph/ceph/pull/23422
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-06 08:51:28 -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
Kefu Chai
c81f143411 cmake: add ALLOCATOR option
ALLOCATOR is in fact an option..

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-06 19:37:43 +08:00
Kefu Chai
5a71bbbe59 cmake: refactor RocksDB related script
* rename Findrocksdb.cmake to FindRocksDB.cmake to match its name
* add RocksDB::RocksDB target to BuildRocksDB.cmake and
  FindRocksDB.cmake
* use RocksDB::RocksDB target instead of accessing its property
  directly, and do not link against its dependencies explicitly.
  let its INTERFACE_LINK_LIBRARIES do the job.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-06 19:37:43 +08: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
Kefu Chai
01f18efc3f Revert "rocksdb: pickup change to link against libsnappy.a"
This reverts commit 125b5da096989e4bd476acdb99ceb04f44e00758.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-06 18:30:38 +08:00
Kefu Chai
4b09b2fbc4 cmake,make-dist: revert "build gperftools if WITH_STATIC_LIBSTDCXX"
as the higher version of libstdc++ is backward compatible with the lower
ones. so there is no need to statically link against C++ libraries. they
can always use the libstdc++ ships with the distro.

This reverts commit a6c73b6ac1d81cc9f467aa38e5afb146d5dea6c2

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-06 18:30:38 +08:00
Kefu Chai
c325327e61 cmake: add LZ4::LZ4 target for LZ4
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-06 17:38:07 +08:00
Kefu Chai
73fa175499 cmake: cleanup snappy related script
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-06 17:16:46 +08: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