]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agoqa/workunits/rados: pass options down to test_rados.py
Kefu Chai [Wed, 19 Aug 2020 17:06:10 +0000 (01:06 +0800)]
qa/workunits/rados: pass options down to test_rados.py

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36465 from majianpeng/bluefs-avoid-flush-much-data
Kefu Chai [Fri, 21 Aug 2020 01:57:27 +0000 (09:57 +0800)]
Merge pull request #36465 from majianpeng/bluefs-avoid-flush-much-data

os/bluestore/BlueRocksEnv: Avoid flushing too much data at once.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
4 years agoMerge pull request #36593 from gregsfortytwo/wip-46914
Kefu Chai [Fri, 21 Aug 2020 01:53:25 +0000 (09:53 +0800)]
Merge pull request #36593 from gregsfortytwo/wip-46914

mon: mark pgtemp messages as no_reply more consistenly in preprocess_…

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #36675 from tchaikov/wip-fix-option-typo
Kefu Chai [Fri, 21 Aug 2020 01:52:40 +0000 (09:52 +0800)]
Merge pull request #36675 from tchaikov/wip-fix-option-typo

common/options: fix a typo in option description

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #35613 from changchengx/str_list
Kefu Chai [Fri, 21 Aug 2020 01:51:28 +0000 (09:51 +0800)]
Merge pull request #35613 from changchengx/str_list

use for_each_substr to avoid redundant operation by calling get_str_set

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36573 from changchengx/osdmonitor
Kefu Chai [Fri, 21 Aug 2020 01:50:11 +0000 (09:50 +0800)]
Merge pull request #36573 from changchengx/osdmonitor

mon: use string_veiw to glimpse string and remove unused variable

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36680 from tchaikov/wip-mgr-disk-predict
Kefu Chai [Fri, 21 Aug 2020 01:46:54 +0000 (09:46 +0800)]
Merge pull request #36680 from tchaikov/wip-mgr-disk-predict

pybind/mgr/diskprediction_cloud: remove mgr-diskprediction-cloud

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-By: Zac Dover <zac.dover@gmail.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
4 years agoMerge pull request #36534 from changchengx/formatter
Kefu Chai [Fri, 21 Aug 2020 01:45:03 +0000 (09:45 +0800)]
Merge pull request #36534 from changchengx/formatter

common/Formatter: don't construct string if string_view work

Reviewed-By: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36420 from qwren/qat-compressor
Kefu Chai [Fri, 21 Aug 2020 01:42:18 +0000 (09:42 +0800)]
Merge pull request #36420 from qwren/qat-compressor

compressor: fix compile error for QAT

Reviewed-By: Kefu Chai <kchai@redhat.com>
4 years agomon: mark pgtemp messages as no_reply more consistently in preprocess_pgtemp 36593/head
Greg Farnum [Wed, 12 Aug 2020 23:44:11 +0000 (23:44 +0000)]
mon: mark pgtemp messages as no_reply more consistently in preprocess_pgtemp

If a message is forwarded, it's conceivable the leader's and peon's evaluation
will disagree about whether the message is useful or not, which could result
in the leader ignoring it and the peon having a dangling forwarded message.
Fix this by marking the op as no_reply whenever ignoring it.

Fixes: https://tracker.ceph.com/issues/46914
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
4 years agoMerge pull request #36477 from p-se/fix-downstream-alertmanager
Sebastian Wagner [Thu, 20 Aug 2020 12:24:43 +0000 (14:24 +0200)]
Merge pull request #36477 from p-se/fix-downstream-alertmanager

cephadm: Support custom alertmanager container

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #35756 from ShyamsundarR/tr-46163
Ramana Raja [Thu, 20 Aug 2020 11:23:11 +0000 (16:53 +0530)]
Merge pull request #35756 from ShyamsundarR/tr-46163

mgr/volumes: Use snapshot root directory attrs when creating clone root

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Kotresh Hiremath Ravishankar <khiremat@redhat.com>
4 years agoMerge pull request #36485 from adk3798/cephadm-44252
Sebastian Wagner [Thu, 20 Aug 2020 09:18:26 +0000 (11:18 +0200)]
Merge pull request #36485 from adk3798/cephadm-44252

