Commit Graph

106768 Commits

Author SHA1 Message Date
Sage Weil
41c03aa143 qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-24 21:01:07 -06:00
Sage Weil
4fda278eaf 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>
2020-01-24 17:21:28 -06:00
Patrick Donnelly
aa488859cb
Merge PR #32804 into master
* refs/pull/32804/head:
	pybind: Add test for listxattr
	pybind: Add listxattr

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-24 12:57:07 -08:00
Sage Weil
71a65fdfc5 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>
2020-01-24 14:04:59 -06:00
Sage Weil
05d6d3a4d4 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>
2020-01-24 14:04:09 -06:00
Sage Weil
9033c5e5bf 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>
2020-01-24 14:02:14 -06:00
Sage Weil
99b6be8df6 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>
2020-01-24 14:01:38 -06:00
Jason Dillaman
27c9b1ecb8
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>
2020-01-24 14:30:22 -05:00
Sage Weil
5eef6e667f 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>
2020-01-24 09:30:11 -06:00
Sage Weil
c0060e2927 mgr/cephadm: speed up when not refresh is needed
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-24 08:54:20 -06:00
Sage Weil
77a1272b3c mgr/cephadm: track age of service metadata
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-24 08:54:20 -06:00
Sage Weil
6f7a82f511 mgr/orchestrator: include age of 'service ls' metadata
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-24 08:54:20 -06:00
Sage Weil
19fb0ecf8f mgr/mgr_util: add to_pretty_timedelta
This mirrors the Ceph C++ implementation.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-24 08:54:20 -06:00
Sage Weil
fe52da7774 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>
2020-01-24 08:32:47 -06:00
Sage Weil
81fc73b24e 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>
2020-01-24 08:32:13 -06:00
Lenz Grimmer
f36f96be7c
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>
2020-01-24 14:00:08 +00:00
Sage Weil
b3914e26bc 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>
2020-01-24 06:52:41 -06:00
Lenz Grimmer
91987583a9
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>
2020-01-24 12:34:12 +00:00
Nathan Cutler
afc28b96de
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>
2020-01-24 10:40:29 +01:00
Lenz Grimmer
c4cb13575f
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>
2020-01-24 08:32:59 +00:00
Sage Weil
29d3eaa1a3 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>
2020-01-23 21:25:08 -06:00
Sage Weil
1816e7bb62 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>
2020-01-23 21:14:31 -06:00
Sage Weil
37d107cd7e 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>
2020-01-23 21:14:31 -06:00
Sage Weil
fb991fa5f6 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>
2020-01-23 21:14:31 -06:00
Sage Weil
be05f210e7 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>
2020-01-23 21:14:31 -06:00
Kefu Chai
cf40438938
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>
2020-01-24 10:30:15 +08:00
Patrick Donnelly
d1274aae3a
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>
2020-01-23 15:53:24 -08:00
Sage Weil
55b1f74d6d 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>
2020-01-23 17:37:56 -06:00
Patrick Donnelly
92c19067de
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>
2020-01-23 15:37:56 -08:00
Patrick Donnelly
4810d68a30
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>
2020-01-23 15:37:47 -08:00
Patrick Donnelly
7159de9e04
Merge PR #32350 into master
* refs/pull/32350/head:
	mds: Reorganize class members in SnapServer header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-01-23 15:29:04 -08:00
Patrick Donnelly
af1e82dd67
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>
2020-01-23 15:28:27 -08:00
Sage Weil
10ffeef1fb 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>
2020-01-23 17:13:09 -06:00
Sage Weil
0f829ba4a6 ceph_test_cls_hello: only do returndata test on octopus+
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Josh Durgin
fa27ba5c9c qa: remove unnecessary package excludes in upgrades/nautilus*
These packages are present in nautilus.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-01-23 17:13:09 -06:00
Josh Durgin
ec560a69eb qa: exclude cephadm from upgrade/nautilus-x
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
ba31ccb533 qa/suites/upgrade/mimic-x/parallel: fix msgr2 vs octopus ordering
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
2adadc2356 qa/suites/upgrade/nautilus-x/stress-split: fix msgr2 vs octopus ordering
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
8283ea9f58 qa/suites/upgrade/mimic-x: fix msgr2 vs octopus ordering
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
45604427b8 qa/suites/upgrade/nautilus-x: end on octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
044e9247bb qa/suites/upgrade/mimic-x: finish at octopus
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
2182e79744 qa/suites/upgrade/nautilus-x: disable TOO_FEW_PGS warning
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:13:09 -06:00
Sage Weil
777f239df9 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>
2020-01-23 17:12:56 -06:00
Sage Weil
223d5d4f9f qa/suites/upgrade/mimic-x: disable TOO_FEW_PGS warning
Signed-off-by: Sage Weil <sage@redhat.com>
2020-01-23 17:12:34 -06:00
Sage Weil
3ca1fa3643 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>
2020-01-23 16:40:59 -06:00
Sage Weil
84b679ffe7 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>
2020-01-23 16:17:39 -06:00
Casey Bodley
19d06094ab
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>
2020-01-23 16:35:13 -05:00
Casey Bodley
2507a09b48
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>
2020-01-23 16:34:12 -05:00
Casey Bodley
e19788d1fb
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>
2020-01-23 16:33:46 -05:00
Casey Bodley
86750660fc
Merge pull request #30880 from jiahuizeng/radosgw
rgw: support radosgw-admin zone/zonegroup placement get command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-01-23 16:33:20 -05:00