]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agotest/store_test: introduce test case for per-pool omap repair.
Igor Fedotov [Mon, 27 Jan 2020 18:11:51 +0000 (21:11 +0300)]
test/store_test: introduce test case for per-pool omap repair.

This also reproduces
https://tracker.ceph.com/issues/43824

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge PR #32853 into master
Sage Weil [Mon, 27 Jan 2020 13:14:37 +0000 (07:14 -0600)]
Merge PR #32853 into master

* refs/pull/32853/head:
qa/suites/fs/upgrade: finish at octopus
qa/suites/fs/upgrade: set min-compat-client to octopus
qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32883 into master
Sage Weil [Mon, 27 Jan 2020 13:08:40 +0000 (07:08 -0600)]
Merge PR #32883 into master

* refs/pull/32883/head:
qa/workunits/rados/test_crash.sh: do not fail if coredump not found
rgw: set bucket quota only when necessary

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agomonitoring: add details to Prometheus' alerts (#32803)
Lenz Grimmer [Mon, 27 Jan 2020 08:23:29 +0000 (08:23 +0000)]
monitoring: add details to Prometheus' alerts (#32803)

monitoring: add details to Prometheus' alerts

Reviewed-by: Andreas Jaeger <aj@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #32434 from trociny/wip-41559
Jason Dillaman [Sun, 26 Jan 2020 18:31:39 +0000 (13:31 -0500)]
Merge pull request #32434 from trociny/wip-41559