mgr/cephadm: mgr or mds scale-down should prefer non-active daemons

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36723 from tchaikov/wip-osd-writesame
Kefu Chai [Thu, 20 Aug 2020 03:03:32 +0000 (11:03 +0800)]
Merge pull request #36723 from tchaikov/wip-osd-writesame

crimson/osd: support writesame op

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge PR #36711 into master
Patrick Donnelly [Thu, 20 Aug 2020 02:10:54 +0000 (19:10 -0700)]
Merge PR #36711 into master

* refs/pull/36711/head:
Revert "vstart_runner: rotate logs between testcases"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoRevert "vstart_runner: rotate logs between testcases" 36711/head
Ernesto Puerta [Wed, 19 Aug 2020 08:36:05 +0000 (10:36 +0200)]
Revert "vstart_runner: rotate logs between testcases"

Fixes: https://tracker.ceph.com/issues/47032
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agocrimson/osd: write log when sending "osd_failure" msg 36723/head
Kefu Chai [Wed, 19 Aug 2020 17:02:14 +0000 (01:02 +0800)]
crimson/osd: write log when sending "osd_failure" msg

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: support writesame op
Kefu Chai [Wed, 19 Aug 2020 16:59:37 +0000 (00:59 +0800)]
crimson/osd: support writesame op

it is tested by TestIoctx.test_aio_writesame. so let's implement it as
well.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36719 from ofriedma/wip-reshard-logs
ofriedma [Wed, 19 Aug 2020 14:37:18 +0000 (17:37 +0300)]
Merge pull request #36719 from ofriedma/wip-reshard-logs

rgw: log resharding events at level 1 (formerly 20)

4 years agorgw: log resharding events at level 1 (formerly 20) 36719/head
Or Friedmann [Wed, 19 Aug 2020 13:07:19 +0000 (13:07 +0000)]
rgw: log resharding events at level 1 (formerly 20)
log resharding events at level 1 (formerly 20)
Signed-off-by: Or Friedmann <ofriedma@redhat.com>
4 years agoMerge pull request #36381 from dang/wip-dang-zipper-7
Daniel Gryniewicz [Wed, 19 Aug 2020 13:50:58 +0000 (09:50 -0400)]
Merge pull request #36381 from dang/wip-dang-zipper-7

Zipper 7 - chop list items

4 years agoMerge pull request #36703 from tchaikov/wip-crimson-errorator-omap
Kefu Chai [Wed, 19 Aug 2020 11:45:44 +0000 (19:45 +0800)]
Merge pull request #36703 from tchaikov/wip-crimson-errorator-omap

crimson/osd: errorator omap_get_values() ops

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #36702 from tchaikov/wip-doc-crimson
Kefu Chai [Wed, 19 Aug 2020 10:57:02 +0000 (18:57 +0800)]
Merge pull request #36702 from tchaikov/wip-doc-crimson

doc/dev/crimson: fix a typo

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #36699 from ceph/47008-table-footer-size
Lenz Grimmer [Wed, 19 Aug 2020 09:23:14 +0000 (11:23 +0200)]
Merge pull request #36699 from ceph/47008-table-footer-size

mgr/dashboard: restore table footer size

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
4 years agoMerge pull request #36706 from Daniel-Pivonka/cephadm-rootuserdocfix
Sebastian Wagner [Wed, 19 Aug 2020 07:45:36 +0000 (09:45 +0200)]
Merge pull request #36706 from Daniel-Pivonka/cephadm-rootuserdocfix

doc/cephadm: remove ssh user limitation troubleshooting

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agocrimson/osd: errorator omap_get_values() ops 36703/head
Kefu Chai [Tue, 18 Aug 2020 16:57:58 +0000 (00:57 +0800)]
crimson/osd: errorator omap_get_values() ops

* os/alienstore: do not panic if retval is less than 0. instead,
  translate ENOENT to enoent and other erros to input_output_error
* os/FuturizedStore: errorator omap_get_values() variants, so
  they return errorator::future<> instead of plain seastar::future<>
* os/seastore: update accordingly.
* osd/pg_backend: use enodata for OI without omap in it. better
  performance, and better readability this way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/mgr/diskprediction: add a configuration section 36680/head
Kefu Chai [Mon, 17 Aug 2020 08:36:09 +0000 (16:36 +0800)]
doc/mgr/diskprediction: add a configuration section

