Commit Graph

567 Commits

Author SHA1 Message Date
Josh Durgin
1c7ad3523d Merge pull request #9833 from onyb/wip-rados-pypi
pybind: make rados ready for PyPI

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-06 16:01:50 -07:00
Kefu Chai
873aba7dd9 Merge pull request #9766 from dx9/wip-autotools-arch
configure.ac: Use uname instead of arch.

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2016-07-04 21:49:41 +08:00
Kefu Chai
0efb391a40 Merge pull request #9820 from dx9/wip-fix-res-query-detect
configure.ac: fix res_query detection

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-04 21:46:55 +08:00
Kefu Chai
a758a028b6 Merge pull request #9983 from SUSE/wip-cmake-fix-fcgi-include-dir
cmake: Fix FCGI include directory

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-04 21:43:24 +08:00
Matt Benjamin
1aff646335 automake, ssl: real openssl detection, fix ssl linkage w/NSS
This change mainly intends to prevent linking with libssl when the
crypto provider is NSS, which provides an SSL implementation (the
implementation we must use and prefer when NSS is selected).

Secondarily, actually detect openssl when it is selected, which
happens by default and co-selects with cryptopp.  To do this, we
import the ax_check_openssl.m4 from the automake archive.

Since upstream builds now prefer NSS crypto, make this the default.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-06-29 12:37:02 -04:00
Tim Serong
34fc83ce19 autotools: Simplify fcgiapp.h include for rgw
This commit updates autotools to add /usr/include/fastcgi to the include
directories if necessary for rgw, so we can always just include
<fcgiapp.h> (see previous commit for further commentary).

Signed-off-by: Tim Serong <tserong@suse.com>
2016-06-29 13:27:02 +10:00
Sage Weil
8528aea8cf v11.0.0
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-28 11:43:46 -04:00
Sage Weil
1ddc00b45c Merge pull request #8818 from SUSE/wip-drop-ceph-ra
ocf: drop ceph Resource Agent

Reviewed-by: Tim Serong <tserong@suse.com>
2016-06-23 12:18:54 -04:00
John Coyle
6cb0657b56 configure.ac: Use uname instead of arch.
arch is deprecated in linux-utils and coreutils does not install it by default.

https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=27abd8094845b4b2002a8ed5c3dd212999902c8f
http://www.gnu.org/software/coreutils/manual/html_node/arch-invocation.html#arch-invocation

Use uname -m, because uname -p returns unknown on alpine.

Signed-off-by: John Coyle <dx9err@gmail.com>
2016-06-22 22:41:26 -04:00
John Coyle
955c32c5d8 configure.ac: fix res_query detection
Signed-off-by: John Coyle <dx9err@gmail.com>
2016-06-22 20:43:16 -04:00
John Coyle
6b8ff0c61c configure.ac: add --with-reentrant-strsignal and --with-thread-safe-res-query options for Alpine support
Signed-off-by: John Coyle <dx9err@gmail.com>
2016-06-22 10:15:57 -04:00
Anirudha Bose
c1d0f5491d Allow specifying Python version during configure
* Uses the PYTHON environment variable allowed by configure scripts
* Supports running inside Python virtual environments, in which case,
  setting the PYTHON variable is not required.
* Example: $ PYTHON=python3.5 ./configure

Signed-off-by: Anirudha Bose <ani07nov@gmail.com>
2016-06-19 20:18:24 +05:30
Kefu Chai
70bbf1aded configure.ac,debian,rpm: do not package .a files in rpm/deb packages
this change removes *.a from -dev or -devel packages.

* configure.ac:
  - use LT_INIT instead of AM_PROG_LIBTOOL. the later is deprecated.
  - disable static lib:
    .a static libraries not not useful, it's tricky to generate both
    static libraries and shared libraries in cmake.
    see http://www.spinics.net/lists/ceph-devel/msg30637.html
* ceph.spec.in: fedora packaging policy forbids this
  see
  https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
