]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agotools: make cache watermark configurable
shangdehao1 [Thu, 7 Mar 2019 00:06:12 +0000 (08:06 +0800)]
tools: make cache watermark configurable

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: make dedicated thread configurable for RO
shangdehao1 [Wed, 6 Mar 2019 23:11:53 +0000 (07:11 +0800)]
tools: make dedicated thread configurable for RO

At cache client side of RO, make dedicated woker thread configurable
Also, cleanup useless member of CacheClient class

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: adjust code style of RO
shangdehao1 [Wed, 6 Mar 2019 22:24:16 +0000 (06:24 +0800)]
tools: adjust code style of RO

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: clean up data structure of immutable obj cache daemon
Yuan Zhou [Thu, 28 Feb 2019 08:51:41 +0000 (16:51 +0800)]
tools: clean up data structure of immutable obj cache daemon

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: refactor ObjectCacheRequest of RO
shangdehao1 [Tue, 26 Feb 2019 17:18:37 +0000 (01:18 +0800)]
tools: refactor ObjectCacheRequest of RO

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: return real cache status on lookup in immutable obj cache
Yuan Zhou [Mon, 25 Feb 2019 03:31:46 +0000 (11:31 +0800)]
tools: return real cache status on lookup in immutable obj cache

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: fix librados compatibility
Yuan Zhou [Fri, 22 Feb 2019 04:06:46 +0000 (12:06 +0800)]
tools: fix librados compatibility

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: clean up cache dir for immutable obj cache
Yuan Zhou [Fri, 22 Feb 2019 03:52:04 +0000 (11:52 +0800)]
tools: clean up cache dir for immutable obj cache

- user defined full path for cache dir
- hash objects into subfolders with crc32 of its name

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: maintain cache size counter for immutable obj cache daemon
Yuan Zhou [Fri, 22 Feb 2019 02:44:04 +0000 (10:44 +0800)]
tools: maintain cache size counter for immutable obj cache daemon

Do not assume 4M object size since we allow to cache any-sized objects.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: templatize create_rados_callback
shangdehao1 [Sun, 17 Feb 2019 20:30:28 +0000 (04:30 +0800)]
tools: templatize create_rados_callback

Also cleanup unused template codes

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: use specific message for different ops in immutable obj cache daemon
Yuan Zhou [Wed, 13 Feb 2019 14:24:58 +0000 (22:24 +0800)]
tools: use specific message for different ops in immutable obj cache daemon

use different types of message for different ops to be more efficient

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: cleanup IPC message for immutable obj cache daemon
Yuan Zhou [Mon, 11 Feb 2019 12:30:37 +0000 (20:30 +0800)]
tools: cleanup IPC message for immutable obj cache daemon

using ceph serialization(encode/decode) framework instead of building
new data structure

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: set namespace & snap_id before promote from RADOS in immutable obj cache
Yuan Zhou [Thu, 31 Jan 2019 14:49:32 +0000 (22:49 +0800)]
tools: set namespace & snap_id before promote from RADOS in immutable obj cache

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: format code and clean up
Yuan Zhou [Thu, 31 Jan 2019 06:39:44 +0000 (14:39 +0800)]
tools: format code and clean up

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: adding signal handling for immutable obj cache daemon
Yuan Zhou [Thu, 31 Jan 2019 06:24:05 +0000 (14:24 +0800)]
tools: adding signal handling for immutable obj cache daemon

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotests: reduce testing resources occupied for immutable obj cache
Yuan Zhou [Wed, 30 Jan 2019 14:12:01 +0000 (22:12 +0800)]
tests: reduce testing resources occupied for immutable obj cache

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: follow current codes to modify UT
shangdehao1 [Sat, 26 Jan 2019 20:53:15 +0000 (04:53 +0800)]
tools: follow current codes to modify UT

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: release dedicated thread resource
shangdehao1 [Thu, 24 Jan 2019 19:35:58 +0000 (03:35 +0800)]
tools: release dedicated thread resource

Addtional, enable all UT

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: add connect fails to fault
shangdehao1 [Thu, 24 Jan 2019 19:31:23 +0000 (03:31 +0800)]
tools: add connect fails to fault

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: clean up object cache request struture
Yuan Zhou [Thu, 24 Jan 2019 13:38:59 +0000 (21:38 +0800)]
tools: clean up object cache request struture