also link to monitoring, as diskprediction cannot function without
enabling monitoring.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agopybind/mgr/devicehealth: drop the cloud model of disk prediction
Kefu Chai [Mon, 17 Aug 2020 07:44:44 +0000 (15:44 +0800)]
pybind/mgr/devicehealth: drop the cloud model of disk prediction

as the service offered by https://www.diskprophet.com/ is not accessible
anymore, the cloud model of disk prediction is not available. so let's
drop the code handling "cloud" model.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agopybind/mgr/dashboard: drop test for diskprediction_cloud
Kefu Chai [Mon, 17 Aug 2020 07:42:46 +0000 (15:42 +0800)]
pybind/mgr/dashboard: drop test for diskprediction_cloud

this module is removed, so no need to test its settings

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoqa/tasks/mgr: drop commented code
Kefu Chai [Mon, 17 Aug 2020 07:41:27 +0000 (15:41 +0800)]
qa/tasks/mgr: drop commented code

the test for diskprediction_cloud is never enabled, and the used
cloud-based service is not reachable anymore. let's just remove the dead
code.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoqa: stop referencing diskprediction_cloud
Kefu Chai [Mon, 17 Aug 2020 07:40:01 +0000 (15:40 +0800)]
qa: stop referencing diskprediction_cloud

diskprediction_cloud is removed from master, so no need to have it in
the exclude list anymore

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/mgr/diskprediction.rst: remove references to diskprediction_cloud
Kefu Chai [Mon, 17 Aug 2020 07:37:34 +0000 (15:37 +0800)]
doc/mgr/diskprediction.rst: remove references to diskprediction_cloud

since https://www.diskprophet.com is not accessible anymore, and this
feature is not available at the time of writing. let's drop the related
document.

Fixes: https://tracker.ceph.com/issues/46863
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agopybind/mgr/diskprediction_cloud: remove mgr-diskprediction-cloud
Kefu Chai [Mon, 17 Aug 2020 07:35:25 +0000 (15:35 +0800)]
pybind/mgr/diskprediction_cloud: remove mgr-diskprediction-cloud

the service offered by https://www.diskprophet.com is not accessible
anymore. before we have a replacement of it, let's drop
mgr-diskprediction-cloud. and remove its packaging.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36531 from tchaikov/wip-alpine
Kefu Chai [Wed, 19 Aug 2020 03:05:59 +0000 (11:05 +0800)]
Merge pull request #36531 from tchaikov/wip-alpine

alpine: remove stale Alpine build recipe

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #36688 from coreycb/master
Jason Dillaman [Tue, 18 Aug 2020 21:23:25 +0000 (17:23 -0400)]
Merge pull request #36688 from coreycb/master

librbd: Align rbd_write_zeroes declarations

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agodoc/cephadm: remove ssh user limitation troubleshooting 36706/head
Daniel-Pivonka [Tue, 18 Aug 2020 20:46:35 +0000 (16:46 -0400)]
doc/cephadm: remove ssh user limitation troubleshooting

Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
4 years agoMerge PR #35824 into master
Patrick Donnelly [Tue, 18 Aug 2020 16:27:49 +0000 (09:27 -0700)]
Merge PR #35824 into master

* refs/pull/35824/head:
vstart_runner.py: rotate logs between testcases
vstart.sh: write logrotate conf and rotate logs
vstart_runner: run one test method at a time...

Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agodoc/dev/crimson: fix a typo 36702/head
Kefu Chai [Tue, 18 Aug 2020 16:13:04 +0000 (00:13 +0800)]
doc/dev/crimson: fix a typo

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #36533 into master
Patrick Donnelly [Tue, 18 Aug 2020 16:00:44 +0000 (09:00 -0700)]
Merge PR #36533 into master

* refs/pull/36533/head:
mon: store mon updates in ceph context for future MonMap instantiation

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #36530 from tchaikov/wip-cmake-python2
Kefu Chai [Tue, 18 Aug 2020 15:18:05 +0000 (23:18 +0800)]
Merge pull request #36530 from tchaikov/wip-cmake-python2

cmake: drop WITH_PYTHON2 option

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
4 years agomgr/cephadm: mgr or mds scale-down should prefer non-active daemons 36485/head
Adam King [Wed, 5 Aug 2020 21:04:46 +0000 (17:04 -0400)]
mgr/cephadm: mgr or mds scale-down should prefer non-active daemons

