Lenz Grimmer [Wed, 29 Jan 2020 10:04:28 +0000 (11:04 +0100)]
mgr/dashboard: Change project name to "Ceph Dashboard"
The Dashboard's "About" page still referred to the
application as "Ceph Manager Dashboard".
Changed the `projectName` constant to
"Ceph Dashboard" to resolve this.
Sage Weil [Mon, 27 Jan 2020 23:38:55 +0000 (17:38 -0600)]
Merge PR #32925 into master
* refs/pull/32925/head:
os/bluestore: fix duplicate onode instance while doing omap repair.
test/store_test: introduce test case for per-pool omap repair.
Sage Weil [Mon, 27 Jan 2020 17:02:07 +0000 (11:02 -0600)]
qa/suites/rados/rest: run restful test on el8
For some reason the requests library has trouble connecting from
ubuntu 18.04. I reproduced this locally on my 18.04 desktop, although
there it fails on the first API request instead of the last (as in QA).
In any case, this appears to be a client library problem.
Fixes: https://tracker.ceph.com/issues/43720 Signed-off-by: Sage Weil <sage@redhat.com>
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>
Tatjana Dehler [Fri, 24 Jan 2020 16:02:22 +0000 (17:02 +0100)]
mgr/dashboard: show checkboxes for booleans
The frontend showed textboxes for the dashboard settings because
the actual type information was missing here. The REST API then
returned the default type 'str'.
Edit the e2e test case in order to update a different setting as
the 'editMgrModule' method can't handle checkboxes.
Fixes: https://tracker.ceph.com/issues/43769 Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Sage Weil [Thu, 23 Jan 2020 19:43:58 +0000 (13:43 -0600)]
mgr/cephadm: get --osd-uuid deploy arg from osdmap
During the initial OSD creation, we had the osd_uuid handy. However, on
reconfig/redeploy, we don't.
Refactor a bit so that this is extracted from the osdmap by the
_create_daemon() method. While we're at it, make the deployment case
verify that the deployed OSD uuid matches the one in the osdmap.
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
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
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>
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>
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>
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>
Sage Weil [Fri, 24 Jan 2020 16:54:00 +0000 (10:54 -0600)]
osdc/Objecter: debug pause/unpause transition
My only theory for https://tracker.ceph.com/issues/43813 is that
t->paused got set somehow, but I can't see how. Add some debug output
when this happens (it should be pretty rare).
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
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.)
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.
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