Commit Graph

96330 Commits

Author SHA1 Message Date
Volker Theile
c29e587007 mgr/dashboard/qa: Improve tasks.mgr.test_dashboard.TestDashboard.test_standby
The changes of this PR were done while trying to fix the failing test. The problem has been solved by another PR, but the changes are worth to be integrated because they help debugging and an additional test has been added (check if previously active manager is listed as standby).

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-03-21 15:26:52 +01:00
Kefu Chai
085fdf57fd
Merge pull request #27089 from tchaikov/wip-cmake-with-ninja
cmake: do not assume ${CMAKE_GENERATOR} == make

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-21 22:05:54 +08:00
Casey Bodley
9663480f3b
Merge pull request #27100 from ddiss/trivial_rgw_auth_keystone_gcc_warning
[trivial] rgw: fix minor compiler warning in keystone auth

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-21 10:05:18 -04:00
Kefu Chai
613a4670af
Merge pull request #27094 from tchaikov/wip-cmake-cmake-ubsan
cmake: workaround of false alarm from ubsan

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-21 22:03:14 +08:00
Kefu Chai
01cd5fb72c
Merge pull request #27088 from tchaikov/wip-update-seastar
cmake,crimson: pick up latest seastar

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-21 21:59:28 +08:00
Kefu Chai
4bf14a13f7
Merge pull request #26731 from wjwithagen/wjw-fix-cmake-os-release
build: FreeBSD does not have /etc/os-release

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-21 21:53:23 +08:00
Kefu Chai
bb67400d15
Merge pull request #26607 from tchaikov/wip-cython-language_level
pybind: set language_level for cythonize explicitly

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-03-21 21:51:14 +08:00
David Disseldorp
d807d1916f rgw: fix minor compiler warning in keystone auth
Signed-off-by: David Disseldorp <ddiss@suse.de>
2019-03-21 14:10:15 +01:00
Kefu Chai
5eb349f4ae
Merge pull request #27093 from tchaikov/wip-crimson-test-alien-echo
test/crimson: update to accomodate Dispatcher changes

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-21 21:00:10 +08:00
Sage Weil
eb5e39ea08 Merge PR #27092 into master
* refs/pull/27092/head:
	mailmap: sort entries
	mailmap: sort organizationmap
	mailmap: updates for nautilus
	doc: mailmap updates for mimic
	mailmap fixes for 12.2.0

Reviewed-by: Sage Weil <sage@redhat.com>
2019-03-21 07:22:06 -05:00
Sebastian Wagner
cee38745ea
Merge pull request #26404 from sebastian-philipp/orchestrator-error-handling
mgr/orchestrator: Add error handling to interface

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-03-21 12:30:13 +01:00
Kefu Chai
77553040fc cmake: workaround of false alarm from ubsan
to workaround a GCC bug, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88684

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 18:57:27 +08:00
Kefu Chai
f0eb1a9f27 test/crimson: update to accomodate Dispatcher changes
Dispatcher::ms_get_authorizer() was changed in f22d433a, so update the
test accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 18:54:11 +08:00
Abhishek Lekshmanan
38f07b3522 mailmap: sort entries
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-03-21 10:46:10 +01:00
Abhishek Lekshmanan
bd643d5156 mailmap: sort organizationmap
since this will make it easier for editing entries in the future

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-03-21 10:43:21 +01:00
Abhishek Lekshmanan
bd806d310b mailmap: updates for nautilus
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2019-03-21 10:32:53 +01:00
Kefu Chai
80edd351bf cmake: disable -Werror when building seastar
when building seastar with a recent fmt, fmt complains:

src/fmt/include/fmt/time.h:13:2: error: #warning fmt/time.h is
deprecated, use fmt/chrono.h instead [-Werror=cpp]
 #warning fmt/time.h is deprecated, use fmt/chrono.h instead
  ^~~~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 17:04:38 +08:00
Kefu Chai
43d8d1962a seastar: pickup the latest seastar
for couple improvements

* dbf7b6b0: add fast path for small writes
* 2f357317: IPv6 support

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 17:04:38 +08:00
Kefu Chai
d1200b9b61 cmake: link against libfmt
Seastar::seastar does pull in libfmt library as a PUBLIC linkage. but we
should not depend on this. if we use fmt directly, we should link against it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 17:04:38 +08:00
Kefu Chai
0c60abf5ba crimson: include headers if necessary
we should not rely on seastar or other headers to do this. if we use
fmt or std functions, we should include corresponding header(s).

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 17:03:13 +08:00
Kefu Chai
a0c6fb9d40 cmake: do not assume ${CMAKE_GENERATOR} == make
* modules/BuildDPDK.cmake: always use "make"
* modules/BuildSPDK.cmake: always use "make"
  DPDK only support "make". if user wants to use other generator than
  "make", we will fail to build DPDK support. so we should always use
  "make" here. and before using "make", we need to detect it.
* cmake/modules/BuildRocksDB.cmake: use cmake for build
* src/compressor/zstd/CMakeLists.txt: use cmake for build
  just use whatever generator use specifies, and use ${CMAKE_COMMAND}
  for building the specified target, no need to repeat
  ${CMAKE_GENERATOR} for building the target.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 15:45:07 +08:00
Kefu Chai
ebb7f32482 cmake: build fmt submodule if libfmt is not found
the recent seastar dropped fmt submodule, so we need to build from our
own fmt submodule.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 15:11:33 +08:00
Kefu Chai
98fecbdeaf fmt: add fmt submodule back
seastar does not bring fmt as a submodule, so let's ready it by
ourselves.