adding version and compat_version info for serailization

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agocommon/buffer: assign error message to caller on short read in pread_file
Yuan Zhou [Thu, 24 Jan 2019 06:05:44 +0000 (14:05 +0800)]
common/buffer: assign error message to caller on short read in pread_file

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: add m_cache_path
shangdehao1 [Wed, 23 Jan 2019 20:52:36 +0000 (04:52 +0800)]
tools: add m_cache_path

1) : enable ObjectCacheRequest.m_data.m_cache_path
2) : add generate_cache_file_path to create cache_path
    , which will be used by CacheClient.

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: clean up dead code in immutable obj cache
Yuan Zhou [Wed, 23 Jan 2019 16:19:14 +0000 (00:19 +0800)]
tools: clean up dead code in immutable obj cache

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: kill ObjectCacheFile in immutable obj cache
Yuan Zhou [Wed, 23 Jan 2019 15:48:44 +0000 (23:48 +0800)]
tools: kill ObjectCacheFile in immutable obj cache

instead we could use bufferlist::write_file/pread_file to write/read on cache

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: clean up immutable obj cache
Yuan Zhou [Wed, 23 Jan 2019 15:36:57 +0000 (23:36 +0800)]
tools: clean up immutable obj cache

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agocommon/options: move immutable obj cache options out of rbd section
Yuan Zhou [Wed, 23 Jan 2019 15:15:16 +0000 (23:15 +0800)]
common/options: move immutable obj cache options out of rbd section

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agocommon/buffer: return 0 on short read in pread_file
Yuan Zhou [Wed, 23 Jan 2019 15:54:33 +0000 (23:54 +0800)]
common/buffer: return 0 on short read in pread_file

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: some modification at RO
shangdehao1 [Tue, 22 Jan 2019 01:39:37 +0000 (09:39 +0800)]
tools: some modification at RO

1) : add new data member to ObjectCacheRequest,
     including m_pool_namepace, m_pool_id, m_snap_id,
     m_cache_path
2) : add some log at CacheSession
3) : change pool name to pool_nspace + poo_id + snap_id
4) : change cache file name
5) : add generate_cache_file_name method
6) : modify UT interface

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotool: break down receive_message implements
shangdehao1 [Sun, 20 Jan 2019 18:19:04 +0000 (02:19 +0800)]
tool: break down receive_message implements

Also, enable fault at CacheClient side.

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agocommon/buffer: fix pread_file to generate local bufferlist
Yuan Zhou [Fri, 18 Jan 2019 06:26:25 +0000 (14:26 +0800)]
common/buffer: fix pread_file to generate local bufferlist

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: clean up types for immutable obj cache daemon
Yuan Zhou [Thu, 17 Jan 2019 16:10:33 +0000 (00:10 +0800)]
tools: clean up types for immutable obj cache daemon

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: refuse to start if obj cache daemon fail to initialize cache dir
Yuan Zhou [Thu, 17 Jan 2019 15:37:12 +0000 (23:37 +0800)]
tools: refuse to start if obj cache daemon fail to initialize cache dir

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotest: enable asio tests for immutable obj cache controller
Yuan Zhou [Thu, 17 Jan 2019 05:47:31 +0000 (13:47 +0800)]
test: enable asio tests for immutable obj cache controller

cleanups for immutable obj cache controller

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: immutable_object_cache code format cleanup
Yuan Zhou [Wed, 16 Jan 2019 16:02:48 +0000 (00:02 +0800)]
tools: immutable_object_cache code format cleanup

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agocommon/buffer: adding pread_file method
Yuan Zhou [Wed, 16 Jan 2019 15:38:26 +0000 (23:38 +0800)]
common/buffer: adding pread_file method

pread_file allows to read length of contents at a given offset

using pread_file instead of read_file to reduce extra reads in ObjectCacheFile

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: refactor asio domain socket of RO
shangdehao1 [Sun, 13 Jan 2019 22:46:19 +0000 (06:46 +0800)]
tools: refactor asio domain socket of RO

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: fix redudent updates on cache metdata
Yuan Zhou [Wed, 9 Jan 2019 14:36:27 +0000 (22:36 +0800)]
tools: fix redudent updates on cache metdata

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agobuild/ops: adding build spec for immutable object cache daemon
Yuan Zhou [Sat, 29 Dec 2018 08:50:44 +0000 (16:50 +0800)]
build/ops: adding build spec for immutable object cache daemon

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotest: add object cache message unite test
shangdehao1 [Sun, 13 Jan 2019 22:34:37 +0000 (06:34 +0800)]
test: add object cache message unite test

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: add new object cache message
shangdehao1 [Sun, 13 Jan 2019 22:31:22 +0000 (06:31 +0800)]
tools: add new object cache message

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: use bufferlist to implement ObjectCacheFile
shangdehao1 [Tue, 25 Dec 2018 22:53:35 +0000 (06:53 +0800)]
tools: use bufferlist to implement ObjectCacheFile