* debian/*-dev.install: debian does not requires this
  see
  https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-static

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-07 14:08:59 +08:00
Willem Jan Withagen
ad9bc9a707 FreeBSD/configure.ac: No RPMs and fix YASM selection
- FreeBSD does not have arch, so use uname
 - Freebsd packaging does not have rpm
 - do not use [ for test(1) in autobuild tools
   [ is used as special char in autobuild as well. Better to avoid
   possible trouble.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-05-10 23:41:17 +02:00
Nathan Cutler
bb624c7334 Drop ceph Resource Agent
This RA wraps the ceph sysvinit script. As of Jewel, none of the supported
distros are using sysvinit anymore. So, drop it.

Incidentally, Pacemaker can control systemd units without any wrappers.

References: http://tracker.ceph.com/issues/14828
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-05-05 10:38:46 +02:00
Casey Bodley
75a9e437aa Merge pull request #8637 from roidayan/xio-remove_rdma_and_ibverbs_from_configure
confiugre.ac: remove rdma and ibverbs dependency from xio
2016-05-03 17:11:01 -04:00
Jenkins Build Slave User
3a9fba20ec 10.2.0 2016-04-20 11:29:48 +00:00
Roi Dayan
bc060bcd7d confiugre.ac: remove rdma and ibverbs dependency from xio
XioMessenger works with Accelio api and not rdma and ibverbs api directly.
configure.ac already has a check for libxio.

Signed-off-by: Roi Dayan <roid@mellanox.com>
2016-04-18 08:39:00 +03:00
Jenkins Build Slave User
4a2a6f7264 10.1.2 2016-04-12 17:42:56 +00:00
Jenkins Build Slave User
ce50389b77 10.1.1 2016-04-06 00:45:19 +00:00
Ira Cooper
602425abd5 configure: Add -D_LARGEFILE64_SOURCE to Linux build.
Without -D_LARGEFILE64_SOURCE we can't build against libxfs,
because off64_t must be defined.

Signed-off-by: Ira Cooper <ira@redhat.com>
2016-03-31 12:30:45 -04:00
Loic Dachary
0ab4813092 script: subscription-manager support (part 2)
Strip the .py suffix so that no pyc / pyo files are generated.
Do not install on CentOS.

http://tracker.ceph.com/issues/14972 Fixes: #14972

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-26 19:20:57 +01:00
Sage Weil
a0e5aa5c8a Merge remote-tracking branch 'gh/jewel' 2016-03-25 15:49:23 -04:00
Jenkins Build Slave User
96ae8bd25f 10.1.0 2016-03-24 10:53:48 +00:00
Sage Weil
f9b079e0af Merge pull request #7907 from dachary/wip-subman-facts
script: subscription-manager support

Reviewed-by: Boris Ranto <branto@redhat.com>
2016-03-23 17:05:47 -04:00
Loic Dachary
1b0e6397a7 script: subscription-manager support
The script is designed to create a fact file for subscription-manager to
consume. It is run hourly from /etc/cron.hourly on RHEL.

http://tracker.ceph.com/issues/14972 Fixes: #14972

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-03-17 11:07:34 +01:00
Matt Benjamin
1539d9029c rgw-ldap: conditional build
Permit building without LDAP support--support is enabled by default.
Tested with CMake and autotools standalone builds.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-03-16 16:31:20 -04:00
Josh Durgin
93863e7e22 Merge pull request #7663 from javacruft/wip-pybind-flags
pybind: Ensure correct python flags are passed

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-11 17:40:40 -08:00
Josh Durgin
a7f7339df7 Merge pull request #7856 from jdurgin/wip-cython-cleanup
configure.ac: update help strings for cython

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2016-03-11 17:35:11 -08:00
Sage Weil
96c1da9cd1 v10.0.5
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iEYEABECAAYFAlbi+tkACgkQ2kQg7SiJlcjm4gCeJ5FdX6wYXP69g3yrY7wHRxtM
 TawAoMnRD5i0Ndz4cceCvcBMk64W7mQG
 =Ta2C
 -----END PGP SIGNATURE-----

Merge tag 'v10.0.5'

v10.0.5

Conflicts:
	debian/changelog
2016-03-11 12:07:55 -05:00
Sage Weil
5acb2655ec v10.0.5
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-11 12:05:13 -05:00
Sage Weil
be3544f162 Merge remote-tracking branch 'gh/jewel' 2016-03-03 13:35:13 -05:00
Sage Weil
ea45099808 v10.0.4
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-03 13:34:46 -05:00
Sage Weil
2786f0bf11 Merge remote-tracking branch 'gh/jewel' 2016-03-02 09:22:28 -05:00
Josh Durgin
597aaba4f5 configure.ac: cython is used for more than librbd now
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-03-01 14:53:43 -08:00
Hector Martin
2cf7c4a932 configure.ac: boost_iostreams is required, not optional
Signed-off-by: Hector Martin <marcan@marcan.st>
2016-02-26 19:16:14 +09:00
James Page
1c0406aed6 pybind: Ensure correct python flags are passed
Cython should use the cflags and ldflags provided by
python-config; add checks, population and use of:

  PYTHON_CFLAGS
  PYTHON_LDFLAGS

resolving linker failures on Ubuntu and Debian.

Signed-off-by: James Page <james.page@ubuntu.com>
2016-02-16 18:43:05 +00:00
Nathan Cutler
a6cc8ea5d9 rpm: drop systemd_libexec_dir template variable
General cleanup. Actual use of the template variable was discontinued in
7c9fdf44f2.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-02-15 19:54:14 +01:00
Nathan Cutler
5c09a3e4e4 rpm: drop user_rgw and group_rgw template variables
These were originally used to template RGW tmpfiles.d, which was eliminated
by 8e13d89f0f

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-02-15 19:44:07 +01:00
Orit Wasserman
7942c93725 rgw: fix compilation with older boost versions that don't have asio coroutines
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2016-02-11 16:13:30 -08:00
Sage Weil
a20134d94a Merge pull request #7349 from yuyuyu101/add-pwritev
osd: FileStore: use pwritev instead of lseek+writev

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-09 08:58:28 -05:00
Sage Weil
f22b671434 Merge remote-tracking branch 'gh/jewel' 2016-02-08 17:26:13 -05:00
Sage Weil
efc8134f66 v10.0.3
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-08 17:10:53 -05:00
Sage Weil
c87f3f3464 Merge pull request #7503 from tchaikov/wip-cmake-spdk
build: spdk submodule; cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-05 09:16:59 -05:00
Kefu Chai
09e55d0c24 autotools: enable NVMEDevice if SPDK is found
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-02-04 14:05:53 +08:00
Sage Weil
9a80477432 Merge branch 'gelf-logging-backend' of git://github.com/irq0/ceph
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-03 08:48:26 -05:00
Haomai Wang
7d02b82210 configure: remove unused lines
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:05:02 +08:00
Haomai Wang
47335108e1 NVMEDevice: let aio_write submit request FIFO
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:46 +08:00
Haomai Wang
4689bd2772 NVMEDevice: Fix static method
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:44 +08:00
Haomai Wang
4e85f5ec9b NVMEDevice: fix unknown serial number problem
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-01 22:00:44 +08:00