When removing daemons during a mgr/mds scale-down, prefer to remove
standby daemons so the active daemon is not killed

Fixes: https://tracker.ceph.com/issues/44252
Signed-off-by: Adam King <adking@redhat.com>
4 years agoMerge pull request #36543 from jschmid1/prevent_path_from_non_data_devices
Sebastian Wagner [Tue, 18 Aug 2020 13:45:49 +0000 (15:45 +0200)]
Merge pull request #36543 from jschmid1/prevent_path_from_non_data_devices

python-common: ban paths from non-data-devices

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36568 from jschmid1/remove_osd_spec
Sebastian Wagner [Tue, 18 Aug 2020 13:38:36 +0000 (15:38 +0200)]
Merge pull request #36568 from jschmid1/remove_osd_spec

mgr/orchestrator: remove traces of ceph orch osd spec

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36541 from jschmid1/save_osdspec_affinity_to_store
Sebastian Wagner [Tue, 18 Aug 2020 13:37:29 +0000 (15:37 +0200)]
Merge pull request #36541 from jschmid1/save_osdspec_affinity_to_store

mgr/cephadm: save osdspec_affinity to dd store

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36584 from jschmid1/get_daemons_by_type
Sebastian Wagner [Tue, 18 Aug 2020 13:36:34 +0000 (15:36 +0200)]
Merge pull request #36584 from jschmid1/get_daemons_by_type

mgr/cephadm: add by_type daemon retrieval method

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/dashboard: restore table footer size 36699/head
Alfonso Martínez [Tue, 18 Aug 2020 12:47:54 +0000 (14:47 +0200)]
mgr/dashboard: restore table footer size

Fixes: https://tracker.ceph.com/issues/47008
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
4 years agoZipper - add const accessors for svc and ctl 36381/head
Daniel Gryniewicz [Tue, 18 Aug 2020 12:19:02 +0000 (08:19 -0400)]
Zipper - add const accessors for svc and ctl

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoMerge pull request #34918 from bk201/wip-45397
Lenz Grimmer [Tue, 18 Aug 2020 12:00:35 +0000 (14:00 +0200)]
Merge pull request #34918 from bk201/wip-45397

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #36674 from tchaikov/wip-doc-crimson
Kefu Chai [Tue, 18 Aug 2020 11:05:42 +0000 (19:05 +0800)]
Merge pull request #36674 from tchaikov/wip-doc-crimson

doc/dev/crimson: note about script/ceph-debug-docker.sh

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agovstart_runner.py: rotate logs between testcases 35824/head
Rishabh Dave [Mon, 29 Jun 2020 06:30:12 +0000 (12:00 +0530)]
vstart_runner.py: rotate logs between testcases

Fixes: https://tracker.ceph.com/issues/46059
Signed-off-by: Rishabh Dave <ridave@redhat.com>
4 years agovstart.sh: write logrotate conf and rotate logs
Rishabh Dave [Tue, 30 Jun 2020 10:19:29 +0000 (15:49 +0530)]
vstart.sh: write logrotate conf and rotate logs

Signed-off-by: Rishabh Dave <ridave@redhat.com>
4 years agovstart_runner: run one test method at a time...
Rishabh Dave [Thu, 25 Jun 2020 17:35:58 +0000 (23:05 +0530)]
vstart_runner: run one test method at a time...

instead of running entire testsuite at once; this would allow us more
control on the test runner.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
4 years agoMerge pull request #36686 from sebastian-philipp/ceaphdm-upgrade-pytest
Sebastian Wagner [Tue, 18 Aug 2020 08:38:53 +0000 (10:38 +0200)]
Merge pull request #36686 from sebastian-philipp/ceaphdm-upgrade-pytest

mgr/cephadm: Add tests/test_upgrade.py

Reviewed-by: Joshua Schmid <jschmid@suse.de>
4 years agoMerge pull request #36629 from yison/fix-mem-leak-nvmedevice
Kefu Chai [Tue, 18 Aug 2020 06:57:41 +0000 (14:57 +0800)]
Merge pull request #36629 from yison/fix-mem-leak-nvmedevice

blk/spdk/NVMEDevice.cc: fix a memory leak issue

