]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomgr/dashboard: Use bootstrap custom-select 25188/head
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 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 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 agoAdd mgr metdata to prometheus exporter module 28372/head
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 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 agoosd: scrub_purged_snaps: fix log message tense 28941/head
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 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 17614/head
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 28873/head
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 28914/head
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 28932/head
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 28931/head
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 28152/head
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 28920/head
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 28913/head
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>
6 years agomgr/dashboard: check embedded Grafana dashboard references (#28234)
Lenz Grimmer [Mon, 8 Jul 2019 11:07:53 +0000 (13:07 +0200)]
mgr/dashboard: check embedded Grafana dashboard references (#28234)

mgr/dashboard: check embedded Grafana dashboard references

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agorgw/pubsub: fix amqp topic bug. add disabled end2end push tests 28910/head
Yuval Lifshitz [Tue, 25 Jun 2019 04:44:40 +0000 (07:44 +0300)]
rgw/pubsub: fix amqp topic bug. add disabled end2end push tests

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agorgw/pubsub: fix duplicates due to multiple zone synching
Yuval Lifshitz [Mon, 24 Jun 2019 19:24:17 +0000 (22:24 +0300)]
rgw/pubsub: fix duplicates due to multiple zone synching

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agorgw/pubsub: run pubsub tests even if multisite fails
Yuval Lifshitz [Sun, 23 Jun 2019 14:37:49 +0000 (17:37 +0300)]
rgw/pubsub: run pubsub tests even if multisite fails

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
6 years agoMerge pull request #28859 from tchaikov/wip-40646
Kefu Chai [Sat, 6 Jul 2019 04:40:47 +0000 (12:40 +0800)]
Merge pull request #28859 from tchaikov/wip-40646

ceph.spec.in: pin to gcc-c++-8.2.1

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #28838 from tchaikov/wip-rgw-printf-size_t
J. Eric Ivancich [Fri, 5 Jul 2019 21:20:58 +0000 (17:20 -0400)]
Merge pull request #28838 from tchaikov/wip-rgw-printf-size_t

rgw/rgw_client_io_filters.h: print size_t the portable way

6 years agoMerge pull request #28617 from zhangsw/rgw-fix-lifecycle-tag
J. Eric Ivancich [Fri, 5 Jul 2019 21:20:17 +0000 (17:20 -0400)]
Merge pull request #28617 from zhangsw/rgw-fix-lifecycle-tag

rgw: Object tags shouldn't work with deletemarker or multipart expiration

6 years agoMerge pull request #28256 from theanalyst/rgw-lc-placement-target-fixes
J. Eric Ivancich [Fri, 5 Jul 2019 21:19:41 +0000 (17:19 -0400)]
Merge pull request #28256 from theanalyst/rgw-lc-placement-target-fixes

rgw: lc: check for valid placement target before processing transitions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
6 years agoMerge pull request #28905 from adamemerson/wip-fix-crimson-test-build
Adam C. Emerson [Fri, 5 Jul 2019 20:52:24 +0000 (16:52 -0400)]
Merge pull request #28905 from adamemerson/wip-fix-crimson-test-build

rgw: Fix narrowing conversion error

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #28192 from tianshan/fix_39989
Matt Benjamin [Fri, 5 Jul 2019 20:21:46 +0000 (16:21 -0400)]
Merge pull request #28192 from tianshan/fix_39989

rgw: fix list bucket with start maker and delimiter '/' will miss next object…

6 years agoMerge pull request #28902 from tchaikov/wip-fix-crimson-test-build
Kefu Chai [Fri, 5 Jul 2019 17:52:01 +0000 (01:52 +0800)]
Merge pull request #28902 from tchaikov/wip-fix-crimson-test-build

test/crimson: fix FTBFS

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agotest/crimson: fix FTBFS 28902/head
Kefu Chai [Fri, 5 Jul 2019 14:51:10 +0000 (22:51 +0800)]
test/crimson: fix FTBFS

Connection::send_message(Message*)

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agorgw: Fix narrowing conversion error 28905/head
Adam C. Emerson [Fri, 5 Jul 2019 16:08:18 +0000 (12:08 -0400)]
rgw: Fix narrowing conversion error

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoceph.spec.in,install-dep.sh: pin to gcc-c++-8.2.1 28859/head
Kefu Chai [Wed, 3 Jul 2019 13:20:45 +0000 (21:20 +0800)]
ceph.spec.in,install-dep.sh: pin to gcc-c++-8.2.1

as an intermediate solution before
https://bugzilla.redhat.com/show_bug.cgi?id=1726630 gets fixed.

Fixes: https://tracker.ceph.com/issues/40646
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Fix npm vulnerabilities 28903/head
Tiago Melo [Fri, 5 Jul 2019 14:36:55 +0000 (14:36 +0000)]
mgr/dashboard: Fix npm vulnerabilities

Currently npm audit reports we have 12 vulnerabilities (4 moderate, 8 high).
This will fix most of them, leaving only 1 moderate that still doesn't have a
fix.

Fixes: http://tracker.ceph.com/issues/40677
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #28890 from cyx1231st/wip-seastar-msgr-msgreuse
Kefu Chai [Fri, 5 Jul 2019 13:11:46 +0000 (21:11 +0800)]
Merge pull request #28890 from cyx1231st/wip-seastar-msgr-msgreuse

crimson/net: prevent reusing the sent messages

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson: change to use make_message() 28890/head
Yingxin Cheng [Fri, 5 Jul 2019 14:07:59 +0000 (22:07 +0800)]
crimson: change to use make_message()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: check front_msg correctly during sweep
Yingxin Cheng [Fri, 5 Jul 2019 10:34:05 +0000 (18:34 +0800)]
crimson/net: check front_msg correctly during sweep

In order to check whether the front_msg is unchanged, we need to make sure:
* The sent message is not reused;
* The message to be checked is not freed;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: prevent reusing the sent messages
Yingxin Cheng [Fri, 5 Jul 2019 09:32:41 +0000 (17:32 +0800)]
crimson/net: prevent reusing the sent messages

We are tracking sent messages by seq, so reusing messages will cause
undefined behavior because seq should not be shared between different
messages.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agomgr/dashboard: fix closing tag 28899/head
Tatjana Dehler [Fri, 5 Jul 2019 11:55:38 +0000 (13:55 +0200)]
mgr/dashboard: fix closing tag

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
6 years agoMerge pull request #28858 from callithea/wip-issue-40395
Ricardo Marques [Fri, 5 Jul 2019 11:19:21 +0000 (12:19 +0100)]
Merge pull request #28858 from callithea/wip-issue-40395

mgr/dashboard: Extend E2E test section

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Fix link format 28897/head
Ernesto Puerta [Fri, 5 Jul 2019 10:34:51 +0000 (12:34 +0200)]
mgr/dashboard: Fix link format

Fix link (compodoc section) with wrong format.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
6 years agomgr/dashboard: use mds_mem.dn for fs dentries (#28505)
Lenz Grimmer [Fri, 5 Jul 2019 09:42:01 +0000 (11:42 +0200)]
mgr/dashboard: use mds_mem.dn for fs dentries (#28505)

mgr/dashboard: use mds_mem.dn for fs dentries

Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoPackaging: Drop systemd BuildRequires in case of building for SUSE 28884/head
Dominique Leuenberger [Thu, 4 Jul 2019 15:27:45 +0000 (17:27 +0200)]
Packaging: Drop systemd BuildRequires in case of building for SUSE

There is already pkgconfig(systemd) present, which, in SUSE's packaging,
translates to the same package (systemd.pc is shipped as part of the main
systemd package). Not explicitly mentioning 'systemd' as package name allows
the openSUSE Build Service though to find shortcuts by using the
bootstrap packages, i.e. systemd-mini (ABI/API complete).

Signed-off-by: Dominique Leuenberger <dimstar@opensuse.org>
6 years agoMerge pull request #28876 from tchaikov/wip-cmake-vstart-with-cython_cephfs
Kefu Chai [Fri, 5 Jul 2019 06:00:21 +0000 (14:00 +0800)]
Merge pull request #28876 from tchaikov/wip-cmake-vstart-with-cython_cephfs

cmake: add cython_cephfs to vstart target

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28845 from ifed01/wip-ifed-fix-alloc-dump
Kefu Chai [Fri, 5 Jul 2019 03:28:30 +0000 (11:28 +0800)]
Merge pull request #28845 from ifed01/wip-ifed-fix-alloc-dump

os/bluestore: more smart allocator dump when lacking space for bluefs.

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
6 years agodoc: fix typo 28888/head
Jos Collin [Thu, 4 Jul 2019 08:54:25 +0000 (14:24 +0530)]
doc: fix typo

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agoMerge pull request #28651 from ifed01/wip-ifed-remove-assert-bs-tool
Kefu Chai [Fri, 5 Jul 2019 03:12:53 +0000 (11:12 +0800)]
Merge pull request #28651 from ifed01/wip-ifed-remove-assert-bs-tool

os/bluestore/bluestore-tool: minor fixes around migrate

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
6 years agoMerge pull request #28732 from tchaikov/wip-32bit-size_t
Kefu Chai [Fri, 5 Jul 2019 03:07:05 +0000 (11:07 +0800)]
Merge pull request #28732 from tchaikov/wip-32bit-size_t

osdc/Striper: specialize std::min<>

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #28829 from tchaikov/wip-dmclock-uint
Kefu Chai [Fri, 5 Jul 2019 03:06:09 +0000 (11:06 +0800)]
Merge pull request #28829 from tchaikov/wip-dmclock-uint

dmclock: pick up fix to replace uint

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge pull request #27834 from rzarzynski/wip-nss-drop-cms
Kefu Chai [Fri, 5 Jul 2019 03:03:33 +0000 (11:03 +0800)]
Merge pull request #27834 from rzarzynski/wip-nss-drop-cms

rgw, common, build: drop NSS support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoqa/standalone/scrub/osd-scrub-repair: fix 'scrub ok' grep 28901/head
Sage Weil [Thu, 4 Jul 2019 23:27:37 +0000 (18:27 -0500)]
qa/standalone/scrub/osd-scrub-repair: fix 'scrub ok' grep

The log now also has a 'purged_snaps scrub ok' message that (generally)
precedes the first scrubbed PG.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/osd_types: remove 'snap_context' from SnapSet::dump()
Sage Weil [Thu, 4 Jul 2019 23:24:41 +0000 (18:24 -0500)]
osd/osd_types: remove 'snap_context' from SnapSet::dump()

We no longer have a snaps field with real values, so dumping this as a
"snap_context" is silly.  Instead, just dump the seq.

Adjust qa/standalone/scrub/osd-scrub-repair.sh accordingly.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoos/bluestore/bluestore-tool: omit device from both source and taget 28651/head
Igor Fedotov [Wed, 19 Jun 2019 14:26:25 +0000 (17:26 +0300)]
os/bluestore/bluestore-tool: omit device from both source and taget
lists when migrating.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/bluestore/bluestore-tool: fix error output
Igor Fedotov [Wed, 19 Jun 2019 12:07:19 +0000 (15:07 +0300)]
os/bluestore/bluestore-tool: fix error output

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/bluestore/bluestore-tool: do not assert when migrate command fails.
Igor Fedotov [Wed, 19 Jun 2019 10:55:39 +0000 (13:55 +0300)]
os/bluestore/bluestore-tool: do not assert when migrate command fails.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #28835 from croit/fix-24420
Kefu Chai [Thu, 4 Jul 2019 17:02:32 +0000 (01:02 +0800)]
Merge pull request #28835 from croit/fix-24420

debian/control: add python-routes dependency for dashboard

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Time diff service 27277/head
Stephan Müller [Wed, 27 Mar 2019 12:27:51 +0000 (13:27 +0100)]
mgr/dashboard: Time diff service

The time diff service can easily calculate the difference between two
dates and print it out in a human readable duration format. It also can
calculate a end or start date based on a date and a duration string.

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Allow test selection overwrite
Stephan Müller [Mon, 4 Feb 2019 14:31:25 +0000 (15:31 +0100)]
mgr/dashboard: Allow test selection overwrite

Currently it's not easily possible to mock a selection during table
action tests, that's why I added a method that is used to create the
selection that is used through out the table action scenario tests.
You can simply overwrite it to get a different base object as selection.

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Handle unset settings
Stephan Müller [Fri, 22 Mar 2019 16:47:21 +0000 (17:47 +0100)]
mgr/dashboard: Handle unset settings

It's now easy to deal with unset settings.

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agomgr/dashboard: Silence Alertmanager alerts
Stephan Müller [Fri, 22 Mar 2019 16:44:00 +0000 (17:44 +0100)]
mgr/dashboard: Silence Alertmanager alerts

Now you can silence alerts through the dashboard. You can now create,
recreate, edit and expire a silence. You can create a silence based on a
selected alert.

The silence form will help you create a silence that silences an alert.
It is provided with functionality to check if the silences, that
you are about to create, will or will not match an active alert or even
a rule.

It also provides help choosing the right values for the right chosen
matcher attribute name, through the use of type ahead values.

The dashboard will now use the Prometheus and the Alertmanager API

Fixes: https://tracker.ceph.com/issues/36722
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge PR #28877 into master
Sage Weil [Thu, 4 Jul 2019 14:17:11 +0000 (09:17 -0500)]
Merge PR #28877 into master

* refs/pull/28877/head:
doc/dev/corpus.rst: minor tweaks

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28856 from tchaikov/wip-rbd-nbd-basename
Kefu Chai [Thu, 4 Jul 2019 14:09:51 +0000 (22:09 +0800)]
Merge pull request #28856 from tchaikov/wip-rbd-nbd-basename

tools/rbd_nbd: use POSIX basename()

Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #28875 from tchaikov/wip-mgr-volumes-cleanup
Ramana Raja [Thu, 4 Jul 2019 10:45:47 +0000 (16:15 +0530)]
Merge pull request #28875 from tchaikov/wip-mgr-volumes-cleanup

mgr/volumes: do not import unused module