Commit Graph

82548 Commits

Author SHA1 Message Date
Nathan Cutler
82d4896bab tools: rados: drop --force option
The global -f / --force option was introduced by
3425a8e503 for use in import/export.

After being rewritten by 3425a8e503, the
import/export no longer uses --force.

I examined the rados tool source code and the test_rados_tool.sh
script, with the conclusion that the rados tool does not use the
--force option at all. So it's dead code ripe for pruning.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-28 12:17:15 +01:00
Nathan Cutler
182b519c9b tools: rados: make -f be --format instead of --force
Fixes: http://tracker.ceph.com/issues/15904
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-28 12:13:22 +01:00
Nathan Cutler
89385a2fb6 doc: mention rados -f change in PendingReleaseNotes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-28 12:12:32 +01:00
Yuri Weinstein
eb55a14e08
Merge pull request #19828 from xxhdx1985126/wip_xxh_trackedop_tracking_start
common: mark events of TrackedOp outside its constructor

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-01-26 14:40:31 -08:00
Yuri Weinstein
e59258943b
Merge pull request #20022 from badone/wip-OSDMonitor-error-message-outputs
mon/OSDMonitor: Fix OSDMonitor error message outputs

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-26 14:37:47 -08:00
Yuri Weinstein
dae4d67e2c
Merge pull request #20115 from liewegas/wip-features
mon: fix structure of 'features' command

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-26 14:37:09 -08:00
Sage Weil
f67bd47d0a
Merge pull request #20096 from myoungwon/wip-manifest-two-pool-test
src/test/osd: add two pool test for manifest objects

Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-26 14:41:14 -06:00
Nathan Cutler
31c605846a
Merge pull request #20018 from smithfarm/wip-python3-only
build/ops: rpm: conditionalize Python 2 availability to enable Ceph build on Python 3-only system

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2018-01-26 19:29:14 +01:00
Kefu Chai
7fe6917ba6
Merge pull request #20134 from tchaikov/wip-spdk-aarch64
spdk: update SPDK to fix the build failure on aarch64

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-27 00:29:23 +08:00
myoungwon oh
94e7b14205 src/test/osd/TestRados: add a comment
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-26 23:59:16 +09:00
Nathan Cutler
e544f14969
Merge pull request #20064 from tchaikov/wip-cmake-py3
cmake: enabled py3 only build

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 14:45:35 +01:00
Tone Zhang
95a83580df spdk: enable SPDK on AArch64 by default
Enable SPDK in Ceph on AArch64 by default.

Change-Id: I81ad8e0b860968d62fd2740ae04923f477dab75a
Signed-off-by: Tone Zhang <tone.zhang@arm.com>
2018-01-26 21:05:02 +08:00
Kefu Chai
539e046bd0 spdk: update SPDK to fix the build failure on aarch64
to include 29be88fab6bb026df27c93ee89c61965b3c43133 which addresses a
build failure on aarch64.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-26 20:55:51 +08:00
Kefu Chai
4600307592 mgr: be compatible with py3
so ceph-mgr can be compiled using py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-26 20:24:54 +08:00
Kefu Chai
9e45edaab2 cmake: build ceph-mgr with specified version of python
* add an option named "MGR_PYTHON_VERSION", so we can build ceph-mgr
  which use py3 for running plugins
* also drop the line to specify the "Python_ADDITIONAL_VERSIONS", because
  2.7 is listed by all the the FindPythonInterp and FindPythonLibs in
  cmake 2.8.12 and up.
* use ${MGR_PYTHON_EXECUTABLE} for holding the path to the python
  interpreter used by mgr. because this variable might be overwritten by
  "find_package(PythonInterp 2 REQUIRED)" when checking for building env
  of pybinding for python2.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-26 20:24:54 +08:00
Kefu Chai
8b21ba9242 cmake: add WITH_PYTHON2 option
* add WITH_PYTHON2 option, so we can build python3 bindings only.
* change the default value of WITH_PYTHON3 option to "OFF", as the
option() command in cmake only allow the initial value to be "ON" or
"OFF". we could use a cached string for this option, but i think it
would be more explicit to continue using the option() command.
* fix the installation dir of "ceph_rest_api.py". please note, we still
have a *default* python version, which is specified by the last element
of ${py_vers}. for instance, ${PYTHON_VERSION} will be 3 if ${py_vers}
is 2;3. in this change, 2 is still the default python version, if both
WITH_PYTHON2 and WITH_PYTHON3 are enabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-26 20:06:21 +08:00
John Spray
367c462882
Merge pull request #19922 from Rubab-Syed/performance_counter_browser
mgr/dashboard: performance counter browsers

Reviewed-by: John Spray <john.spray@redhat.com>
2018-01-26 11:05:28 +00:00
Kefu Chai
c641b205a8
Merge pull request #20009 from Liuchang0812/fix-22727
mon: do not use per_pool_sum_delta to show recovery summary

Reviewed-by: Varada Kari <varada.kari@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-26 15:30:11 +08:00
Kefu Chai
73cc02d328
Merge pull request #20048 from jcsp/wip-22096
mon: fix mgr using auth_client_required policy

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-26 15:28:02 +08:00
myoungwon oh
a1d6304442 qa/suites/rados/thrash/workloads: add paramters to support two pools
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2018-01-26 16:20:01 +09:00
Nathan Cutler
ea5ac3cdde build/ops: rpm: correct Group for python libraries
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
ca6c92b3ec make-dist: add OBS-specific release suffix on SUSE
This is needed to prevent OBS from overriding the nice release number generated
by make-dist.

