]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
6 years agomgr/ansible: RGW service
Juan Miguel Olmo Martínez [Mon, 10 Jun 2019 10:27:02 +0000 (12:27 +0200)]
mgr/ansible: RGW service

RGW basic implementation

- Add one or more hosts running RGW daemon
- Allow to specify a multisite/multizone settings using a config file.
- Remove RGW daemon used to provide service for one zone.

Comments:

I see two use cases:

a. Install/Remove in new hosts the RGW daemons and configure them.
b. RGW management (CRUD zone groups/zones ... etc)

But the current orchestrators API seems to be oriented only to cover use case b.

What i have implemented in this moment covers use case a, despite the API is not friendly with that. I have added the possibility of getting a config file to specify hosts and settings.

rgw-admin commands covers all the functionality for managing RGW... So probably it does not have too much sense to implement anything around RGW management in orchestrators (use case b).

My doubts are:

1. The current API covers RGW management using a default configuration (user cannot configure multisite/multizone). Is this ok?

2. Shoud we add more API endpoints to allow add RGW nodes/hosts and manage the RGW config?

---------------------------------

Modifications suggested by @epuerta:
 Mainly:
 - New Inventory group class for manage hosts in Ansible Roles inside Ansible Inventory.
 - A redundant plus sign was found by @epuerta

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
6 years agoMerge pull request #28267 from flumm/ceph-volume-zap-fix
Alfredo Deza [Fri, 12 Jul 2019 11:58:08 +0000 (07:58 -0400)]
Merge pull request #28267 from flumm/ceph-volume-zap-fix