This reverts commit 53a38bf57e.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-21 15:11:33 +08:00
Yuri Weinstein
33d929373e
Merge pull request #27057 from yuriw/wip-yuriw-crontab
qa/tests: reduced frequency for luminous and mimic runs...
2019-03-20 16:36:54 -07:00
Yuri Weinstein
afb47c6264 qa/tests: reduced frequency for luminous and mimic runs
added all suites for nauitlus

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2019-03-20 13:26:58 -07:00
Yuri Weinstein
5ebc2b756a
Merge pull request #26786 from aclamk/fix-rocksdb-compaction-ranges
common/kv/rocksdb: Fixed async compations.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 09:30:38 -07:00
Nathan Cutler
b0700f2b3f
Merge pull request #27046 from smithfarm/wip-38812
rpm: refrain from building ceph-resource-agents on SLE

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2019-03-20 17:12:58 +01:00
Casey Bodley
507e97ae3c
Merge pull request #27054 from cbodley/wip-37770
doc/rgw: update civetweb rgw_frontends config example

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 10:07:31 -04:00
Casey Bodley
e0c07a74dd
Merge pull request #27035 from cbodley/wip-test-rgw-reshard-wait-clock
test/rgw: test_rgw_reshard_wait uses same clock for timing

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 09:57:01 -04:00
Lenz Grimmer
fe39cc4751
Merge pull request #26853 from nathan-weinberg/more-cluster-tests
mgr/dashboard: Added breadcrumb tests to Manager modules and Alerts menu

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-03-20 14:56:43 +01:00
Casey Bodley
9410736823
Merge pull request #27052 from rzarzynski/wip-rgw-drop_rgw_decode_pki_token
rgw: drop unused rgw_decode_pki_token().

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-03-20 09:55:55 -04:00
Jason Dillaman
4f123365f3
Merge pull request #27025 from yangdongsheng/poll_timeout
rbd: krbd: return -ETIMEDOUT in polling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
2019-03-20 08:58:04 -04:00
Casey Bodley
2f16fcb2fd doc/rgw: update civetweb rgw_frontends config example
all of these civetweb options have to be on the same line as rgw_frontends

Fixes: https://tracker.ceph.com/issues/37770

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-03-20 08:20:01 -04:00
Kefu Chai
0ddd25fbc3
Merge pull request #27050 from theanalyst/build-doc-warns
admin/build-doc: keep-going when finding warnings

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 20:16:13 +08:00
Kefu Chai
83ba81f1fd
Merge pull request #26534 from majianpeng/skip-calc-crc-header-for-async-msg
msg/async: skip repeat calc crc header in Message::encode

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-03-20 19:53:24 +08:00
Sage Weil
a810fb6f03 Merge PR #27009 into master
* refs/pull/27009/head:
	ceph_release: the next release will be octopus

Reviewed-by: Kai Wagner <kwagner@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2019-03-20 06:51:51 -05:00
Kefu Chai
63bd9527df
Merge pull request #26514 from dillaman/wip-38381
pybind/rados: fixed Python3 string conversion issue on get_fsid

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 19:51:27 +08:00
Kefu Chai
c0f164f4bb
Merge pull request #26985 from rhcs-dashboard/38768-fix-sparkline-component
mgr/dashboard: fix sparkline component

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2019-03-20 19:50:23 +08:00
Kefu Chai
375622168a
Merge pull request #27034 from jan--f/mgr-prometheus-remove-scrape-duration
pybind/mgr/prometheus: remove scrape_duration metric

Reviewed-by: Boris Ranto <branto@redhat.com>
2019-03-20 19:48:40 +08:00
Kefu Chai
10114f3375
Merge pull request #26701 from adamemerson/wip-trip-the-light-clangtastic
fix clang build failures, and clean up warnings

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 19:36:57 +08:00
Kefu Chai
b6bbd94968
Merge pull request #26836 from p-na/wip-pna-fix-osd
mgr/dashboard: "1 osds exist in the crush map but not in the osdmap" breaks OSD page

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-03-20 19:30:51 +08:00
Kefu Chai
e88d390672
Merge pull request #26717 from ifed01/wip-ifed-objectstore-tool-fix
tools: no-mon-config switch for ceph-objectstore-tool.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 19:29:35 +08:00
Kefu Chai
66dd19beec
Merge pull request #26926 from rouming/epoll-lost-epollet
msg/async/EventEpoll: set EPOLLET flag on del_event()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 19:26:40 +08:00
Dongsheng Yang
ab833b823b rbd: krbd: return -ETIMEDOUT in polling
We don't want to wait on uevent forever, but the return value
of polling in timeout is 0 rather than a negative value.

Fixes: http://tracker.ceph.com/issues/38792
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2019-03-20 07:19:01 -04:00
Kefu Chai
ee5eab81e1
Merge pull request #26934 from sebastian-philipp/doc-rados-mon_command
doc/rados/api/python: Add documentation for mon_command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-03-20 18:27:47 +08:00
Lenz Grimmer
ea49518912
Merge pull request #26562 from familyuu/log
mgr/dashboard: Add date range and log search functionality

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-03-20 11:10:45 +01:00
Kefu Chai
a26f4b20b5
Merge pull request #27065 from tchaikov/wip-crimson-mgr-client
crimson/osd: report pg_stats to mgr

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-03-20 17:56:25 +08:00
Kefu Chai
0e2ce7ba5b crimson/osd: connect OSD to mgr
so OSD is able to report to mgr periodically using mgr::Client

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-20 17:35:26 +08:00
Kefu Chai
a18bf088de crimson/osd: include MonClient.h in .cc
mon::Client's definition is only necessary in .cc

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-20 17:35:05 +08:00
Kefu Chai
4bd46c5827 crimson/osd: add facilities for reporting pg stats
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-03-20 17:34:38 +08:00