mgr/rbd_support: implement mirror snapshot scheduler

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: optimize mirror_image_info_list (don't open image context) 32434/head
Mykola Golub [Thu, 9 Jan 2020 11:07:22 +0000 (11:07 +0000)]
librbd: optimize mirror_image_info_list (don't open image context)

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: make mirror get info request not require image context
Mykola Golub [Thu, 9 Jan 2020 11:01:46 +0000 (11:01 +0000)]
librbd: make mirror get info request not require image context

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoqa/workunits/rados/test_crash.sh: do not fail if coredump not found 32883/head
Kefu Chai [Sun, 26 Jan 2020 14:20:42 +0000 (22:20 +0800)]
qa/workunits/rados/test_crash.sh: do not fail if coredump not found

Fixes: https://tracker.ceph.com/issues/43653
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agorgw: set bucket quota only when necessary 32884/head
Kefu Chai [Sun, 26 Jan 2020 16:19:01 +0000 (00:19 +0800)]
rgw: set bucket quota only when necessary

this change fixes the regression introduced by 9a7f76a7

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/rbd_support: optimize scanning images in mirror snapshot mode
Mykola Golub [Fri, 27 Dec 2019 10:37:42 +0000 (10:37 +0000)]
mgr/rbd_support: optimize scanning images in mirror snapshot mode

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: add API to list mirror image info
Mykola Golub [Fri, 27 Dec 2019 08:54:31 +0000 (08:54 +0000)]
librbd: add API to list mirror image info

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agomgr/rbd_support: implement mirror snapshot scheduler
Mykola Golub [Sat, 14 Dec 2019 19:56:07 +0000 (19:56 +0000)]
mgr/rbd_support: implement mirror snapshot scheduler

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agopybind/mgr/rbd_support: split module.py into several files
Mykola Golub [Fri, 22 Nov 2019 17:56:38 +0000 (17:56 +0000)]
pybind/mgr/rbd_support: split module.py into several files

(it is becoming too large)

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #32734 from trociny/wip-43589
Jason Dillaman [Sun, 26 Jan 2020 16:19:11 +0000 (11:19 -0500)]
Merge pull request #32734 from trociny/wip-43589

librbd: don't call refresh from mirror::GetInfoRequest state machine

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32766 from rzarzynski/wip-common-ceph_atomic
Kefu Chai [Sun, 26 Jan 2020 16:01:57 +0000 (00:01 +0800)]
Merge pull request #32766 from rzarzynski/wip-common-ceph_atomic

crimson, common: introduce ceph::atomic and apply it on bufferlist.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32760 from trociny/wip-43666
Jason Dillaman [Sun, 26 Jan 2020 15:15:26 +0000 (10:15 -0500)]
Merge pull request #32760 from trociny/wip-43666

librbd: fix potential snapshot remove failure due to duplicate RPC messages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32730 from tchaikov/wip-mgr-maybe-unused
Kefu Chai [Sun, 26 Jan 2020 03:56:10 +0000 (11:56 +0800)]
Merge pull request #32730 from tchaikov/wip-mgr-maybe-unused

mgr: better error handling when reading option

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32758 from ifed01/wip-ifed-fix-legacy-omap
Kefu Chai [Sun, 26 Jan 2020 03:55:21 +0000 (11:55 +0800)]
Merge pull request #32758 from ifed01/wip-ifed-fix-legacy-omap

os/bluestore: upgrade legacy omap to per-pool format automatically.

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32764 from liewegas/fix-43552
Kefu Chai [Sun, 26 Jan 2020 03:53:40 +0000 (11:53 +0800)]
Merge pull request #32764 from liewegas/fix-43552

mon/Session: only index osd ids >= 0

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #32753 from mgfritch/cephadm-tox-escape-seq
Kefu Chai [Sun, 26 Jan 2020 03:45:28 +0000 (11:45 +0800)]
Merge pull request #32753 from mgfritch/cephadm-tox-escape-seq

cephadm: fix tox DeprecationWarning

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32352 from rzarzynski/wip-bug-43070
Kefu Chai [Sun, 26 Jan 2020 03:41:06 +0000 (11:41 +0800)]
Merge pull request #32352 from rzarzynski/wip-bug-43070

msg/async: reset the V1's session_security in proper EventCenter.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32785 from rzarzynski/wip-encoding-no-bl-copy_in-2
Kefu Chai [Sun, 26 Jan 2020 03:37:01 +0000 (11:37 +0800)]
Merge pull request #32785 from rzarzynski/wip-encoding-no-bl-copy_in-2

common: encode for std::list<T> doesn't use bl::copy_in() anymore.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoqa/suites/fs/upgrade: finish at octopus 32853/head
Sage Weil [Fri, 24 Jan 2020 23:25:52 +0000 (17:25 -0600)]
qa/suites/fs/upgrade: finish at octopus

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/fs/upgrade: set min-compat-client to octopus
Sage Weil [Fri, 24 Jan 2020 23:26:05 +0000 (17:26 -0600)]
qa/suites/fs/upgrade: set min-compat-client to octopus

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30272 from ivancich/wip-move-some-bucket-listing-logic-to-cls
J. Eric Ivancich [Sat, 25 Jan 2020 19:12:02 +0000 (14:12 -0500)]
Merge pull request #30272 from ivancich/wip-move-some-bucket-listing-logic-to-cls

rgw: move delimiter-based bucket listing/filtering logic to cls

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoqa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade
Sage Weil [Fri, 24 Jan 2020 23:24:39 +0000 (17:24 -0600)]
qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32750 into master
Sage Weil [Fri, 24 Jan 2020 23:21:28 +0000 (17:21 -0600)]
Merge PR #32750 into master

* refs/pull/32750/head:
qa/suites/upgrade/*-x/stress-split: run latest python tests at end
qa/tasks/ceph_manager: kludge around /var/log/ceph permissions
mgr/pg_autoscaler: don't check anything until cluster is nautilus
qa/suites/upgrade: install python3-* as part of final upgrade step
qa/tasks/radosbench: only set object size if != block size
qa/tasks/ceph: simplify mon_health_to_clog suppression during restart
cls_hello: alias write_return_data -> writes_dont_return_data
ceph_test_cls_hello: only do returndata test on octopus+
qa: remove unnecessary package excludes in upgrades/nautilus*
qa: exclude cephadm from upgrade/nautilus-x
qa/suites/upgrade/mimic-x/parallel: fix msgr2 vs octopus ordering
qa/suites/upgrade/nautilus-x/stress-split: fix msgr2 vs octopus ordering
qa/suites/upgrade/mimic-x: fix msgr2 vs octopus ordering
qa/suites/upgrade/nautilus-x: end on octopus
qa/suites/upgrade/mimic-x: finish at octopus
qa/suites/upgrade/nautilus-x: disable TOO_FEW_PGS warning
qa/tasks/ceph: set mon_health_to_clog=false via mon config
qa/suites/upgrade/mimic-x: disable TOO_FEW_PGS warning

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32804 into master
Patrick Donnelly [Fri, 24 Jan 2020 20:57:07 +0000 (12:57 -0800)]
Merge PR #32804 into master

* refs/pull/32804/head:
pybind: Add test for listxattr
pybind: Add listxattr

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32786 into master
Sage Weil [Fri, 24 Jan 2020 20:04:59 +0000 (14:04 -0600)]
Merge PR #32786 into master

* refs/pull/32786/head:
mon/ConfigMonitor: put global/ keys in global section
mon/ConfigMonitor: transition old keys to have global/ prefix
mon/ConfigMonitor: always prefix global config keys with global/
mon/ConfigMonitor: switch to use pending_cleanup boost::optional

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32665 into master
Sage Weil [Fri, 24 Jan 2020 20:04:09 +0000 (14:04 -0600)]
Merge PR #32665 into master

* refs/pull/32665/head:
os/bluestore: avoid race between split_cache and get/put pin/unpin
os/bluestore: remove no-op line from split_cache

Reviewed-by: Mark Nelson <mnelson@redhat.com>
5 years agoMerge PR #32755 into master
Sage Weil [Fri, 24 Jan 2020 20:02:14 +0000 (14:02 -0600)]
Merge PR #32755 into master

* refs/pull/32755/head:
pybind/mgr/*: fix config_notify handling of default values

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge PR #32809 into master
Sage Weil [Fri, 24 Jan 2020 20:01:38 +0000 (14:01 -0600)]
Merge PR #32809 into master

* refs/pull/32809/head:
common/options: bluestore 64k min_alloc_size for HDD

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agorgw: let newer RGWs work with older OSDs re: cls-side filtering 30272/head
J. Eric Ivancich [Fri, 27 Sep 2019 16:05:17 +0000 (12:05 -0400)]
rgw: let newer RGWs work with older OSDs re: cls-side filtering

Previous commits moved bucket list filtering when a delimiter was
specified to the osd/cls layer. However, since rgw's are often
upgraded before osd's are, until we reach verison ceph version 16, an
rgw cannot assume that the osd/cls did the filtering. This is
addressed in the following ways....

First rgw_cls_list_ret now indicates whether filtering was done on the
osd/cls side.

And second, the old filtering code in the rgw is maintained in
RGWRados::Bucket::List::list_objects_ordered, so it can still be
triggered when all osd's are not doing the filtering.

Once we reach ceph version 16, and there is no chance that the rgw is
working with a osd running "young" version 14 code, we can remove the
backward compatibility code in
RGWRados::Bucket::List::list_objects_ordered.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: add unit testing for delimiter filtering in cls
J. Eric Ivancich [Mon, 9 Sep 2019 20:30:33 +0000 (16:30 -0400)]
rgw: add unit testing for delimiter filtering in cls

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: move some bucket index delimiter filtering logic to cls
J. Eric Ivancich [Tue, 6 Aug 2019 21:44:29 +0000 (17:44 -0400)]
rgw: move some bucket index delimiter filtering logic to cls

Currently the cls code that returns bucket index entries does no
filtering when a delimiter is specified. This means that the cls code
will return many entries that the rgw code does not need. This means
unnecessary bucket index entries will be encoded, decoded, and consume
network bandwidth.

A change is made to send a delimiter, if it's specified, to the cls
code, so the filtering can be done there.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #32735 from trociny/wip-doc-mirror-snapshot
Jason Dillaman [Fri, 24 Jan 2020 19:30:22 +0000 (14:30 -0500)]
Merge pull request #32735 from trociny/wip-doc-mirror-snapshot

doc: document "mode" param for "rbd mirror image enable" command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agorgw: reformat some code to make it easier to read
J. Eric Ivancich [Tue, 3 Sep 2019 17:03:51 +0000 (13:03 -0400)]
rgw: reformat some code to make it easier to read

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: rename search variable to better indicate semantics
J. Eric Ivancich [Tue, 3 Sep 2019 19:14:21 +0000 (15:14 -0400)]
rgw: rename search variable to better indicate semantics

cls_cxx_map_get_vals takes a parameter of where in the sequence of
keys to start returning values. In code it's often referred to as the
"start_key", but in fact it only returns values who have keys *after*
it. To clarify the semantics, rename the variable to "start_after_key"
in the bucket listing functions in both rgw and cls.

Also, declare a type RGWRados::check_filter_t, so the type does not
have to be fully literalized multiple times.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: change scope of bucket index entry flags
J. Eric Ivancich [Fri, 13 Sep 2019 03:20:55 +0000 (23:20 -0400)]
rgw: change scope of bucket index entry flags

Redefine global constants that define flags in bucket index entries to
struct-scoped.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: add documentation to bucket index code
J. Eric Ivancich [Tue, 3 Sep 2019 17:00:30 +0000 (13:00 -0400)]
rgw: add documentation to bucket index code

Some of the logic surrounding bucket indexes and the listing thereof
can be subtle. Add some comments to help future developers working on
this code.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: move after-delimiter logic so available in both rgw & cls/osd
J. Eric Ivancich [Tue, 3 Sep 2019 14:49:12 +0000 (10:49 -0400)]
rgw: move after-delimiter logic so available in both rgw & cls/osd

Since we need to be able to calculate a key a path subdirectory both
in rgw and cls, move the code that calculates that to cls_rgw_types.h,
which is shared by both rgw and cls/osd.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: use a constexpr to specify standard # of bucket entries to list
J. Eric Ivancich [Fri, 6 Sep 2019 22:02:54 +0000 (18:02 -0400)]
rgw: use a constexpr to specify standard # of bucket entries to list

Rather than hard-coding literals (of 1000) throughout the code, use a
constexpr given it's the standard chunk we're reading from a bucket
index.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agorgw: add missing editor directive to file
J. Eric Ivancich [Wed, 7 Aug 2019 20:41:44 +0000 (16:41 -0400)]
rgw: add missing editor directive to file

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge PR #32686 into master
Sage Weil [Fri, 24 Jan 2020 15:30:11 +0000 (09:30 -0600)]
Merge PR #32686 into master

* refs/pull/32686/head:
mgr/cephadm: speed up when not refresh is needed
mgr/cephadm: track age of service metadata
mgr/orchestrator: include age of 'service ls' metadata
mgr/mgr_util: add to_pretty_timedelta

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agomgr/cephadm: speed up when not refresh is needed 32686/head
Sage Weil [Mon, 23 Dec 2019 19:47:29 +0000 (13:47 -0600)]
mgr/cephadm: speed up when not refresh is needed

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: track age of service metadata
Sage Weil [Mon, 23 Dec 2019 19:19:58 +0000 (13:19 -0600)]
mgr/cephadm: track age of service metadata

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/orchestrator: include age of 'service ls' metadata
Sage Weil [Mon, 23 Dec 2019 19:19:38 +0000 (13:19 -0600)]
mgr/orchestrator: include age of 'service ls' metadata

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/mgr_util: add to_pretty_timedelta
Sage Weil [Mon, 23 Dec 2019 19:18:53 +0000 (13:18 -0600)]
mgr/mgr_util: add to_pretty_timedelta

This mirrors the Ceph C++ implementation.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #28603 into master
Sage Weil [Fri, 24 Jan 2020 14:32:47 +0000 (08:32 -0600)]
Merge PR #28603 into master

* refs/pull/28603/head:
mgr: Add get_rates_from_data to mgr_util.py

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32788 into master
Sage Weil [Fri, 24 Jan 2020 14:32:13 +0000 (08:32 -0600)]
Merge PR #32788 into master

* refs/pull/32788/head:
qa/tasks/mgr/dashboard: set pg_num to 32
mgr/pg_autoscaler: default to pg_num[_min] = 32

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agomgr/dashboard: check if user has config-opt permissions (#32638)
Lenz Grimmer [Fri, 24 Jan 2020 14:00:08 +0000 (14:00 +0000)]
mgr/dashboard: check if user has config-opt permissions (#32638)

mgr/dashboard: check if user has config-opt permissions

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomonitoring: add details to Prometheus' alerts 32803/head
Patrick Seidensal [Thu, 23 Jan 2020 11:52:24 +0000 (12:52 +0100)]
monitoring: add details to Prometheus' alerts

Fixes: https://tracker.ceph.com/issues/43764
Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agoqa/suites/upgrade/*-x/stress-split: run latest python tests at end 32750/head
Sage Weil [Fri, 24 Jan 2020 12:52:41 +0000 (06:52 -0600)]
qa/suites/upgrade/*-x/stress-split: run latest python tests at end

Use the master/test/x branch, so that we run the python3 variant of the
test.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/dashboard: Improve the size of forms (#31863)
Lenz Grimmer [Fri, 24 Jan 2020 12:34:12 +0000 (12:34 +0000)]
mgr/dashboard: Improve the size of forms (#31863)

mgr/dashboard: Improve the size of forms

Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #32802 from uweigand/cmake-atomic-check
Nathan Cutler [Fri, 24 Jan 2020 09:40:29 +0000 (10:40 +0100)]
Merge pull request #32802 from uweigand/cmake-atomic-check

cmake: Improve test for 16-byte atomic support on IBM Z

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agomgr/dashboard: Unit test does not do the mentioned thing (#32799)
Lenz Grimmer [Fri, 24 Jan 2020 08:32:59 +0000 (08:32 +0000)]
mgr/dashboard: Unit test does not do the mentioned thing (#32799)

mgr/dashboard: Unit test does not do the mentioned thing

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoqa/tasks/ceph_manager: kludge around /var/log/ceph permissions
Sage Weil [Fri, 24 Jan 2020 03:25:08 +0000 (21:25 -0600)]
qa/tasks/ceph_manager: kludge around /var/log/ceph permissions

The ceph.py task normally makes these permissive.  But a package upgrade
can reset the permissions so that we can't read and write the temp
export files.  (We put them in these dirs now because it's alreadly
mapped out of cephadm containers to the host.)

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/pg_autoscaler: don't check anything until cluster is nautilus
Sage Weil [Fri, 24 Jan 2020 03:13:58 +0000 (21:13 -0600)]
mgr/pg_autoscaler: don't check anything until cluster is nautilus

This prevents any health alerts about too many/few PGs due to old pools
that are defaulted to 'warn'.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade: install python3-* as part of final upgrade step
Sage Weil [Thu, 23 Jan 2020 23:35:02 +0000 (17:35 -0600)]
qa/suites/upgrade: install python3-* as part of final upgrade step

These are new packages, so they won't install just by upgrading the old
packages, and they are needed for some of the tests.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/radosbench: only set object size if != block size
Sage Weil [Thu, 23 Jan 2020 23:27:30 +0000 (17:27 -0600)]
qa/tasks/radosbench: only set object size if != block size

This is mostly pointless, except that the -O option for objects size
used to be -o for pre-octopus, so passing -O breaks the upgrade tests.
Fortunately, the upgrades use the defaults, so we can just skate by here.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph: simplify mon_health_to_clog suppression during restart
Sage Weil [Thu, 23 Jan 2020 23:12:21 +0000 (17:12 -0600)]
qa/tasks/ceph: simplify mon_health_to_clog suppression during restart

This only does one thing--do that.  More simply.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32798 from rhcs-dashboard/fix-make-check-deps-centos8
Kefu Chai [Fri, 24 Jan 2020 02:30:15 +0000 (10:30 +0800)]
Merge pull request #32798 from rhcs-dashboard/fix-make-check-deps-centos8

ceph.spec.in: fix 'make check' deps for centos8

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32478 into master
Patrick Donnelly [Thu, 23 Jan 2020 23:53:24 +0000 (15:53 -0800)]
Merge PR #32478 into master

* refs/pull/32478/head:
qa: update xfstests version
qa: install some dependencies for xfstests

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge PR #32754 into master
Sage Weil [Thu, 23 Jan 2020 23:37:56 +0000 (17:37 -0600)]
Merge PR #32754 into master

* refs/pull/32754/head:
mgr/cephadm: health alert for stray hosts and/or services

Reviewed-by: Michael Fritch <mfritch@suse.com>
5 years agoqa: update xfstests version 32478/head
Patrick Donnelly [Thu, 23 Jan 2020 23:37:56 +0000 (15:37 -0800)]
qa: update xfstests version

Building xfstests on CentOS 8 has build errors:

    2020-01-23T21:15:14.939 INFO:tasks.workunit.client.0.smithi155.stderr:/home/ubuntu/cephtest/mnt.0/client.0/tmp/xfstests/src/fssum.c:616: undefined reference to `major'
    2020-01-23T21:15:14.939 INFO:tasks.workunit.client.0.smithi155.stderr:/home/ubuntu/cephtest/mnt.0/client.0/tmp/xfstests/src/fssum.c:617: undefined reference to `minor'
    2020-01-23T21:15:14.940 INFO:tasks.workunit.client.0.smithi155.stderr:collect2: error: ld returned 1 exit status

From: /ceph/teuthology-archive/pdonnell-2020-01-23_20:47:47-fs-wip-pdonnell-testing-20200122.210533-distro-basic-smithi/4697257/teuthology.log

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoqa: install some dependencies for xfstests
Patrick Donnelly [Fri, 3 Jan 2020 23:33:07 +0000 (15:33 -0800)]
qa: install some dependencies for xfstests

These are needed for CentOS 8 / RHEL8.

Also organize the YAML to use the cleaner array syntax.

Fixes: https://tracker.ceph.com/issues/43459
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32350 into master
Patrick Donnelly [Thu, 23 Jan 2020 23:29:04 +0000 (15:29 -0800)]
Merge PR #32350 into master

* refs/pull/32350/head:
mds: Reorganize class members in SnapServer header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32722 into master
Patrick Donnelly [Thu, 23 Jan 2020 23:28:27 +0000 (15:28 -0800)]
Merge PR #32722 into master

* refs/pull/32722/head:
mds: fix null pointer dereference in Server::handle_client_link()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agocls_hello: alias write_return_data -> writes_dont_return_data
Sage Weil [Wed, 22 Jan 2020 21:51:49 +0000 (15:51 -0600)]
cls_hello: alias write_return_data -> writes_dont_return_data

This allows pre-octopus tests to reach this (renamed) method via the old
method name.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoceph_test_cls_hello: only do returndata test on octopus+
Sage Weil [Tue, 21 Jan 2020 16:58:09 +0000 (10:58 -0600)]
ceph_test_cls_hello: only do returndata test on octopus+

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa: remove unnecessary package excludes in upgrades/nautilus*
Josh Durgin [Mon, 13 Jan 2020 23:14:48 +0000 (18:14 -0500)]
qa: remove unnecessary package excludes in upgrades/nautilus*

These packages are present in nautilus.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa: exclude cephadm from upgrade/nautilus-x
Josh Durgin [Mon, 13 Jan 2020 23:08:17 +0000 (18:08 -0500)]
qa: exclude cephadm from upgrade/nautilus-x

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
5 years agoqa/suites/upgrade/mimic-x/parallel: fix msgr2 vs octopus ordering
Sage Weil [Tue, 21 Jan 2020 18:44:04 +0000 (12:44 -0600)]
qa/suites/upgrade/mimic-x/parallel: fix msgr2 vs octopus ordering

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade/nautilus-x/stress-split: fix msgr2 vs octopus ordering
Sage Weil [Tue, 21 Jan 2020 18:43:19 +0000 (12:43 -0600)]
qa/suites/upgrade/nautilus-x/stress-split: fix msgr2 vs octopus ordering

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade/mimic-x: fix msgr2 vs octopus ordering
Sage Weil [Tue, 21 Jan 2020 18:42:38 +0000 (12:42 -0600)]
qa/suites/upgrade/mimic-x: fix msgr2 vs octopus ordering

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade/nautilus-x: end on octopus
Sage Weil [Tue, 21 Jan 2020 16:59:25 +0000 (10:59 -0600)]
qa/suites/upgrade/nautilus-x: end on octopus

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade/mimic-x: finish at octopus
Sage Weil [Tue, 21 Jan 2020 16:57:47 +0000 (10:57 -0600)]
qa/suites/upgrade/mimic-x: finish at octopus

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade/nautilus-x: disable TOO_FEW_PGS warning
Sage Weil [Tue, 21 Jan 2020 16:07:59 +0000 (10:07 -0600)]
qa/suites/upgrade/nautilus-x: disable TOO_FEW_PGS warning

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/tasks/ceph: set mon_health_to_clog=false via mon config
Sage Weil [Tue, 21 Jan 2020 14:57:06 +0000 (08:57 -0600)]
qa/tasks/ceph: set mon_health_to_clog=false via mon config

This actually works better on new versions.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/upgrade/mimic-x: disable TOO_FEW_PGS warning
Sage Weil [Tue, 21 Jan 2020 14:51:38 +0000 (08:51 -0600)]
qa/suites/upgrade/mimic-x: disable TOO_FEW_PGS warning

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32616 into master
Sage Weil [Thu, 23 Jan 2020 22:40:58 +0000 (16:40 -0600)]
Merge PR #32616 into master

* refs/pull/32616/head:
cephadm: annotate call()
cephadm: podman inspect: image field was called `ImageID`:

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32795 into master
Sage Weil [Thu, 23 Jan 2020 22:17:39 +0000 (16:17 -0600)]
Merge PR #32795 into master

* refs/pull/32795/head:
cephadm: require fsid if name contains a daemon id
cephadm: infer the fsid by name

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #31155 from zhangsw/fix-rgw-reshard-process
Casey Bodley [Thu, 23 Jan 2020 21:35:13 +0000 (16:35 -0500)]
Merge pull request #31155 from zhangsw/fix-rgw-reshard-process

rgw: one log shard fails shouldn't block other shards process when reshard buckets

Reviewed-by: Mark Kogan <mkogan@redhat.com>
5 years agoMerge pull request #31103 from zhangsw/fix-rgw-reshard-cleanindex
Casey Bodley [Thu, 23 Jan 2020 21:34:12 +0000 (16:34 -0500)]
Merge pull request #31103 from zhangsw/fix-rgw-reshard-cleanindex

rgw: clean index and remove bucket instance info when setting resharding status fails

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30920 from GaryHyg/wip-quota-bug
Casey Bodley [Thu, 23 Jan 2020 21:33:46 +0000 (16:33 -0500)]
Merge pull request #30920 from GaryHyg/wip-quota-bug

RGW: Set appropriate bucket quota value (when quota value is less than 0)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30880 from jiahuizeng/radosgw
Casey Bodley [Thu, 23 Jan 2020 21:33:20 +0000 (16:33 -0500)]
Merge pull request #30880 from jiahuizeng/radosgw

rgw: support radosgw-admin zone/zonegroup placement get command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30861 from IlsooByun/rgw_lc_missing
Casey Bodley [Thu, 23 Jan 2020 21:32:45 +0000 (16:32 -0500)]
Merge pull request #30861 from IlsooByun/rgw_lc_missing

rgw: do not miss the 1000th element of every iteration during lifecycle processing

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
5 years agomon/ConfigMonitor: put global/ keys in global section 32786/head
Sage Weil [Thu, 23 Jan 2020 20:14:09 +0000 (14:14 -0600)]
mon/ConfigMonitor: put global/ keys in global section

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agolibrbd: don't call refresh from mirror::GetInfoRequest state machine 32734/head
Mykola Golub [Mon, 20 Jan 2020 13:42:47 +0000 (13:42 +0000)]
librbd: don't call refresh from mirror::GetInfoRequest state machine

Fixes: https://tracker.ceph.com/issues/43589
Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #32797 from tchaikov/wip-seastar-and-errorator
Kefu Chai [Thu, 23 Jan 2020 18:31:59 +0000 (02:31 +0800)]
Merge pull request #32797 from tchaikov/wip-seastar-and-errorator

seastar,crimson: pickup change to pin socket to fixed core

Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #29703 from baixueyu/wip-quota
Ali Maredia [Thu, 23 Jan 2020 18:13:17 +0000 (13:13 -0500)]
Merge pull request #29703 from baixueyu/wip-quota

rgw:  when you abort a multipart upload request, the quota may be not updated

5 years agoMerge pull request #28622 from IlsooByun/master
Ali Maredia [Thu, 23 Jan 2020 18:12:25 +0000 (13:12 -0500)]
Merge pull request #28622 from IlsooByun/master

rgw: incorrect return value when processing CORS headers

5 years agoMerge pull request #29733 from baixueyu/wip-reload-coredump
Ali Maredia [Thu, 23 Jan 2020 18:11:39 +0000 (13:11 -0500)]
Merge pull request #29733 from baixueyu/wip-reload-coredump

rgw: maybe coredump when reload operator happened

5 years agodoc: document "mode" param for "rbd mirror image enable" command 32735/head
Mykola Golub [Mon, 20 Jan 2020 15:15:35 +0000 (15:15 +0000)]
doc: document "mode" param for "rbd mirror image enable" command

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #29795 from xxcs/xxcs03
Ali Maredia [Thu, 23 Jan 2020 17:56:20 +0000 (12:56 -0500)]
Merge pull request #29795 from xxcs/xxcs03

rgw: fix one part of the bulk delete(RGWDeleteMultiObj_ObjStore_S3) fails but no error messages

5 years agoMerge pull request #30913 from ofriedma/wip-ofriedma-lc-logs
Ali Maredia [Thu, 23 Jan 2020 17:55:22 +0000 (12:55 -0500)]
Merge pull request #30913 from ofriedma/wip-ofriedma-lc-logs

rgw: Add more details to the LC delete and transit log

5 years agoMerge PR #32787 into master
Sage Weil [Thu, 23 Jan 2020 17:25:56 +0000 (11:25 -0600)]
Merge PR #32787 into master

* refs/pull/32787/head:
qa/tasks/cephadm: work around .git suffix on ceph_repo
qa/tasks/cephadm: learn to pull cephadm from github

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agocommon/options: bluestore 64k min_alloc_size for HDD 32809/head
Sage Weil [Thu, 23 Jan 2020 17:23:38 +0000 (11:23 -0600)]
common/options: bluestore 64k min_alloc_size for HDD

Until we understand the performance regression and allocator behavior,
go back to 64k.  This will continue to have a high space overhead for
small objects and EC, but will preserve the current performance levels
for all workloads.

This partially reverts 0ec75c99ddb103c664f66c04450003ed4c407708

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/cephadm: health alert for stray hosts and/or services 32754/head
Sage Weil [Tue, 21 Jan 2020 16:40:07 +0000 (10:40 -0600)]
mgr/cephadm: health alert for stray hosts and/or services

Fixes: https://tracker.ceph.com/issues/43714
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/dashboard: Add column filtering feature to cd-table (#32568)
Lenz Grimmer [Thu, 23 Jan 2020 16:36:44 +0000 (16:36 +0000)]
mgr/dashboard: Add column filtering feature to cd-table (#32568)

mgr/dashboard: Add column filtering feature to cd-table

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>