ceph-volume lvm.zap fix cleanup for db partitions

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agomgr/dashboard: Add nolockdep option to e2e-script (#28981)
Lenz Grimmer [Fri, 12 Jul 2019 11:05:05 +0000 (13:05 +0200)]
mgr/dashboard: Add nolockdep option to e2e-script (#28981)

mgr/dashboard: Add nolockdep option to e2e-script

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #28957 from mgerstner/sfw2
Nathan Cutler [Fri, 12 Jul 2019 10:09:54 +0000 (12:09 +0200)]
Merge pull request #28957 from mgerstner/sfw2

rpm,etc/sysconfig: remove SuSEfirewall2 support

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agopackaging: remove SuSEfirewall2 support
Matthias Gerstner [Wed, 10 Jul 2019 11:00:14 +0000 (13:00 +0200)]
packaging: remove SuSEfirewall2 support

removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced
by firewalld, see [1].

[1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

Fixes: http://tracker.ceph.com/issues/40738
Signed-off-by: Matthias Gerstner <matthias.gerstner@suse.de>
6 years agoMerge pull request #28802 from lixiaoy1/cmake_pmdk
Kefu Chai [Fri, 12 Jul 2019 06:55:34 +0000 (14:55 +0800)]
Merge pull request #28802 from lixiaoy1/cmake_pmdk

cmake: pmem/pmdk changes to cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28984 from tchaikov/wip-cmake-rebuild-cleanup
Kefu Chai [Fri, 12 Jul 2019 06:54:30 +0000 (14:54 +0800)]
Merge pull request #28984 from tchaikov/wip-cmake-rebuild-cleanup

cmake: use BUILD_ALWAYS for rebuilding external project

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #29002 into master
Sage Weil [Fri, 12 Jul 2019 00:00:54 +0000 (19:00 -0500)]
Merge PR #29002 into master

* refs/pull/29002/head:
qa/tasks/ceph_deploy: do not rely on ceph-create-keys

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
6 years agoMerge PR #28643 into master
Patrick Donnelly [Thu, 11 Jul 2019 22:05:41 +0000 (15:05 -0700)]
Merge PR #28643 into master

* refs/pull/28643/head:
doc: removed old EOL Ceph versions from the list
doc: added openSUSE distros to the list and updated the releases
doc: updated the OS recommendations to reflect the Nautilus release

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #28944 into master
Sage Weil [Thu, 11 Jul 2019 21:28:34 +0000 (16:28 -0500)]
Merge PR #28944 into master

* refs/pull/28944/head:
qa/workunits/rados/test_cache_pool.sh: s/forward/proxy/
qa/workunits/cephtool/test.sh: cache forward mode is no longer allowed
mon/OSDMonitor: forward -> proxy, readforward -> readproxy on octopus
mon/OSDMonitor: disallow FORWARD and READFORWARD cache modes
osd: do proxy when in forward/readforward cache modes

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoqa/tasks/ceph_deploy: do not rely on ceph-create-keys
Sage Weil [Thu, 11 Jul 2019 16:15:55 +0000 (11:15 -0500)]
qa/tasks/ceph_deploy: do not rely on ceph-create-keys

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28426 from mkogan1/wip-rgw-40183
Casey Bodley [Thu, 11 Jul 2019 15:18:32 +0000 (11:18 -0400)]
Merge pull request #28426 from mkogan1/wip-rgw-40183

rgw: save an unnecessary copy of RGWEnv

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge PR #28969 into master
Sage Weil [Thu, 11 Jul 2019 14:33:28 +0000 (09:33 -0500)]
Merge PR #28969 into master

* refs/pull/28969/head:
qa/tasks/ceph_manager: make is_{clean,recovered,active_or_down} less racy

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #28943 into master
Sage Weil [Thu, 11 Jul 2019 14:32:59 +0000 (09:32 -0500)]
Merge PR #28943 into master

* refs/pull/28943/head:
qa: stop testing on 16.04 xenial

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: do not always build brotli or zstd
Kefu Chai [Thu, 11 Jul 2019 11:31:47 +0000 (19:31 +0800)]
cmake: do not always build brotli or zstd

these two libraries are relatively stable, and Ceph developers are not
likely to hack them. so no need to rebuild them every time.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake/modules/BuildRocksDB.cmake: use BUILD_ALWAYS
Kefu Chai [Thu, 11 Jul 2019 11:30:26 +0000 (19:30 +0800)]
cmake/modules/BuildRocksDB.cmake: use BUILD_ALWAYS

this option was introduced by cmake 3.1, and we require cmake 3.5.1, so
we can use it without using the homebrew solution.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Add nolockdep option to e2e-script
Laura Paduano [Thu, 11 Jul 2019 10:38:49 +0000 (12:38 +0200)]
mgr/dashboard: Add nolockdep option to e2e-script

Adding the --nolockdep option to the vstart command
seems to fix the current issue where vstart just
hangs at the dashboard ac-user-create command.
Hopefully we can get the e2e tests to run again
in Jenkins by applying this change.
Note that this might be a workaround only.

Fixes: https://tracker.ceph.com/issues/40688
Signed-off-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #28766 from liewegas/wip-clean-out-nibblewise
Kefu Chai [Thu, 11 Jul 2019 10:30:03 +0000 (18:30 +0800)]
Merge pull request #28766 from liewegas/wip-clean-out-nibblewise

osd/osd_types: drop last_backfill_bitwise member

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28801 from ideepika/wip-update-dump-historic-ops
Kefu Chai [Thu, 11 Jul 2019 10:27:52 +0000 (18:27 +0800)]
Merge pull request #28801 from ideepika/wip-update-dump-historic-ops

osd: add duration field to dump_historic_ops method

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
6 years agomgr/dashboard: fix icons variable assignment (#28961)
Lenz Grimmer [Thu, 11 Jul 2019 10:24:12 +0000 (12:24 +0200)]
mgr/dashboard: fix icons variable assignment (#28961)

mgr/dashboard: fix icons variable assignment

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Update bootstrap (#25188)
Lenz Grimmer [Thu, 11 Jul 2019 10:15:20 +0000 (12:15 +0200)]
mgr/dashboard: Update bootstrap (#25188)

mgr/dashboard: Update bootstrap

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #28797 from simon-rock/simon_bug_fix
Kefu Chai [Thu, 11 Jul 2019 08:12:00 +0000 (16:12 +0800)]
Merge pull request #28797 from simon-rock/simon_bug_fix

mgr/status: fix 'ceph osd status' ZeroDivisionError

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28687 from hsiang41/mgr/diskprediction_cloud_service_unavailable
Kefu Chai [Thu, 11 Jul 2019 07:57:59 +0000 (15:57 +0800)]
Merge pull request #28687 from hsiang41/mgr/diskprediction_cloud_service_unavailable

mgr/diskprediction_cloud: Service unavailable

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28950 from tchaikov/wip-corpus-gen
Kefu Chai [Thu, 11 Jul 2019 07:32:05 +0000 (15:32 +0800)]
Merge pull request #28950 from tchaikov/wip-corpus-gen

script,doc: add gen-corpus.sh

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agodoc/dev/corpus.rst: updates to match gen-corpus.sh
Kefu Chai [Wed, 10 Jul 2019 04:39:07 +0000 (12:39 +0800)]
doc/dev/corpus.rst: updates to match gen-corpus.sh

* to reference the script to generate corpus
* use qa/workunits/rgw/run-s3tests.sh for producing rgw corpus

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoscript: add gen-corpus.sh
Kefu Chai [Wed, 3 Jul 2019 13:08:55 +0000 (21:08 +0800)]
script: add gen-corpus.sh

to automate generation of ceph-object-corpus objects. it facilitate the
process of cutting a new release

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28070 from badone/wip-lazy-omap-test
Brad Hubbard [Wed, 10 Jul 2019 23:52:12 +0000 (09:52 +1000)]
Merge pull request #28070 from badone/wip-lazy-omap-test

Wip lazy omap test

Reviewed-by: Greg Farnum gfarnum@redhat.com
6 years agoqa/workunits/rados/test_cache_pool.sh: s/forward/proxy/
Sage Weil [Wed, 10 Jul 2019 14:58:39 +0000 (09:58 -0500)]
qa/workunits/rados/test_cache_pool.sh: s/forward/proxy/

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/workunits/cephtool/test.sh: cache forward mode is no longer allowed
Sage Weil [Wed, 10 Jul 2019 14:58:23 +0000 (09:58 -0500)]
qa/workunits/cephtool/test.sh: cache forward mode is no longer allowed

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: forward -> proxy, readforward -> readproxy on octopus
Sage Weil [Tue, 9 Jul 2019 16:13:57 +0000 (11:13 -0500)]
mon/OSDMonitor: forward -> proxy, readforward -> readproxy on octopus

Adjust cache modes on upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomon/OSDMonitor: disallow FORWARD and READFORWARD cache modes
Sage Weil [Tue, 9 Jul 2019 16:09:21 +0000 (11:09 -0500)]
mon/OSDMonitor: disallow FORWARD and READFORWARD cache modes

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28949 from adamemerson/wip-40416
Casey Bodley [Wed, 10 Jul 2019 17:25:45 +0000 (13:25 -0400)]
Merge pull request #28949 from adamemerson/wip-40416

Don't crash on copy when metadata directive not supplied

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoqa/tasks/ceph_manager: make is_{clean,recovered,active_or_down} less racy
Sage Weil [Wed, 10 Jul 2019 16:04:49 +0000 (11:04 -0500)]
qa/tasks/ceph_manager: make is_{clean,recovered,active_or_down} less racy

Currently these can be thrown off if the cluster is creating or removing
pools at the same time.  Fix by taking a single snapshot of the pg stats
and based our judgement on that.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #28940 into master
Sage Weil [Wed, 10 Jul 2019 15:53:14 +0000 (10:53 -0500)]
Merge PR #28940 into master

* refs/pull/28940/head:
common/config: Remove unused code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: Add the support to use system PMDK library
lixiaoy1 [Wed, 10 Jul 2019 15:30:47 +0000 (11:30 -0400)]
cmake: Add the support to use system PMDK library

Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
6 years agocmake: move pmdk build script to Buildpmem.cmake
lixiaoy1 [Wed, 10 Jul 2019 15:20:48 +0000 (11:20 -0400)]
cmake: move pmdk build script to Buildpmem.cmake

Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
6 years agocmake: update HAVE_PMEM to HAVE_BLUESTORE_PMEM
lixiaoy1 [Wed, 10 Jul 2019 15:10:27 +0000 (11:10 -0400)]
cmake: update HAVE_PMEM to HAVE_BLUESTORE_PMEM

Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
6 years agomgr/dashboard: Use bootstrap custom-select
Tiago Melo [Fri, 3 May 2019 15:16:29 +0000 (15:16 +0000)]
mgr/dashboard: Use bootstrap custom-select

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Use ng-bootstrap-form-validation
Tiago Melo [Thu, 2 May 2019 14:17:09 +0000 (14:17 +0000)]
mgr/dashboard: Use ng-bootstrap-form-validation

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Replace awesome-boostrap-checkbox with bootstrap
Tiago Melo [Tue, 2 Apr 2019 14:43:56 +0000 (14:43 +0000)]
mgr/dashboard: Replace awesome-boostrap-checkbox with bootstrap

Fixes: http://tracker.ceph.com/issues/36400
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Switch ng2-toastr for ngx-toastr
Tiago Melo [Tue, 2 Apr 2019 14:39:05 +0000 (14:39 +0000)]
mgr/dashboard: Switch ng2-toastr for ngx-toastr

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update bootstrap
Tiago Melo [Mon, 12 Nov 2018 14:37:40 +0000 (14:37 +0000)]
mgr/dashboard: Update bootstrap

Fixes: http://tracker.ceph.com/issues/39326
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoqa: stop testing on 16.04 xenial
Sage Weil [Tue, 9 Jul 2019 15:43:01 +0000 (10:43 -0500)]
qa: stop testing on 16.04 xenial

Note that the hammer old-client test will now *only* run on centos.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28863 from votdev/fix_various_issues
Lenz Grimmer [Wed, 10 Jul 2019 14:56:59 +0000 (16:56 +0200)]
Merge pull request #28863 from votdev/fix_various_issues

mgr/dashboard: Fix issues in user form

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agorgw: Don't crash on copy when metadata directive not supplied
Adam C. Emerson [Tue, 9 Jul 2019 21:34:51 +0000 (17:34 -0400)]
rgw: Don't crash on copy when metadata directive not supplied

Fixes: http://tracker.ceph.com/issues/40416
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agomgr/dashboard: fix icons variable assignment
Tatjana Dehler [Wed, 10 Jul 2019 14:40:21 +0000 (16:40 +0200)]
mgr/dashboard: fix icons variable assignment

Fixes: https://tracker.ceph.com/issues/40717
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #28897 from ceph/fix-dashboard-hacking_link
Lenz Grimmer [Wed, 10 Jul 2019 13:50:15 +0000 (15:50 +0200)]
Merge pull request #28897 from ceph/fix-dashboard-hacking_link

mgr/dashboard: Fix link format to HACKING.rst

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #28372 from pcuzner/add-mgr-metadata
Boris Ranto [Wed, 10 Jul 2019 05:07:20 +0000 (07:07 +0200)]
Merge pull request #28372 from pcuzner/add-mgr-metadata

mgr/prometheus: Add mgr metdata to prometheus exporter module

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
6 years agoMerge PR #28941 into master
Sage Weil [Wed, 10 Jul 2019 01:52:19 +0000 (20:52 -0500)]
Merge PR #28941 into master

* refs/pull/28941/head:
osd: scrub_purged_snaps: fix log message tense
osd/SnapMapper: reset iterators at finish of run()
osd/SnapMapper: drop useless _init()
osd: do not hold osd_lock while queueing stray purged_snaps
osd: more debug output during scrub hang

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoosd: Modify lazy omap stats to only show one copy
Brad Hubbard [Tue, 9 Jul 2019 05:03:24 +0000 (15:03 +1000)]
osd: Modify lazy omap stats to only show one copy

Only show stats from the primary to get more in line with other pg stats
representations.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoAdd mgr metdata to prometheus exporter module
Paul Cuzner [Mon, 3 Jun 2019 22:16:10 +0000 (10:16 +1200)]
Add mgr metdata to prometheus exporter module

Add's metadata and status information for the mgr
daemon(s), together with the status of the mgr
modules.

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
6 years agotests: Add test for lazy omap stat collection
Brad Hubbard [Mon, 4 Mar 2019 08:12:27 +0000 (18:12 +1000)]
tests: Add test for lazy omap stat collection

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoMerge pull request #28910 from yuvalif/wip-yuval-pubsub-test-fixes
Casey Bodley [Tue, 9 Jul 2019 20:24:56 +0000 (16:24 -0400)]
Merge pull request #28910 from yuvalif/wip-yuval-pubsub-test-fixes

rgw/pubsub: tests enhancements and fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #28931 from yuriw/wip-yuriw-40452-master
Yuri Weinstein [Tue, 9 Jul 2019 19:54:07 +0000 (12:54 -0700)]
Merge pull request #28931 from yuriw/wip-yuriw-40452-master

qa/tests: added ragweed coverage to stress-split* upgrade suites

6 years agoMerge pull request #28932 from yuriw/wip-yuriw-40452-master_2
Yuri Weinstein [Tue, 9 Jul 2019 19:53:52 +0000 (12:53 -0700)]
Merge pull request #28932 from yuriw/wip-yuriw-40452-master_2

qa/tests: added ragweed coverage to stress-split* upgrade suites

6 years agocommon/config: Remove unused code.
Jianpeng Ma [Tue, 9 Jul 2019 18:28:04 +0000 (02:28 +0800)]
common/config: Remove unused code.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
6 years agoosd: scrub_purged_snaps: fix log message tense
Sage Weil [Tue, 9 Jul 2019 17:03:48 +0000 (12:03 -0500)]
osd: scrub_purged_snaps: fix log message tense

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/SnapMapper: reset iterators at finish of run()
Sage Weil [Tue, 9 Jul 2019 17:03:35 +0000 (12:03 -0500)]
osd/SnapMapper: reset iterators at finish of run()

These iterators implicitly hold locks in FileStore, which can lead to a
deadlock if they are still alive and the caller tries to take new locks.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/SnapMapper: drop useless _init()
Sage Weil [Tue, 9 Jul 2019 16:59:48 +0000 (11:59 -0500)]
osd/SnapMapper: drop useless _init()

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27965 into master
Sage Weil [Tue, 9 Jul 2019 16:19:12 +0000 (11:19 -0500)]
Merge PR #27965 into master

* refs/pull/27965/head:
doc: remove recommendation for kernel.pid_max

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoosd: do proxy when in forward/readforward cache modes
Sage Weil [Tue, 9 Jul 2019 16:06:42 +0000 (11:06 -0500)]
osd: do proxy when in forward/readforward cache modes

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #17614 into master
Sage Weil [Tue, 9 Jul 2019 15:38:55 +0000 (10:38 -0500)]
Merge PR #17614 into master

* refs/pull/17614/head:
doc: cover more cache modes in rados/operations/cache-tiering.rst

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agodoc: cover more cache modes in rados/operations/cache-tiering.rst
Nathan Cutler [Sat, 9 Sep 2017 08:46:00 +0000 (10:46 +0200)]
doc: cover more cache modes in rados/operations/cache-tiering.rst

Fixes: http://tracker.ceph.com/issues/14153
Signed-off-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #28850 from liewegas/wip-40634
Kefu Chai [Tue, 9 Jul 2019 14:20:43 +0000 (22:20 +0800)]
Merge pull request #28850 from liewegas/wip-40634

mon/AuthMonitor: fix initial creation of rotating keys

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #28758 into master
Sage Weil [Tue, 9 Jul 2019 13:24:45 +0000 (08:24 -0500)]
Merge PR #28758 into master

* refs/pull/28758/head:
mgr/progress: Created first unit test for progress module
mgr/progress: makes changes to unit test PR
mgr/progress: Created first unit test for progress module

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #28842 into master
Sage Weil [Tue, 9 Jul 2019 13:24:18 +0000 (08:24 -0500)]
Merge PR #28842 into master

* refs/pull/28842/head:
test/msgr: make ceph_perf_msgr_client/server work.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoosd: do not hold osd_lock while queueing stray purged_snaps
Sage Weil [Tue, 9 Jul 2019 13:12:04 +0000 (08:12 -0500)]
osd: do not hold osd_lock while queueing stray purged_snaps

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd: more debug output during scrub hang
Sage Weil [Tue, 9 Jul 2019 13:10:09 +0000 (08:10 -0500)]
osd: more debug output during scrub hang

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28873 from albIN7/liv3
Casey Bodley [Tue, 9 Jul 2019 12:45:05 +0000 (08:45 -0400)]
Merge pull request #28873 from albIN7/liv3

rgw: fix bugs in listobjectsv1

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge pull request #28913 from cyx1231st/wip-seastar-msgr-fix-perfasync
Kefu Chai [Tue, 9 Jul 2019 09:20:58 +0000 (17:20 +0800)]
Merge pull request #28913 from cyx1231st/wip-seastar-msgr-fix-perfasync

test/crimson: fix interpretability with perf_async_msgr

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: set python binary for teuthology venv (#28914)
Lenz Grimmer [Tue, 9 Jul 2019 09:01:18 +0000 (11:01 +0200)]
mgr/dashboard: set python binary for teuthology venv (#28914)

mgr/dashboard: set python binary for teuthology venv

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agorgw: fix bugs in listobjectsv1
albIN7 [Wed, 3 Jul 2019 19:26:50 +0000 (00:56 +0530)]
rgw: fix bugs in listobjectsv1

Fixes: https://tracker.ceph.com/issues/40663
Signed-off-by: Albin Antony <aantony@redhat.com>
6 years agoMerge pull request #28920 from tchaikov/wip-cmake-pybind
Kefu Chai [Tue, 9 Jul 2019 08:05:44 +0000 (16:05 +0800)]
Merge pull request #28920 from tchaikov/wip-cmake-pybind

cmake: avoid rebuilding extensions, and using python-config

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #28884 from DimStar77/depchain
Kefu Chai [Tue, 9 Jul 2019 08:04:09 +0000 (16:04 +0800)]
Merge pull request #28884 from DimStar77/depchain

ceph.spec.in: Drop systemd BuildRequires in case of building for SUSE

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #28843 from tchaikov/wip-armhf-build
Kefu Chai [Tue, 9 Jul 2019 08:03:35 +0000 (16:03 +0800)]
Merge pull request #28843 from tchaikov/wip-armhf-build

cmake, pybind: fix build on armhf

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agomgr/dashboard: Fix npm vulnerabilities (#28903)
Lenz Grimmer [Tue, 9 Jul 2019 07:19:21 +0000 (09:19 +0200)]
mgr/dashboard: Fix npm vulnerabilities (#28903)

mgr/dashboard: Fix npm vulnerabilities

Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: set python binary for teuthology venv
alfonsomthd [Tue, 9 Jul 2019 07:03:09 +0000 (09:03 +0200)]
mgr/dashboard: set python binary for teuthology venv

* Added env. var. to set python binary when creating teuthology venv.
* venv/bin/activate: run after setting PATH (as it does the last PATH export).

Signed-off-by: alfonsomthd <almartin@redhat.com>
6 years agoMerge pull request #28888 from joscollin/wip-fix-typo
Kefu Chai [Tue, 9 Jul 2019 03:26:13 +0000 (11:26 +0800)]
Merge pull request #28888 from joscollin/wip-fix-typo

doc: fix typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #28848 into master
Sage Weil [Mon, 8 Jul 2019 22:46:06 +0000 (17:46 -0500)]
Merge PR #28848 into master

* refs/pull/28848/head:
common/blkdev: only pay attention to first 2 bits of smartctl return code
common/blkdev: include stdout and stderr on join error
common/blkdev: fix syntax of error message
common/blkdev: fix smartctl output in error path
common/blkdev: include bad json from smartctl when unparseable
mgr/devicehealth: sort keys when dumping metrics

Reviewed-by: Dan Mick <dmick@redhat.com>
6 years agoMerge PR #28052 into master
Sage Weil [Mon, 8 Jul 2019 21:45:16 +0000 (16:45 -0500)]
Merge PR #28052 into master

* refs/pull/28052/head:
doc/rgw: document use of 'realm pull' instead of 'period pull'

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agoqa/tests: added ragweed coverage to stress-split* upgrade suites
Yuri Weinstein [Mon, 8 Jul 2019 19:51:51 +0000 (12:51 -0700)]
qa/tests: added ragweed coverage to stress-split* upgrade suites

added ceph config set global bluestore_warn_on_legacy_statfs fals
changed user "foo" to "ragweed" in ragweed.py

Fixes: http://tracker.ceph.com/issues/40452
Fices: http://tracker.ceph.com/issues/40467
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoqa/tests: added ragweed coverage to stress-split* upgrade suites
Yuri Weinstein [Wed, 19 Jun 2019 19:31:44 +0000 (12:31 -0700)]
qa/tests: added ragweed coverage to stress-split* upgrade suites

added ceph config set global bluestore_warn_on_legacy_statfs fals
chnaged user "foo" to "ragweed" in ragweed.py

Fixes: http://tracker.ceph.com/issues/40452
Fices: http://tracker.ceph.com/issues/40467
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
(cherry picked from commit 5e7e1f382ffbe1515ce6629dda480041260af448)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #28791 from dcasier/bug-40100-2
Andrew Schoen [Mon, 8 Jul 2019 19:20:43 +0000 (14:20 -0500)]
Merge pull request #28791 from dcasier/bug-40100-2

Return an error, for Bluestore OSD, if WAL or DB are defined in the tags of the OSD but not present on the system

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge pull request #28152 from alimaredia/wip-rgw-thread-yield-context-prepare-bucket...
Casey Bodley [Mon, 8 Jul 2019 19:16:32 +0000 (15:16 -0400)]
Merge pull request #28152 from alimaredia/wip-rgw-thread-yield-context-prepare-bucket-index-transaction

rgw: thread option_yield through bucket index transaction prepare

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agorgw: change optional_yield to null_yield
Ali Maredia [Sat, 8 Jun 2019 21:14:45 +0000 (17:14 -0400)]
rgw: change optional_yield to null_yield

In copy_obj_data() in the AtomicObjectProcessor
constructor

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agorgw: thread yield context through writing of head obj
Ali Maredia [Thu, 16 May 2019 22:16:47 +0000 (18:16 -0400)]
rgw: thread yield context through writing of head obj

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agorgw: thread option_yield through bucket index transaction prepare
Ali Maredia [Thu, 2 May 2019 20:49:37 +0000 (16:49 -0400)]
rgw: thread option_yield through bucket index transaction prepare

Signed-off-by: Ali Maredia <amaredia@redhat.com>
6 years agopybind: use distutils.sysconfig for compiling flags
Kefu Chai [Mon, 8 Jul 2019 14:08:57 +0000 (22:08 +0800)]
pybind: use distutils.sysconfig for compiling flags

this allows maintainer to override the compiling flags when
cross-compiling Ceph.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28823 from cbodley/wip-qa-rgw-swift-server
Casey Bodley [Mon, 8 Jul 2019 15:16:42 +0000 (11:16 -0400)]
Merge pull request #28823 from cbodley/wip-qa-rgw-swift-server

qa/rgw: more fixes for swift task

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
6 years agomgr/dashboard: Silence Alertmanager alerts (#27277)
Lenz Grimmer [Mon, 8 Jul 2019 14:31:18 +0000 (16:31 +0200)]
mgr/dashboard: Silence Alertmanager alerts (#27277)

mgr/dashboard: Silence Alertmanager alerts

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agotest/crimson: default bind to 127.0.0.1 for perf
Yingxin Cheng [Mon, 8 Jul 2019 11:36:00 +0000 (19:36 +0800)]
test/crimson: default bind to 127.0.0.1 for perf

Async-messenger's accepting in v2 will fail if it binds to a blank ip.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agotest/crimson: add v1-crc-enabled for msgr perf
Yingxin Cheng [Mon, 8 Jul 2019 11:34:32 +0000 (19:34 +0800)]
test/crimson: add v1-crc-enabled for msgr perf

* fix a bug that perf_crimson_msgr and perf_async_msgr cannot connect
  to each other in v1 due to CRC checks;
* add an option to enable v1 CRC checks, because they are enabled in
  real world, and we might want to see the performance impact;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agotest/crimson: track msg with tid in perf_async_msgr
Yingxin Cheng [Mon, 8 Jul 2019 11:33:35 +0000 (19:33 +0800)]
test/crimson: track msg with tid in perf_async_msgr

fix perf_async_msgr by setting tid for perf_crimson_msgr to track
messages.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agoMerge PR #28901 into master
Sage Weil [Mon, 8 Jul 2019 13:36:05 +0000 (08:36 -0500)]
Merge PR #28901 into master

* refs/pull/28901/head:
qa/standalone/scrub/osd-scrub-repair: fix 'scrub ok' grep
osd/osd_types: remove 'snap_context' from SnapSet::dump()

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agocmake/modules/Distutils.cmake: add setup as a dependency
Kefu Chai [Mon, 8 Jul 2019 12:15:39 +0000 (20:15 +0800)]
cmake/modules/Distutils.cmake: add setup as a dependency

so the extension will be rebuilt if setup.py is updated

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake/modules/Distutils.cmake: avoid rebuilding cython ext
Kefu Chai [Mon, 8 Jul 2019 12:06:06 +0000 (20:06 +0800)]
cmake/modules/Distutils.cmake: avoid rebuilding cython ext

use the combination of add_custom_command() and add_custom_target() to
build cython extensions to avoid rebuilding the cython extension
everytime we run "make"

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake/modules/Distutils.cmake: add byproduct
Kefu Chai [Mon, 8 Jul 2019 11:27:37 +0000 (19:27 +0800)]
cmake/modules/Distutils.cmake: add byproduct

so add_custom_target() has better idea what is generated. if any target
will use it, it can be used as a dependency.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: add an arg for name of cython extension
Kefu Chai [Mon, 8 Jul 2019 11:32:49 +0000 (19:32 +0800)]
cmake: add an arg for name of cython extension

so we can deduce the path of cython extension

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: fix closing tag in app.component.html (#28899)
Lenz Grimmer [Mon, 8 Jul 2019 11:16:24 +0000 (13:16 +0200)]
mgr/dashboard: fix closing tag in app.component.html (#28899)

mgr/dashboard: fix closing tag in app.component.html

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Upgrade ceph-iscsi config to version 10 (#28720)
Lenz Grimmer [Mon, 8 Jul 2019 11:10:08 +0000 (13:10 +0200)]
mgr/dashboard: Upgrade ceph-iscsi config to version 10 (#28720)

mgr/dashboard: Upgrade ceph-iscsi config to version 10

Reviewed-by: Jason Dillaman <dillaman@redhat.com>