Reviewed-By: Kefu Chai <kchai@redhat.com>
4 years agomgr/cephadm: use fixed config file path as argument 36477/head
Patrick Seidensal [Wed, 5 Aug 2020 14:47:13 +0000 (16:47 +0200)]
mgr/cephadm: use fixed config file path as argument

Fixes other alertmanager containers which do not default to look for a
configuration file in `/etc/alertmanager/alertmanager.yml`.

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
4 years agoalpine: remove stale Alpine build recipe 36531/head
Kefu Chai [Sat, 8 Aug 2020 08:57:37 +0000 (16:57 +0800)]
alpine: remove stale Alpine build recipe

alpine build recipe is stale and does not work with the latest Ceph,
also the APKBUILD for Ceph can be found at alphine's aports repo, see
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/ceph.

so instead keeping a stale version, let's drop it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #36515 into master
Patrick Donnelly [Tue, 18 Aug 2020 03:40:42 +0000 (20:40 -0700)]
Merge PR #36515 into master

* refs/pull/36515/head:
libcephfs: ignore restoring the open files limit
msg: throw a system error when center.init fails

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36525 into master
Patrick Donnelly [Tue, 18 Aug 2020 03:39:25 +0000 (20:39 -0700)]
Merge PR #36525 into master

* refs/pull/36525/head:
client: switch to use ceph_mutex_is_locked_by_me always

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36552 into master
Patrick Donnelly [Tue, 18 Aug 2020 03:35:31 +0000 (20:35 -0700)]
Merge PR #36552 into master

* refs/pull/36552/head:
mds: fix kcephfs parse dirfrag's ndist is always 0

Reviewed-by: Zheng Yan <zyan@redhat.com>
4 years agoMerge PR #36617 into master
Patrick Donnelly [Tue, 18 Aug 2020 03:34:44 +0000 (20:34 -0700)]
Merge PR #36617 into master

* refs/pull/36617/head:
mds: revert the decode version

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoZipper - Make sure to use std::string everywhere
Daniel Gryniewicz [Tue, 11 Aug 2020 18:02:35 +0000 (14:02 -0400)]
Zipper - Make sure to use std::string everywhere

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoRGW - Turn on debug logging for tempest tests
Daniel Gryniewicz [Mon, 3 Aug 2020 17:29:49 +0000 (13:29 -0400)]
RGW - Turn on debug logging for tempest tests

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoFix crash in RGWHandler_REST_S3Website::error_handler
Daniel Gryniewicz [Mon, 3 Aug 2020 16:40:17 +0000 (12:40 -0400)]
Fix crash in RGWHandler_REST_S3Website::error_handler

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - Fix read_user_manifest_part
Daniel Gryniewicz [Thu, 30 Jul 2020 15:34:14 +0000 (11:34 -0400)]
Zipper - Fix read_user_manifest_part

Was using Rados directly; use Zipper instead.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - Fix retry_raced_bucket_write
Daniel Gryniewicz [Thu, 30 Jul 2020 12:50:32 +0000 (08:50 -0400)]
Zipper - Fix retry_raced_bucket_write

Was using Rados directly; use Zipper instead.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoRemoving getRados() - RGWGetObjLayout
Daniel Gryniewicz [Wed, 29 Jul 2020 16:27:25 +0000 (12:27 -0400)]
Removing getRados() - RGWGetObjLayout

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - convert RGWBulkUploadOp::handle_dir to use create_bucket
Daniel Gryniewicz [Wed, 29 Jul 2020 15:28:14 +0000 (11:28 -0400)]
Zipper - convert RGWBulkUploadOp::handle_dir to use create_bucket

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - Remove duplicate remove_bucket() code
Daniel Gryniewicz [Tue, 28 Jul 2020 18:22:51 +0000 (14:22 -0400)]
Zipper - Remove duplicate remove_bucket() code

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - Rename get_bi() to get_key()
Daniel Gryniewicz [Tue, 28 Jul 2020 15:27:03 +0000 (11:27 -0400)]
Zipper - Rename get_bi() to get_key()