For more information, see
https://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks#How_to_control_a_Release_number_of_resulted_packages

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
fab20559e7 cmake: empty INSTALL_RPATH for libceph_zstd.so.2.0.0
See 235448879e for explanation.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
d688b23ff8 build/ops: rpm: introduce _python_buildid macro
This eliminates several ugly conditional blocks. This commit also does some
cleanup like dropping the ceph-base runtime dependency on "python", which is
implicit in "python-requests".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
e9e62cbf81 build/ops: rpm: move distro-conditional make check deps
These were in the wrong section.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
5ec2364421 doc: PendingReleaseNotes: python-ceph-compat deprecate/drop
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
c0b7aab381 build/ops: rpm: python3-ceph-argparse only if Python 2 available
The python3-ceph-argparse package is only necessary in environments where
Python 3 might not be available. For distros where Python 3 has become
standard with Python 2 an optional extension (instead of vice versa as
in the current status quo), the files in this package can (and should)
be included in ceph-common directly.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
b2d45578e7 build/ops: rpm: package byte-compiled ceph-rest-api
This is only necessary on Python 3-only systems.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Nathan Cutler
661ccdbaa1 build/ops: rpm: conditionalize Python 2 availability
Not all build targets have Python 2 available. Allow the build
to succeed on pure Python 3 systems.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-26 07:42:18 +01:00
Kefu Chai
2d072dc543
Merge pull request #19994 from runsisi/wip-objecter-cleanup
objecter: minor cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-26 14:36:28 +08:00
Kefu Chai
4233cc02d4
Merge pull request #19651 from yanghonggang/master
mon/OSDMonitor.cc: fix expected_num_objects interpret error

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-26 14:34:11 +08:00
Mykola Golub
023759c7c1
Merge pull request #20124 from dillaman/wip-devstack
qa/workunits/rbd: switch devstack to pike release

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-26 07:41:00 +02:00
Mykola Golub
a2210912a5
Merge pull request #20105 from dillaman/wip-22791
librbd: force removal of a snapshot cannot ignore dependent children

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-26 07:32:41 +02:00
Jason Dillaman
7638a207d5
Merge pull request #19320 from vshankar/rbd-mirror-image-map-policy-test
test/rbd-mirror: image map policy test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 22:00:13 -05:00
Jason Dillaman
da7314568e
Merge pull request #19974 from shun-s/wip-accelerate-rbd-snap-create-rm-speed
librbd: cache last index position to accelerate snap create/rm

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 21:59:48 -05:00
Jason Dillaman
6253490445
Merge pull request #19996 from Songweibin/wip-rbd-deep-cp
rbd: add deep cp CLI method

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 21:59:31 -05:00
Rubab-Syed
25ecfbd9cf mgr/dashboard: performance counter browsers
Signed-off-by: Rubab-Syed <rubab.syed21@gmail.com>
2018-01-26 05:20:21 +05:00
Jason Dillaman
7ff1e0bc21 qa/workunits/rbd: switch devstack to pike release
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 18:44:20 -05:00
Patrick Donnelly
19b56486db
Merge PR #20060 into master
* refs/pull/20060/head:
	ceph-debug-docker.sh: allow specifying branch sha1

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-25 14:52:17 -08:00
Jason Dillaman
fcc58ecfeb librbd: force removal of a snapshot cannot ignore dependent children
Fixes: http://tracker.ceph.com/issues/22791
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-25 17:13:12 -05:00
Kefu Chai
52bf90bb10
Merge pull request #20047 from jcsp/wip-prometheus-qa
qa: add new prometheus test to rados/mgr suite

Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 23:43:07 +08:00
Casey Bodley
c42f7632b3
Merge pull request #19596 from qrGitHub/wip-rgw-lc-scheduleNextStartTime
rgw: optimize next start time for lifecycle

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2018-01-25 10:19:21 -05:00
Kefu Chai
50136330fc
Merge pull request #20077 from smithfarm/wip-spdk-fast-forward
spdk: update submodule to more recent upstream

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 23:02:21 +08:00
Kefu Chai
6f725e76d5 cmake: build Boost.python with specified version of python
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-25 22:26:10 +08:00
John Spray
474828ddfc
Merge pull request #19235 from jcsp/wip-mgr-can-run
mgr: improved module loading for error reporting etc

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-25 11:23:36 +00:00
Song Shun
d04ed348a1 librbd: fix snap create/rm may taking long time
fix snap create/rm may taking long time
  http://tracker.ceph.com/issues/22716

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
2018-01-25 18:51:16 +08:00
Nathan Cutler
34cc708c0d
Merge pull request #19122 from smithfarm/wip-lowmem-builder
build/ops: rpm: set build parallelism based on available memory

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2018-01-25 09:36:39 +01:00
Sage Weil
21a3955e7f mon: fix structure of 'features' command
We are dumping an array of objects all called "group"--we need an array
here, not an object (dict) section.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-25 01:32:45 -06:00
Nathan Cutler
e020ec3343 build/ops: cmake: do not guard certain tools with WITH_TESTS
As a follow-up to d7b493a710 we need to stop guarding

    ceph-osdomap-tool
    ceph-monstore-tool

with WITH_TESTS because they have been moved out of the ceph-test package.

(N.B. ceph-kvstore-tool was also moved out of ceph-test, but apparently never
had the guard.)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 23:20:57 +01:00
Nathan Cutler
d048cb2cd8 build/ops: rpm: let ctest benefit from memory calculation
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-01-24 23:20:57 +01:00