Commit Graph

47 Commits

Author SHA1 Message Date
Bruce Ashfield
6c52d3e88b ceph: fix gcc14 and 19.0.0 packaging issues
To fix the final gcc14 errors, we temporarily disable incompatible
type warnings on two python modules.

We also package a new systemd file and account for WORKDIR being
replaced by UNPACKDIR for patches.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-22 22:14:24 +00:00
Bruce Ashfield
4e8568e32e ceph: build rocksdb, disable QAT, use bundled dependencies (no pip)
By building rocksdb out of the tree, we can avoid incompatiblity
issues in the API with a dependency.

QAT doesn't build well, so disable it.

Ensure that we are using our python dependencies otherwise pip
will be run at build / package time.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-22 22:14:24 +00:00
Bruce Ashfield
498cb48b05 ceph: convert to git and tox
Waiting for ceph releases means a lot of backported patches
and missing bundled dependencies.

We switch to gitsm to make our updates easier.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-22 22:14:24 +00:00
Bruce Ashfield
9c90d73dbc ceph: initial gcc14 fixes
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-22 22:14:24 +00:00
Bruce Ashfield
9668868174 ceph: update to 18.2.3
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-07-22 22:14:24 +00:00
Mingli Yu
c07eefe02f ceph: Add the missing Upstream-Status Field
Fixes:
  INFO: Traceback (most recent call last):
    File "/build/layers/oe-core/scripts/lib/checklayer/cases/common.py", line 87, in test_patches_upstream_status
      self.assertEqual(len(patches), 0 , \
  AssertionError: 1 != 0 : Found following patches with malformed or missing upstream status:
/build/layers/meta-virtualization/recipes-extended/ceph/ceph/0001-delete-install-layout-deb.patch

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-02 17:49:26 +00:00
Bruce Ashfield
c20d158524 ceph: update to 18.2.2
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:20 +00:00
Chen Qi
21b439042b ceph: fix do_compile/do_install failures
1. OECMAKE_C/CXX_COMPILER needs to have sysroot setting in it, because
   ceph's cmake files are using it to construct PY_CC. Without it, files
   such as stdlib.h cannot be found.
2. re2 is added to deps. Seems no way to disable it.
3. 0001-ceph-fix-build-errors-for-cross-compile.patch is dropped. It's useless
   and problematic for new version.
4. 0001-cmake-add-support-for-python3.11.patch is dropped as it's not needed anymore.
5. 0001-avoid-to_string-error.patch is added to fix build error, maybe caused by
   boost version incompatibility.
6. Some cleanups.
7. A few more options are set.
8. BUILD_DOC=1 is exported so that check_sanity() causes compilation error.
   This is a workaround and may need further visit in the future.
9. Delete the conditional check for /etc/debian_version which adds '--install-layout deb'
   and causes the following error.
     error: option --install-layout not recognized
   The patch is 0001-delete-install-layout-deb.patch.
10. ceph-volume[-systemd] are now in sbin.
11. cephfs-mirror units are added to avoid package QA issue.
12. cephfs-top is seded to fix incorrect shebang.
13. Ensure libcephsqlite.so is packaged into ceph instead of ceph-dev.
14. Add bash to RDEPENDS as rbdmap needs it.
15. Skip buildpaths QA.
16. Add ceph user/group, because ceph-crash needs it in drop_privilege function call.
17. Patch the build.py which creates the cephadm zipapp to ensure it uses the correct interpreter.
    We cannot simply use 'sed' against the cephadm as it's zip format.

Runtime tests:
cephfs-top --help
cephadm --help
systemctl status rbdmap
systemctl --failed

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:20 +00:00
Bruce Ashfield
3e1ee1fda7 ceph: initial update to 18.2.0
The ability to detected our python is fixed, but we are now
failing in the compilation phase on some of the applications.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-03-15 17:17:20 +00:00
Martin Jansa
f6d4c34ac9 ceph: fix build with gcc-13
* this isn't complete fix as there are still issues from new boost as in:
  https://github.com/boostorg/phoenix/issues/111
  http://errors.yoctoproject.org/Errors/Details/702743/
  TOPDIR/tmp-glibc/work/core2-64-oe-linux/ceph/15.2.15-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.1.0/ld: CMakeFiles/common-objs.dir/mon/MonCap.cc.o:/usr/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:43: multiple definition of `boost::phoenix::placeholders::uarg10'; common/CMakeFiles/common-common-objs.dir/ConfUtils.cc.o:/usr/include/boost/preprocessor/iteration/detail/limits/local_256.hpp:43: first defined here

* probably easiest fix for above would be to upgrade to newer ceph, but
  I'm not using it, so couldn't properly test it (I was just looking
  at bitbake world failures in mickledore

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2023-05-08 18:41:38 -04:00
sakib.sajal@windriver.com
d2cfa7fac8 ceph: support python 3.11
python3 has been upgraded to 3.11 in oe-core causing
ceph do_configure to fail with the error:
|   Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR
|   Development) (found suitable version "3.6.9", minimum required is "3")

Support python 3.11 to fix the issue

Upstream-Status: sent to upstream (https://github.com/ceph/ceph/pull/48947)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-11-22 23:32:02 -05:00
sakib.sajal@windriver.com
5bc9ecc2a7 ceph: fix compile issue
rocksdb has been updated to 7.5.3 in meta-oe causing
ceph compilation to fail.

Backport necessary patches to allow ceph to work with
newer versions rocksdb.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-10-04 16:39:50 -04:00
Joe Slater
dccd964570 ceph: Fix CVE-2021-3979
Ceph-volume does not properly control key sizes.

Cherry-pick from github.com/ceph/ceph.git.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-20 23:23:08 -04:00
Chen Qi
d9189db0aa ceph: fix gcc-12 compile failure
Add two patches to fix gcc-12 compile failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-25 11:39:13 -04:00
sakib.sajal@windriver.com
e7516708fe ceph: set CXXFLAGS and CFLAGS
commit a83623a54a375d3ae9198a135b94379881a2b7a5 was added
to oe-core which removes CXXFLAGS and CFLAGS causing
compilation for ceph to fail.

Set CXXFLAGS and CFLAGS to resolve the issue.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-22 15:59:52 -04:00
Bruce Ashfield
108e089f7e global: update licence values to SPDX values
These changes are the result of running the convert-spdx-licenses.py
oe-core script.

There's no impact to the build, but we will avoid issues when
interacting with core QA by the alignment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-02-18 13:07:10 -05:00
Kai Kang
f71bedc29d ceph: 15.2.12 -> 15.2.15
Update ceph to latest 15.x version:

* remove 0001-add-missing-include-for-atomic-bool.patch which has been
  fixed in upstream
* update patch to support python 3.10
* add gawk to RDEPENDS that script 'rgw-gap-list-comparator' requires it

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-28 15:30:19 -04:00
Kai Kang
03cd8aa82e ceph: inherit pkgconfig.bbclass
According to oe-core commit

8e26252b45 layer.conf: Extend recipes not to install without explict dependencies

pkgconfig-native is not deployed in sysroot by default any more. Inherit
pkgconfig.bbclass to make it available for ceph.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-10-18 23:02:30 -04:00
Bruce Ashfield
1fae6921b6 Revert "ceph/libibverbs: replace libibverbs with rdma-core"
meta-cloud-services still has users of libibverbs, so we'll keep it
around a bit longer.

But this library has been replaced by rdma-core, and won't get more
updates, so it should be considered depreciated and slated for removal.

This reverts commit 513f05926a.
2021-09-17 08:27:13 -04:00
Bruce Ashfield
513f05926a ceph/libibverbs: replace libibverbs with rdma-core
libibverbs is no longer developed, and its functionaty is provided by
the rdma-core projects.

rdma-core is part of meta-networking, so we drop libibverbs and update
our dependency to rdma-core.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-16 18:01:55 -04:00
Bruce Ashfield
d876cfc5bf global: overrides syntax conversion
OEcore/bitbake are moving to use the clearer ":" as an overrides
separator.

This is pass one of updating the meta-virt recipes to use that
syntax.

This has only been minimally build/runtime tested, more changes
will be required for missed overrides, or incorrect conversions

Note: A recent bitbake is required:

    commit 75fad23fc06c008a03414a1fc288a8614c6af9ca
    Author: Richard Purdie <richard.purdie@linuxfoundation.org>
    Date:   Sun Jul 18 12:59:15 2021 +0100

        bitbake: data_smart/parse: Allow ':' characters in variable/function names

        It is becomming increasingly clear we need to find a way to show what
        is/is not an override in our syntax. We need to do this in a way which
        is clear to users, readable and in a way we can transition to.

        The most effective way I've found to this is to use the ":" charater
        to directly replace "_" where an override is being specified. This
        includes "append", "prepend" and "remove" which are effectively special
        override directives.

        This patch simply adds the character to the parser so bitbake accepts
        the value but maps it back to "_" internally so there is no behaviour
        change.

        This change is simple enough it could potentially be backported to older
        version of bitbake meaning layers using the new syntax/markup could
        work with older releases. Even if other no other changes are accepted
        at this time and we don't backport, it does set us on a path where at
        some point in future we could
        require a more explict syntax.

        I've tested this patch by converting oe-core/meta-yocto to the new
        syntax for overrides (9000+ changes) and then seeing that builds
        continue to work with this patch.

        (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284)

        Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02 17:17:53 -04:00
Saul Wold
8ded083436 ceph: Fix compile error with snappy
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>
2021-06-01 08:52:18 -04:00
Saul Wold
638d31de13 ceph: update to 15.2.12 to address CVEs
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>
2021-05-21 23:18:04 -04:00
Zqiang
2e5f311548 ceph: uprev from 15.2.8 to 15.2.9
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>
2021-03-30 16:42:52 -04:00
sakib.sajal@windriver.com
b8aa31c8c9 ceph: uprev v15.2.0 -> v15.2.8
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>
2020-12-28 22:54:19 -05:00
Yanfei Xu
9fe997733d ceph: add support for python3.9
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>
2020-11-14 23:07:20 -05:00
sakib.sajal@windriver.com
6687be2233 ceph: add missing include for atomic<bool>
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>
2020-11-14 23:07:13 -05:00
sakib.sajal@windriver.com
83a75c6410 ceph: fix do_compile error: 'sys_siglist' was not declared
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>
2020-08-16 21:20:12 -04:00
jason.lau
3bfea241d0 ceph: fix CVE-2020-10736
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] c7e7009a69
[v15.2.2] f2cf2ce1bd

CVE: CVE-2020-10736

Signed-off-by: Liu Haitao <haitao.liu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-06 16:28:54 -04:00
sakib.sajal@windriver.com
3b217da980 ceph: backport CVE fixes
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>
2020-05-02 11:02:58 -04:00
hongxu
d5953299e2 ceph: fix host library paths were used
...
|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>
2020-04-14 17:05:54 -04:00
hongxu
f5a31e3ecd ceph: fix installed-vs-shipped QA issue
...
|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>
2020-04-14 17:05:54 -04:00
sakib.sajal@windriver.com
40f79e8d17 ceph: uprev ceph from 14.2.7 to 15.2.0
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>
2020-04-08 23:06:09 -04:00
Kai Kang
cac0cdf86d ceph: 14.2.6 -> 14.2.7
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>
2020-02-13 17:21:52 -05:00
Bruce Ashfield
7e9c4e6a46 ceph: update and make python3 safe
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>
2020-01-22 15:53:49 +00:00
Chen Qi
0e01ab3f52 ceph: backport patch to fix compilation failure of boost 1.72
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>
2020-01-08 16:20:32 -05:00
Hongzhi.Song
85f7376fa4 ceph: fix ceph-crash failed with /var/lib/ceph/crash/posted not found
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>
2019-09-14 23:51:10 -04:00
He Zhe
624c5a0621 ceph: Upgrade to 14.2.3
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>
2019-09-09 13:29:47 -04:00
Chen Qi
e87e6fdcbc ceph: remove fuse related services as WITH_FUSE is OFF
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>
2019-08-30 00:28:36 -04:00
Chen Qi
2c6f451aa2 ceph: set CVE_PRODUCT
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-05-06 15:47:02 -04:00
Dengke Du
ed9045b143 ceph: upgrade to 14.1.0
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>
2019-03-17 00:18:31 +00:00
Dengke Du
b513fda519 ceph: disable ccache
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>
2019-02-14 14:03:49 +00:00
Dengke Du
ccdf4ef7b8 ceph: fix rbd create operation not supported
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>
2018-11-08 14:53:15 -05:00
Dengke Du
2519e5b16d ceph: fix Distutils.cmake installation for cross compile
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>
2018-10-30 13:41:16 -04:00
Dengke Du
f33c8698fd ceph: upgrade to 13.2.2
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>
2018-10-25 06:31:52 -04:00
Dengke Du
4be88e8390 ceph: only support x86-64
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-10-09 23:25:37 -04:00
Dengke Du
a49ca99d06 ceph: add support for ceph
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>
2018-09-30 21:31:21 -04:00