summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* tools: create local utils for object cache daemonYuan Zhou2019-03-215-6/+139
| | | | Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
* tools: clean up immutable object cacheYuan Zhou2019-03-2125-114/+137
| | | | | | | | - 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>
* tools: adding ceph level immutable obj cache daemonYuan Zhou2019-03-2129-0/+2420
| | | | | | | | | | | | 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>
* Merge pull request #27089 from tchaikov/wip-cmake-with-ninjaKefu Chai2019-03-214-6/+26
|\ | | | | | | | | cmake: do not assume ${CMAKE_GENERATOR} == make Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * cmake: do not assume ${CMAKE_GENERATOR} == makeKefu Chai2019-03-214-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Merge pull request #27100 from ddiss/trivial_rgw_auth_keystone_gcc_warningCasey Bodley2019-03-211-2/+2
|\ \ | | | | | | | | | | | | | | | [trivial] rgw: fix minor compiler warning in keystone auth Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com> Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | rgw: fix minor compiler warning in keystone authDavid Disseldorp2019-03-211-2/+2
| | | | | | | | | | | | Signed-off-by: David Disseldorp <ddiss@suse.de>
* | | Merge pull request #27094 from tchaikov/wip-cmake-cmake-ubsanKefu Chai2019-03-211-19/+17
|\ \ \ | | | | | | | | | | | | | | | | cmake: workaround of false alarm from ubsan Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | cmake: workaround of false alarm from ubsanKefu Chai2019-03-211-19/+17
| | |/ | |/| | | | | | | | | | | | | | | | to workaround a GCC bug, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88684 Signed-off-by: Kefu Chai <kchai@redhat.com>
* | | Merge pull request #27088 from tchaikov/wip-update-seastarKefu Chai2019-03-2111-5/+15
|\ \ \ | | | | | | | | | | | | | | | | cmake,crimson: pick up latest seastar Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | cmake: disable -Werror when building seastarKefu Chai2019-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | seastar: pickup the latest seastarKefu Chai2019-03-211-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for couple improvements * dbf7b6b0: add fast path for small writes * 2f357317: IPv6 support Signed-off-by: Kefu Chai <kchai@redhat.com>
| * | | cmake: link against libfmtKefu Chai2019-03-212-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | crimson: include headers if necessaryKefu Chai2019-03-215-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | cmake: build fmt submodule if libfmt is not foundKefu Chai2019-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the recent seastar dropped fmt submodule, so we need to build from our own fmt submodule. Signed-off-by: Kefu Chai <kchai@redhat.com>
| * | | fmt: add fmt submodule backKefu Chai2019-03-212-0/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #26731 from wjwithagen/wjw-fix-cmake-os-releaseKefu Chai2019-03-211-18/+27
|\ \ \ | | | | | | | | | | | | | | | | build: FreeBSD does not have /etc/os-release Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
| * | | build: FreeBSD does not have /etc/os-releaseWillem Jan Withagen2019-03-041-18/+27
| | | | | | | | | | | | | | | | | | | | | | | | So "manually" set requirements Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
* | | | Merge pull request #26607 from tchaikov/wip-cython-language_levelKefu Chai2019-03-215-5/+13
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | pybind: set language_level for cythonize explicitly Reviewed-by: Neha Ojha <nojha@redhat.com> Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
| * | | pybind: encode flattened dictKefu Chai2019-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | in python3, the keys and values in dict are unicode strings, so we need to encode them before passing them to underlying librados' C API. Signed-off-by: Kefu Chai <kchai@redhat.com>
| * | | pybind: extract flatten_dict() outKefu Chai2019-02-231-4/+7
| | | | | | | | | | | | | | | | Signed-off-by: Kefu Chai <kchai@redhat.com>
| * | | pybind: set language_level for cythonize explicitlyKefu Chai2019-02-234-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compiling rbd.pyx because it changed. [1/1] Cythonizing rbd.pyx /usr/lib/python2.7/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later re lease! File: /var/ssd/ceph/src/pybind/rbd/rbd.pyx tree = Parsing.p_module(s, pxd, full_module_name) this warning is raised by cython 0.29.2 Signed-off-by: Kefu Chai <kchai@redhat.com>
* | | | Merge pull request #27093 from tchaikov/wip-crimson-test-alien-echoKefu Chai2019-03-211-4/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | test/crimson: update to accomodate Dispatcher changes Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
| * | | | test/crimson: update to accomodate Dispatcher changesKefu Chai2019-03-211-4/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Dispatcher::ms_get_authorizer() was changed in f22d433a, so update the test accordingly Signed-off-by: Kefu Chai <kchai@redhat.com>
* | | | Merge PR #27092 into masterSage Weil2019-03-213-193/+637
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
| * | | | mailmap: sort entriesAbhishek Lekshmanan2019-03-211-186/+186
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
| * | | | mailmap: sort organizationmapAbhishek Lekshmanan2019-03-211-187/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since this will make it easier for editing entries in the future Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
| * | | | mailmap: updates for nautilusAbhishek Lekshmanan2019-03-213-13/+166
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
| * | | | doc: mailmap updates for mimicAbhishek Lekshmanan2019-03-153-14/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the changeset is large, didn't create individual commits per author due to the amount of possible rebase work Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
| * | | | mailmap fixes for 12.2.0Abhishek Lekshmanan2019-03-153-7/+97
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
* | | | | Merge pull request #26404 from sebastian-philipp/orchestrator-error-handlingSebastian Wagner2019-03-218-175/+332
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | mgr/orchestrator: Add error handling to interfaceSebastian Wagner2019-03-078-175/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: * Small test_orchestrator refactorization * Improved Docstring in MgrModule.remote * Added `raise_if_exception` that raises Exceptions * Added `OrchestratorError` and `OrchestratorValidationError` * `_orchestrator_wait` no longer raises anything * `volumes` model also calls `raise_if_exception` Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
* | | | | Merge pull request #27057 from yuriw/wip-yuriw-crontabYuri Weinstein2019-03-211-36/+70
|\ \ \ \ \ | | | | | | | | | | | | qa/tests: reduced frequency for luminous and mimic runs...
| * | | | | qa/tests: reduced frequency for luminous and mimic runsYuri Weinstein2019-03-201-36/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added all suites for nauitlus Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
* | | | | | Merge pull request #26786 from aclamk/fix-rocksdb-compaction-rangesYuri Weinstein2019-03-201-5/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | common/kv/rocksdb: Fixed async compations. Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | | | | common/kv/rocksdb: Fixed merging regions for async compations that could cut ↵Adam Kupczyk2019-03-061-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compation range. Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
* | | | | | | Merge pull request #27046 from smithfarm/wip-38812Nathan Cutler2019-03-201-1/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rpm: refrain from building ceph-resource-agents on SLE Reviewed-by: Kefu Chai <kchai@redhat.com> Reviewed-by: Tim Serong <tserong@suse.com>
| * | | | | | | rpm: refrain from building ceph-resource-agents on SLENathan Cutler2019-03-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/38812 Signed-off-by: Nathan Cutler <ncutler@suse.com>
* | | | | | | | Merge pull request #27054 from cbodley/wip-37770Casey Bodley2019-03-201-5/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/rgw: update civetweb rgw_frontends config example Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | | | | | | doc/rgw: update civetweb rgw_frontends config exampleCasey Bodley2019-03-201-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | | Merge pull request #27035 from cbodley/wip-test-rgw-reshard-wait-clockCasey Bodley2019-03-202-11/+17
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test/rgw: test_rgw_reshard_wait uses same clock for timing Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | | | | | | | test/rgw: RGWReshardWait uses std::chrono::steady_clockCasey Bodley2019-03-182-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the synchronous wait() call uses std::condition_variable::wait_for(), which is based on std::chrono::steady_clock. this changes the asynchronous waits (along with timing in the unit test) to use that same clock should resolve this test failure: [ RUN ] ReshardWait.wait_yield /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/rgw/test_rgw_reshard_wait.cc:78: Failure Expected: (wait_duration) <= (elapsed), actual: 0.01s vs 0.00835688s [ FAILED ] ReshardWait.wait_yield (8 ms) Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | | | | | | | | | Merge pull request #26853 from nathan-weinberg/more-cluster-testsLenz Grimmer2019-03-204-0/+62
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | | | | | | | | mgr/dashboard: Added breadcrumb tests to Manager modules and Alerts menuNathan2019-03-084-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/38650 Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
* | | | | | | | | | | Merge pull request #27052 from rzarzynski/wip-rgw-drop_rgw_decode_pki_tokenCasey Bodley2019-03-202-21/+0
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rgw: drop unused rgw_decode_pki_token(). Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | | | | | rgw: drop unused rgw_decode_pki_token().Radoslaw Zarzynski2019-03-192-21/+0
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
* | | | | | | | | | | Merge pull request #27025 from yangdongsheng/poll_timeoutJason Dillaman2019-03-201-2/+12
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rbd: krbd: return -ETIMEDOUT in polling Reviewed-by: Jason Dillaman <dillaman@redhat.com> Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
| * | | | | | | | | | | rbd: krbd: return -ETIMEDOUT in pollingDongsheng Yang2019-03-201-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | | | | | | | Merge pull request #27050 from theanalyst/build-doc-warnsKefu Chai2019-03-201-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | admin/build-doc: keep-going when finding warnings Reviewed-by: Alfredo Deza <adeza@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | | | | | | | | | | tools: admin/build-doc: keep-going when finding warningsAbhishek Lekshmanan2019-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the build to fail, but also report a list of warnings so that multiple runs are not required to find all the errors in doc changes Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>