1) : modify unite testing of object cache file
2) : remove open and create internface
3) : use bufferlist interface to read/write file

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotest: add ObjectCacheStore unit test
shangdehao1 [Mon, 24 Dec 2018 04:12:41 +0000 (12:12 +0800)]
test: add ObjectCacheStore unit test

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotest: add multi-session unit testing
shangdehao1 [Mon, 24 Dec 2018 03:36:00 +0000 (11:36 +0800)]
test: add multi-session unit testing

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotest: move WaitEvent class to test_common.h file
shangdehao1 [Mon, 24 Dec 2018 03:01:51 +0000 (11:01 +0800)]
test: move WaitEvent class to test_common.h file

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
6 years agotools: fix immutable obj cache max size
Yuan Zhou [Fri, 21 Dec 2018 02:56:19 +0000 (10:56 +0800)]
tools: fix immutable obj cache max size

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: remove RBD specific logic in immutable obj cache
Yuan Zhou [Fri, 21 Dec 2018 02:41:32 +0000 (10:41 +0800)]
tools: remove RBD specific logic in immutable obj cache

Make the daemon more generic(pool name + object id) so it
can service both RBD and RGW.
Also supports caching partial object(even empty), the caller
needs to append_zero to read buffer if read on those objects.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: remove background eviction
Yuan Zhou [Fri, 21 Dec 2018 01:20:07 +0000 (09:20 +0800)]
tools: remove background eviction

do eviction check in promotion callback simply

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: format headers for object cache daemon
Yuan Zhou [Thu, 20 Dec 2018 13:21:58 +0000 (21:21 +0800)]
tools: format headers for object cache daemon

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: create local utils for object cache daemon
Yuan Zhou [Thu, 20 Dec 2018 10:30:19 +0000 (18:30 +0800)]
tools: create local utils for object cache daemon

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: clean up immutable object cache
Yuan Zhou [Thu, 20 Dec 2018 08:20:37 +0000 (16:20 +0800)]
tools: clean up immutable object cache

- drop "ceph_" prefix
- prefix all options with immutable_object_cache_
- adding configurable immutable_object_cache_max_inflight_ops

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agotools: adding ceph level immutable obj cache daemon
Yuan Zhou [Thu, 13 Dec 2018 21:36:36 +0000 (05:36 +0800)]
tools: adding ceph level immutable obj cache daemon

The daemon is built for future integration with both RBD and RGW cache.
The key components are:
- domain socket based simple IPC
- simple LRU policy based promotion/demotion for the cache
- simple file based caching store for RADOS objs with sync IO interface
- systemd service/target files for the daemon

Signed-off-by: Dehao Shang <dehao.shang@intel.com>
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
6 years agoMerge pull request #27089 from tchaikov/wip-cmake-with-ninja
Kefu Chai [Thu, 21 Mar 2019 14:05:54 +0000 (22:05 +0800)]
Merge pull request #27089 from tchaikov/wip-cmake-with-ninja

cmake: do not assume ${CMAKE_GENERATOR} == make

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27100 from ddiss/trivial_rgw_auth_keystone_gcc_warning
Casey Bodley [Thu, 21 Mar 2019 14:05:18 +0000 (10:05 -0400)]
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>
6 years agoMerge pull request #27094 from tchaikov/wip-cmake-cmake-ubsan
Kefu Chai [Thu, 21 Mar 2019 14:03:14 +0000 (22:03 +0800)]
Merge pull request #27094 from tchaikov/wip-cmake-cmake-ubsan

cmake: workaround of false alarm from ubsan

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27088 from tchaikov/wip-update-seastar
Kefu Chai [Thu, 21 Mar 2019 13:59:28 +0000 (21:59 +0800)]
Merge pull request #27088 from tchaikov/wip-update-seastar

cmake,crimson: pick up latest seastar

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #26731 from wjwithagen/wjw-fix-cmake-os-release
Kefu Chai [Thu, 21 Mar 2019 13:53:23 +0000 (21:53 +0800)]
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>
6 years agoMerge pull request #26607 from tchaikov/wip-cython-language_level
Kefu Chai [Thu, 21 Mar 2019 13:51:14 +0000 (21:51 +0800)]
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>
6 years agorgw: fix minor compiler warning in keystone auth 27100/head
David Disseldorp [Thu, 21 Mar 2019 13:09:17 +0000 (14:09 +0100)]
rgw: fix minor compiler warning in keystone auth