Provides consistency, and get_bi() wasn't a useful name.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - forward_request_to_master in RGWStore
Daniel Gryniewicz [Mon, 27 Jul 2020 18:42:42 +0000 (14:42 -0400)]
Zipper - forward_request_to_master in RGWStore

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - Implement Delete op on RGWObject
Daniel Gryniewicz [Thu, 23 Jul 2020 17:28:42 +0000 (13:28 -0400)]
Zipper - Implement Delete op on RGWObject

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - Implement Read op on RGWObject
Daniel Gryniewicz [Wed, 8 Jul 2020 14:03:20 +0000 (10:03 -0400)]
Zipper - Implement Read op on RGWObject

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - implement set_attrs and delete_attrs in RGWObject
Daniel Gryniewicz [Wed, 1 Jul 2020 19:41:02 +0000 (15:41 -0400)]
Zipper - implement set_attrs and delete_attrs in RGWObject

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - Implement check_quota in RGWBucket
Daniel Gryniewicz [Wed, 1 Jul 2020 17:23:02 +0000 (13:23 -0400)]
Zipper - Implement check_quota in RGWBucket

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agoZipper - implement RGWBucket::List
Daniel Gryniewicz [Wed, 1 Jul 2020 16:10:29 +0000 (12:10 -0400)]
Zipper - implement RGWBucket::List

Create a list op for RGWBucket, and use it.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agolibrbd: Align rbd_write_zeroes declarations 36688/head
Corey Bryant [Mon, 17 Aug 2020 12:19:25 +0000 (08:19 -0400)]
librbd: Align rbd_write_zeroes declarations

Fixes: https://tracker.ceph.com/issues/46928
Signed-off-by: Corey Bryant <corey.bryant@canonical.com>
4 years agoMerge pull request #36605 from rhcs-dashboard/fix-46920-master
Lenz Grimmer [Mon, 17 Aug 2020 13:19:41 +0000 (15:19 +0200)]
Merge pull request #36605 from rhcs-dashboard/fix-46920-master

mgr/dashboard/api: reduce amount of daemon logs

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #36312 from ishanrai05/bug-1
Lenz Grimmer [Mon, 17 Aug 2020 13:12:31 +0000 (15:12 +0200)]
Merge pull request #36312 from ishanrai05/bug-1

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agomgr/cephadm: also mock `ceph vesions` 36686/head
Sebastian Wagner [Mon, 17 Aug 2020 11:07:03 +0000 (13:07 +0200)]
mgr/cephadm: also mock `ceph vesions`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm: add test_upgrade.py
Sebastian Wagner [Mon, 17 Aug 2020 10:34:02 +0000 (12:34 +0200)]
mgr/cephadm: add test_upgrade.py

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm/tests: move with_service to fixtures.py
Sebastian Wagner [Mon, 17 Aug 2020 09:11:21 +0000 (11:11 +0200)]
mgr/cephadm/tests: move with_service to fixtures.py

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agopybind/mgr: Also mock the config store in pytest
Sebastian Wagner [Fri, 7 Aug 2020 14:21:18 +0000 (16:21 +0200)]
pybind/mgr: Also mock the config store in pytest

This will be used to dry-run mgr/cephadm/upgrade.py

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36476 from ceph/42072-landing-page
Lenz Grimmer [Mon, 17 Aug 2020 08:43:39 +0000 (10:43 +0200)]
Merge pull request #36476 from ceph/42072-landing-page

mgr/dashboard: Landing Page improvements

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
4 years agoMerge pull request #36669 from smithfarm/wip-nautilus-11
Abhishek L [Mon, 17 Aug 2020 08:42:10 +0000 (10:42 +0200)]
Merge pull request #36669 from smithfarm/wip-nautilus-11

doc/releases: add Nautilus 14.2.11 to timeline

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Zac Dover <zac.dover@gmail.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
4 years agoMerge pull request #36508 from mgfritch/cephadm-nfs-rados-pool
Sebastian Wagner [Mon, 17 Aug 2020 07:50:13 +0000 (09:50 +0200)]
Merge pull request #36508 from mgfritch/cephadm-nfs-rados-pool

mgr/cephadm: check existence of the RADOS pool

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
4 years agomgr/dashboard: clear Jest cache before testing 34918/head
Kiefer Chang [Wed, 29 Jul 2020 13:05:04 +0000 (21:05 +0800)]
mgr/dashboard: clear Jest cache before testing

Jest seems to not detect removed files correctly. Let's clean the cache
before performing frontend unit tests in CI.

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
4 years agomgr/dashboard: leverage features set from orchestrator
Kiefer Chang [Wed, 6 May 2020 08:20:06 +0000 (16:20 +0800)]
mgr/dashboard: leverage features set from orchestrator

