summaryrefslogtreecommitdiffstats
path: root/recipes-extended/ceph
Commit message (Collapse)AuthorAgeFilesLines
* ceph: Fix compile error with snappySaul Wold2021-06-012-0/+31
| | | | | | | | snappy changed a data type in the last update, this is a known issue in ceph. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: update to 15.2.12 to address CVEsSaul Wold2021-05-211-5/+4
| | | | | | | | | | | Updated sha* Fixes: CVE-2021-3509 Fixes: CVE-2021-3524 Fixes: CVE-2021-3531 Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: uprev from 15.2.8 to 15.2.9Zqiang2021-03-301-5/+5
| | | | | | | | | | Notable Changes: 1. progress module can now be turned on/off, using the commands: ceph progress on and ceph progress off. 2. PG removal has been optimized in this release. Signed-off-by: Zqiang <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: uprev v15.2.0 -> v15.2.8sakib.sajal@windriver.com2020-12-289-689/+5
| | | | | | | | | | | | | | | | Removed patches that are contained in newer version. Contains fixes to CVES: CVE-2020-27781 CVE 2020-25660 CVE-2020-10753 CVE-2020-10736 CVE-2020-1759 CVE-2020-1760 Built and run tested. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: add support for python3.9Yanfei Xu2020-11-142-0/+31
| | | | | | | Add support for python3.9, or it will do_configure failed. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: add missing include for atomic<bool>sakib.sajal@windriver.com2020-11-142-0/+26
| | | | | | | | | | | ceph do_compile failed with error: src/tools/rbd/action/Bench.cc:20:26: error: aggregate 'std::atomic<bool> terminating' has incomplete type and cannot be defined Add missing include to fix it. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix do_compile error: 'sys_siglist' was not declaredsakib.sajal@windriver.com2020-08-161-0/+1
| | | | | | | | | | | | | | | glibc 2.32 has deprecated sys_siglist, oe-core commit 7c19f30849e9a73a7497d8e6c4719a2e57017086, causing ceph build to fail with error: ceph-15.2.0/src/global/signal_handler.h:24:26: error: 'sys_siglist' was not declared ceph has support for using reentrant strsignal, hence use it. See commit 82c40b67f5843162a93ebb2c1a006572d8f256a5 in upstream ceph. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix CVE-2020-10736jason.lau2020-07-064-0/+229
| | | | | | | | | | | | | | | | | An authorization bypass vulnerability was found in Ceph versions 15.2.0 before 15.2.2, where the ceph-mon and ceph-mgr daemons do not properly restrict access, resulting in gaining access to unauthorized resources. This flaw allows an authenticated client to modify the configuration and possibly conduct further attacks. Upstream patches: [master] https://github.com/ceph/ceph/commit/c7e7009a690621aacd4ac2c70c6469f25d692868 [v15.2.2] https://github.com/ceph/ceph/commit/f2cf2ce1bd9a86462510a7a12afa4e528b615df2 CVE: CVE-2020-10736 Signed-off-by: Liu Haitao <haitao.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: backport CVE fixessakib.sajal@windriver.com2020-05-026-0/+455
| | | | | | | | Fix CVE-2020-1759 and CVE-2020-1760 PR for fix: https://github.com/ceph/ceph/pull/34482 Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix host library paths were usedhongxu2020-04-142-0/+99
| | | | | | | | | | | | | | | | | | | ... |ERROR: ceph-15.2.0-r0 do_package_qa: QA Issue: ceph: The compile log indicates that host include and/or library paths were used. | Please check the log 'tmp-glibc/work/corei7-64-wrs-linux/ ceph/15.2.0-r0/temp/log.do_compile' for more information. [compile-host-path] |ERROR: ceph-15.2.0-r0 do_package_qa: QA Issue: ceph: The install log indicates that host include and/or library paths were used. | Please check the log 'tmp-glibc/work/corei7-64-wrs-linux/ ceph/15.2.0-r0/temp/log.do_install' for more information. [install-host-path] ... While python setup, test var-LIBPL contains recipe-sysrooot prefix, add it back if lost Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix installed-vs-shipped QA issuehongxu2020-04-141-0/+2
| | | | | | | | | | | | ... |ERROR: ceph-15.2.0-r0 do_package: QA Issue: ceph: Files/directories were installed but not shipped in any package: | /lib/systemd/system/ceph-immutable-object-cache@.service | /lib/systemd/system/ceph-immutable-object-cache.target ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: uprev ceph from 14.2.7 to 15.2.0sakib.sajal@windriver.com2020-04-085-214/+29
| | | | | | | | | | | | | | | ceph uprev to v15.2.0 Refreshed oe-specific patch: ceph/0001-ceph-fix-build-errors-for-cross-compile.patch Removed merged patches: ceph/0001-common-rgw-workaround-for-boost-1.72.patch ceph/0001-rgw-add-executor-type-for-basic_waitable_timers.patch ceph/0001-rgw-beast-handle_connection-takes-io_context.patch Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: 14.2.6 -> 14.2.7Kai Kang2020-02-132-19/+87
| | | | | | | | | | | | | | | | Update ceph from 14.2.6 to 14.2.7. * Backport patch to fix compile error * Replace python with python3 in the script files that /usr/bin/python not exists * Replace runtime dependency python3 with python3-core - /usr/bin/python3 is provided by python3-core - packagee python3 is provided by python3-modules which in RDEPENDS already This has been build-only tested. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: update and make python3 safeBruce Ashfield2020-01-222-74/+15
| | | | | | | | | Updating the ceph version and making python2 -> python3 subsitutions. This has been build-only tested. We can drop one patch, since it is already part of this newer version. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: backport patch to fix compilation failure of boost 1.72Chen Qi2020-01-082-0/+63
| | | | | | | | Backport a patch to fix compliation failure caused by boost upgrading to 1.72. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix ceph-crash failed with /var/lib/ceph/crash/posted not foundHongzhi.Song2019-09-141-0/+24
| | | | | | | | | | | root@intelx86-64: journalctl -xe ceph-crash[854]: ERROR:_main_:directory /var/lib/ceph/crash/posted does not exist; please create Create the directory for both of systemd and sysvinit Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: Upgrade to 14.2.3He Zhe2019-09-094-18/+134
| | | | | | | | | | | | | | | | | | | | Upgrade to the latest stable version and backport two patches from master branch to fix the following two build failures which are introduce by upgrading boost to 1.71.0. f1651b8c509d ("rgw: add executor type for basic_waitable_timers") for: src/rgw/rgw_dmclock_async_scheduler.h:45:30: error: could not convert 'boost::asio::basic_waitable_timer<Clock, WaitTraits, Executor>::get_executor() 064f142746ae ("rgw: beast handle_connection() takes io_context") for: src/rgw/rgw_asio_frontend.cc:155:38: error: 'class boost::asio::basic_socket<boost::asio::ip::tcp, boost::asio::executor>' has no member named 'get_io_context'; did you mean 'io_control'? Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: remove fuse related services as WITH_FUSE is OFFChen Qi2019-08-301-2/+2
| | | | | | | | We have WITH_FUSE to set to OFF. We should not install any ceph-fuse units as they are using ceph-fuse. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: set CVE_PRODUCTChen Qi2019-05-061-0/+2
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: upgrade to 14.1.0Dengke Du2019-03-176-242/+199
| | | | | | | | 1. set the cross compile sysroot to find the rocksdb library 2. correct the install path for library in Distutils.cmake Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: disable ccacheDengke Du2019-02-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | When enable ccache for ceph, error occurs: ----------------------------------------------------- ccache: invalid option -- 'E' ... Unable to determine C++ standard library, got . ----------------------------------------------------- This is because variable "CXX_STDLIB" was null in CMakeLists.txt line: 637, The "CXX_STDLIB" come from: ----------------------------------------------------- execute_process( COMMAND ./librarytest.sh ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_FLAGS} WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE CXX_STDLIB ) ----------------------------------------------------- The script librarytest.sh in ceph accept argument: compile and flags, but when enable ccache, the compile replace by ccache, so that script failed. So we disable ccache for ceph now. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix rbd create operation not supportedDengke Du2018-11-081-3/+2
| | | | | | | | | | | | | | | | | | | | When using qemu-img to create rbd based image: qemu-img create -f rbd rbd:libvirt-pool/libvirt-image 2G Output errors: qemu-img: rbd:libvirt-pool/libvirt-image: error rbd create: Operation not supported Accroding to upstream's advice: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2018-November/031014.html This is because the system can't find libcls_rbd.so, this library was packaged in ceph-dev, we should package it in ceph. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceph: fix Distutils.cmake installation for cross compileDengke Du2018-10-302-8/+58
| | | | | | | | | 1. Remove the detection for build host and correct the install destination for cross compile. 2. Delete the build host information in the results files. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceph: upgrade to 13.2.2Dengke Du2018-10-254-37/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. upgrade to 13.2.2 2. install systemd service files 3. add pybind support testing steps: # ceph -h outputs: -------------------------------------------------------------------------- General usage: ============== usage: ceph [-h] [-c CEPHCONF] [-i INPUT_FILE] [-o OUTPUT_FILE] [--id CLIENT_ID] [--name CLIENT_NAME] [--cluster CLUSTER] [--admin-daemon ADMIN_SOCKET] [-s] [-w] [--watch-debug] [--watch-info] [--watch-sec] [--watch-warn] [--watch-error] [--watch-channel {cluster,audit,*}] [--version] [--verbose] [--concise] [-f {json,json-pretty,xml,xml-pretty,plain}] [--connect-timeout CLUSTER_TIMEOUT] [--block] [--period PERIOD] Ceph administration tool optional arguments: -h, --help request mon help -c CEPHCONF, --conf CEPHCONF ...... -------------------------------------------------------------------------- Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceph: only support x86-64Dengke Du2018-10-091-0/+1
| | | | | Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* ceph: add support for cephDengke Du2018-09-304-0/+156
Ceph is a distributed object, block, and file storage platform, ceph depends on oath-toolkit, so add the oath-toolkit also. Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>