Signed-off-by: David Disseldorp <ddiss@suse.de>
6 years agoMerge pull request #27093 from tchaikov/wip-crimson-test-alien-echo
Kefu Chai [Thu, 21 Mar 2019 13:00:10 +0000 (21:00 +0800)]
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>
6 years agoMerge PR #27092 into master
Sage Weil [Thu, 21 Mar 2019 12:22:06 +0000 (07:22 -0500)]
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>
6 years agoMerge pull request #26404 from sebastian-philipp/orchestrator-error-handling
Sebastian Wagner [Thu, 21 Mar 2019 11:30:13 +0000 (12:30 +0100)]
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>
6 years agocmake: workaround of false alarm from ubsan 27094/head
Kefu Chai [Thu, 21 Mar 2019 10:51:48 +0000 (18:51 +0800)]
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>
6 years agotest/crimson: update to accomodate Dispatcher changes 27093/head
Kefu Chai [Thu, 21 Mar 2019 10:52:50 +0000 (18:52 +0800)]
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>
6 years agomailmap: sort entries 27092/head
Abhishek Lekshmanan [Thu, 21 Mar 2019 09:46:10 +0000 (10:46 +0100)]
mailmap: sort entries

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agomailmap: sort organizationmap
Abhishek Lekshmanan [Thu, 21 Mar 2019 09:43:21 +0000 (10:43 +0100)]
mailmap: sort organizationmap

since this will make it easier for editing entries in the future

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agomailmap: updates for nautilus
Abhishek Lekshmanan [Thu, 21 Mar 2019 09:32:32 +0000 (10:32 +0100)]
mailmap: updates for nautilus

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agocmake: disable -Werror when building seastar 27088/head
Kefu Chai [Thu, 21 Mar 2019 08:23:04 +0000 (16:23 +0800)]
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>
6 years agoseastar: pickup the latest seastar
Kefu Chai [Thu, 21 Mar 2019 07:06:27 +0000 (15:06 +0800)]
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>
6 years agocmake: link against libfmt
Kefu Chai [Thu, 21 Mar 2019 06:55:05 +0000 (14:55 +0800)]
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>
6 years agocrimson: include headers if necessary
Kefu Chai [Thu, 21 Mar 2019 06:52:46 +0000 (14:52 +0800)]
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>
6 years agocmake: do not assume ${CMAKE_GENERATOR} == make 27089/head
Kefu Chai [Thu, 21 Mar 2019 05:16:13 +0000 (13:16 +0800)]
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>
6 years agocmake: build fmt submodule if libfmt is not found
Kefu Chai [Thu, 21 Mar 2019 04:07:10 +0000 (12:07 +0800)]
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>
6 years agofmt: add fmt submodule back
Kefu Chai [Thu, 21 Mar 2019 03:53:21 +0000 (11:53 +0800)]
fmt: add fmt submodule back

seastar does not bring fmt as a submodule, so let's ready it by
ourselves.

This reverts commit 53a38bf57e10b681268378737955e50f6239e925.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27057 from yuriw/wip-yuriw-crontab
Yuri Weinstein [Wed, 20 Mar 2019 23:36:54 +0000 (16:36 -0700)]
Merge pull request #27057 from yuriw/wip-yuriw-crontab

qa/tests: reduced frequency for luminous and mimic runs...

6 years agoqa/tests: reduced frequency for luminous and mimic runs 27057/head
Yuri Weinstein [Tue, 19 Mar 2019 20:19:30 +0000 (13:19 -0700)]
qa/tests: reduced frequency for luminous and mimic runs
added all suites for nauitlus

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #26786 from aclamk/fix-rocksdb-compaction-ranges
Yuri Weinstein [Wed, 20 Mar 2019 16:30:38 +0000 (09:30 -0700)]
Merge pull request #26786 from aclamk/fix-rocksdb-compaction-ranges

common/kv/rocksdb: Fixed async compations.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27046 from smithfarm/wip-38812
Nathan Cutler [Wed, 20 Mar 2019 16:12:58 +0000 (17:12 +0100)]
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>
6 years agoMerge pull request #27054 from cbodley/wip-37770
Casey Bodley [Wed, 20 Mar 2019 14:07:31 +0000 (10:07 -0400)]
Merge pull request #27054 from cbodley/wip-37770