Orchestrator provides a list of supported functions. Using
this list to provide better UX and guard for unsupported
features.

- Backend: return 503 if required orchestrator features are
  missing, rather than calling non-implemented methods
  in orchestrator.
- Frontend:
  - Remove information modal when Orchestrator is not available.
  - Disable table action buttons if Orchestrator is not available
    or features are not supported.

Fixes: https://tracker.ceph.com/issues/45397
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
4 years agoMerge pull request #36228 from vosdev/doc-mgr-crash-typo
Kefu Chai [Mon, 17 Aug 2020 03:17:02 +0000 (11:17 +0800)]
Merge pull request #36228 from vosdev/doc-mgr-crash-typo

doc/mgr/crash: Add missing command in rm example

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36623 from cheese/master
Kefu Chai [Mon, 17 Aug 2020 02:41:49 +0000 (10:41 +0800)]
Merge pull request #36623 from cheese/master

common: document the current semantics of bl::append(std::istream)

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36418 from changchengx/osd_map
Kefu Chai [Mon, 17 Aug 2020 02:33:15 +0000 (10:33 +0800)]
Merge pull request #36418 from changchengx/osd_map

osd/OSDMap: corret osd_info_t last_clean comment

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/dev/crimson: note about script/ceph-debug-docker.sh 36674/head
Kefu Chai [Sun, 16 Aug 2020 14:31:38 +0000 (22:31 +0800)]
doc/dev/crimson: note about script/ceph-debug-docker.sh

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36642 from tchaikov/wip-crimson-silence-warnings
Kefu Chai [Sun, 16 Aug 2020 14:48:56 +0000 (22:48 +0800)]
Merge pull request #36642 from tchaikov/wip-crimson-silence-warnings

crimson: silence warnings from clang++

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocommon/options: fix a typo in option description 36675/head
Kefu Chai [Sun, 16 Aug 2020 14:32:17 +0000 (22:32 +0800)]
common/options: fix a typo in option description

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: do not capture unused variables 36642/head
Kefu Chai [Sat, 15 Aug 2020 11:05:46 +0000 (19:05 +0800)]
crimson/osd: do not capture unused variables

this change silences warnings like

src/crimson/osd/pg_backend.cc:232:34: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
        [&os, &osd_op, &extents, this](auto&& bl) -> read_errorator::future<> {

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/os: do not return a value for non-reachable branch
Kefu Chai [Sat, 15 Aug 2020 11:04:19 +0000 (19:04 +0800)]
crimson/os: do not return a value for non-reachable branch

for silencing a warning like

btree/btree_lba_manager.cc:177:12: warning: binding dereferenced null pointer to reference has undefined behavior [-Wnull-dereference]
    return *static_cast<btree_range_pin_t*>(nullptr);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ceph_abort_msg() is marked [[noreturn]], so we can just use it here
without worrying about complains from compiler.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/releases: add Nautilus 14.2.11 to timeline 36669/head
Nathan Cutler [Sat, 15 Aug 2020 20:55:44 +0000 (22:55 +0200)]
doc/releases: add Nautilus 14.2.11 to timeline

Signed-off-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #36479 from dillaman/wip-46669
Mykola Golub [Sat, 15 Aug 2020 15:31:10 +0000 (18:31 +0300)]
Merge pull request #36479 from dillaman/wip-46669

test/rbd-mirror: pool watcher registration error might result in race

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #36639 from tchaikov/wip-crimson-build-push-op
Kefu Chai [Sat, 15 Aug 2020 10:47:46 +0000 (18:47 +0800)]
Merge pull request #36639 from tchaikov/wip-crimson-build-push-op

crimson/osd: clear data_included if fiemap fails

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #36505 from rzarzynski/wip-crimson-bump-up-seastar
Kefu Chai [Sat, 15 Aug 2020 10:41:42 +0000 (18:41 +0800)]
Merge pull request #36505 from rzarzynski/wip-crimson-bump-up-seastar

crimson: bump up seastar version to freshest master

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36529 from tchaikov/wip-crimson-dts-9
Kefu Chai [Sat, 15 Aug 2020 10:39:48 +0000 (18:39 +0800)]
Merge pull request #36529 from tchaikov/wip-crimson-dts-9

ceph.spec.in: use devtoolset-9 for building crimson

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>