doc/rgw: update civetweb rgw_frontends config example

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27035 from cbodley/wip-test-rgw-reshard-wait-clock
Casey Bodley [Wed, 20 Mar 2019 13:57:01 +0000 (09:57 -0400)]
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>
6 years agoMerge pull request #26853 from nathan-weinberg/more-cluster-tests
Lenz Grimmer [Wed, 20 Mar 2019 13:56:43 +0000 (14:56 +0100)]
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>
6 years agoMerge pull request #27052 from rzarzynski/wip-rgw-drop_rgw_decode_pki_token
Casey Bodley [Wed, 20 Mar 2019 13:55:55 +0000 (09:55 -0400)]
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>
6 years agoMerge pull request #27025 from yangdongsheng/poll_timeout
Jason Dillaman [Wed, 20 Mar 2019 12:58:04 +0000 (08:58 -0400)]
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>
6 years agodoc/rgw: update civetweb rgw_frontends config example 27054/head
Casey Bodley [Tue, 19 Mar 2019 16:57:55 +0000 (12:57 -0400)]
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>
6 years agoMerge pull request #27050 from theanalyst/build-doc-warns
Kefu Chai [Wed, 20 Mar 2019 12:16:13 +0000 (20:16 +0800)]
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>
6 years agoMerge pull request #26534 from majianpeng/skip-calc-crc-header-for-async-msg
Kefu Chai [Wed, 20 Mar 2019 11:53:24 +0000 (19:53 +0800)]
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>
6 years agoMerge PR #27009 into master
Sage Weil [Wed, 20 Mar 2019 11:51:51 +0000 (06:51 -0500)]
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>
6 years agoMerge pull request #26514 from dillaman/wip-38381
Kefu Chai [Wed, 20 Mar 2019 11:51:27 +0000 (19:51 +0800)]
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>
6 years agoMerge pull request #26985 from rhcs-dashboard/38768-fix-sparkline-component
Kefu Chai [Wed, 20 Mar 2019 11:50:23 +0000 (19:50 +0800)]
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>
6 years agoMerge pull request #27034 from jan--f/mgr-prometheus-remove-scrape-duration
Kefu Chai [Wed, 20 Mar 2019 11:48:40 +0000 (19:48 +0800)]
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>
6 years agoMerge pull request #26701 from adamemerson/wip-trip-the-light-clangtastic
Kefu Chai [Wed, 20 Mar 2019 11:36:57 +0000 (19:36 +0800)]
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>
6 years agoMerge pull request #26836 from p-na/wip-pna-fix-osd
Kefu Chai [Wed, 20 Mar 2019 11:30:51 +0000 (19:30 +0800)]
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>
6 years agoMerge pull request #26717 from ifed01/wip-ifed-objectstore-tool-fix
Kefu Chai [Wed, 20 Mar 2019 11:29:35 +0000 (19:29 +0800)]
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>
6 years agoMerge pull request #26926 from rouming/epoll-lost-epollet
Kefu Chai [Wed, 20 Mar 2019 11:26:40 +0000 (19:26 +0800)]
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>
6 years agorbd: krbd: return -ETIMEDOUT in polling 27025/head
Dongsheng Yang [Mon, 18 Mar 2019 03:04:52 +0000 (23:04 -0400)]
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>
6 years agoMerge pull request #26934 from sebastian-philipp/doc-rados-mon_command
Kefu Chai [Wed, 20 Mar 2019 10:27:47 +0000 (18:27 +0800)]
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>
6 years agoMerge pull request #26562 from familyuu/log
Lenz Grimmer [Wed, 20 Mar 2019 10:10:45 +0000 (11:10 +0100)]
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>
6 years agoMerge pull request #27065 from tchaikov/wip-crimson-mgr-client
Kefu Chai [Wed, 20 Mar 2019 09:56:25 +0000 (17:56 +0800)]
Merge pull request #27065 from tchaikov/wip-crimson-mgr-client

crimson/osd: report pg_stats to mgr

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocrimson/osd: connect OSD to mgr 27065/head
Kefu Chai [Wed, 6 Mar 2019 04:29:10 +0000 (12:29 +0800)]
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>
6 years agocrimson/osd: include MonClient.h in .cc
Kefu Chai [Wed, 6 Mar 2019 04:27:36 +0000 (12:27 +0800)]
crimson/osd: include MonClient.h in .cc

mon::Client's definition is only necessary in .cc

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/osd: add facilities for reporting pg stats
Kefu Chai [Mon, 4 Mar 2019 09:15:01 +0000 (17:15 +0800)]
crimson/osd: add facilities for reporting pg stats

Signed-off-by: Kefu Chai <kchai@redhat.com>