Commit Graph

3764 Commits

Author SHA1 Message Date
Tatjana Dehler
9ebf5eb650 mgr/dashboard: add config options to documentation page
This commit adds the config options stored by the MON database to the
configuration documentation page.
One can filter for these config options by setting the 'Source' filter
to 'mon' on the configuration documentation page.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2018-06-13 15:39:24 +02:00
Yuri Weinstein
bb5a296fe8
Merge pull request #22531 from yuriw/wip-yuriw-crontab
qa/tests: removed all jewel runs and reduced runs on ovh
2018-06-12 12:58:43 -07:00
Yuri Weinstein
f8b4a1d99b qa/tests: removed all jewel runs and reduced runs on ovh
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-06-12 09:49:09 -07:00
Sage Weil
1e64c86d1a
Merge pull request #22496 from liewegas/wip-localpool-config
qa/workunits/mgr/test_localpool.sh: use new config syntax
2018-06-11 16:08:18 -05:00
Sage Weil
9154a392b0
Merge pull request #22460 from liewegas/wip-upgrade-distro
qa/suites/rados/upgrade: remove stray link
2018-06-10 13:42:23 -05:00
Sage Weil
dadf4c769b qa/workunits/mgr/test_localpool.sh: use new config syntax
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-10 13:08:52 -05:00
Sage Weil
826d36dea8 Merge PR #22485 into master
* refs/pull/22485/head:
	qa: wait longer for osd to flush pg stats

Reviewed-by: Sage Weil <sage@redhat.com>
2018-06-09 14:21:37 -05:00
Kefu Chai
af4793f606
Merge pull request #22429 from liewegas/wip-osd-destroy-new
mon: add 'osd destroy-new' command that only destroys NEW osd slots

Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-06-09 22:00:47 +08:00
Kefu Chai
16b84f7332 qa: wait longer for osd to flush pg stats
it's the test_create_from_mon()'s counterpart of 38074726.

Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-06-09 13:51:20 +08:00
David Zafman
4ffa5a46d2
Merge pull request #22428 from dzafman/wip-24396-fix
test: Use a file that should be on all OSes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-08 20:28:44 -07:00
Sage Weil
697d98dafc qa/suites/rados/upgrade: remove stray link
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-07 11:25:55 -05:00
Ricardo Marques
091e01ca71 mgr/dashboard: Login failure should return HTTP 400
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-06-06 11:45:09 +01:00
Sage Weil
547d96dc01 mon: add 'osd destroy-new' command that only destroys NEW osd slots
ceph-volume may run into a problem and want to clean up, but we do not
want to give it blanket access to the 'osd destroy' command.  Instead,
make an 'osd destroy-new' that can only create new OSDs (ones that are
in the process of being created but have never booted yet).

Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-05 17:36:06 -05:00
David Zafman
c1e96ae7cb test: Use a file that should be on all OSes
Also, create temporary files in test specific dir and remove

Caused by: 154330fd68

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-06-05 11:27:12 -07:00
Sage Weil
43fdb22d7a
Merge pull request #22396 from liewegas/wip-24396
osd/PrimaryLogPG: fix on_local_recover crash on stray clone

Reviewed-by: David Zafman <dzafman@redhat.com>
2018-06-05 11:09:44 -05:00
Sage Weil
154330fd68 osd/PrimaryLogPG: fix on_local_recover crash on stray clone
If there is a stray clone (one that does not appear in the SnapSet) and
we do any sort of recovery on it the OSD will crash.  Log an error instead
but continue.

This addresses a problem where a cluster has both (1) an unexpected clone
and (2) the clone is not present on all replicas.  Doing repair on that
PG will both not fix the unexpected clone and also cause the remaining
OSDs to crash trying to recover it.

Include a test.

Fixes: https://tracker.ceph.com/issues/24396
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-05 11:09:01 -05:00
Kefu Chai
3270f26672
Merge pull request #22395 from liewegas/wip-24408
osd,mds: make 'config rm ...' idempotent

Reviewed-by: Erwan Velu <erwan@redhat.com>
2018-06-06 00:03:43 +08:00
Lenz Grimmer
74c639e866
Merge pull request #22122 from tspmelo/wip-osd-scrub
mgr/dashboard: Add scrub action to the OSDs table

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-05 12:33:34 +02:00
Josh Durgin
ad3c1ec5d0
Merge pull request #22405 from neha-ojha/wip-24365
qa/tasks/cbt.py: changes to run on bionic

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-06-04 20:00:00 -07:00
Neha Ojha
bf62e1fadc qa/tasks/cbt.py: changes to run on bionic
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-06-04 17:23:21 -07:00
Sage Weil
11044f5f1b osd,mds,common: make 'config rm ...' idempotent
Fixes: http://tracker.ceph.com/issues/24408
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-04 15:57:40 -05:00
Tiago Melo
2783b021ec mgr/dashboard: Add scrub methods to OSD controller and service
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-06-04 14:49:54 +01:00
Kefu Chai
333068b208
Merge pull request #22346 from dzafman/wip-scrub-omap
osd: Handle omap and data digests independently

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-06-04 19:53:18 +08:00
Kefu Chai
ea61464062
Merge pull request #21913 from tspmelo/wip-cephfs-table
mgr/dashboard: Add Filesystems list component

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-06-03 01:53:40 +08:00
Kefu Chai
0829e83fde
Merge pull request #22196 from thinkercui/bugfix
osd: read object attrs failed at EC recovery

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-06-03 01:52:24 +08:00
cuixf
3eb1679b1f osd: retry to read object attrs at EC recovery
In EC recovery read, if the object's attrs read failed or with errors, we erase the attrs we have read and
try to read it again from left shards. This will make the primary osd get the object's attrs correct and
avoid assert.

Signed-off-by: xiaofei cui <cuixiaofei@sangfor.com>
2018-06-01 06:26:56 -04:00
Jason Dillaman
2c451a04f9 qa/workunits/rbd: dump long image directory upon rbd-mirror test failure
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 19:17:52 -04:00
Tiago Melo
7d842f20c0 mgr/dashboard: Remove unused data from summary controller
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-31 22:50:43 +01:00
Tiago Melo
f4d3b23555 mgr/dashboard: Refactor CephFS controller
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-31 22:50:43 +01:00
David Zafman
843598b69b Revert "qa/standalone/scrub/osd-scrub-repair.sh: drop omap_digest flag"
This reverts commit 886606bfd7.

Signed-off-by: David Zafman <dzafman@redhat.com>

Conflicts:
	qa/standalone/scrub/osd-scrub-repair.sh (manually made equivalent changes)
2018-05-31 12:01:53 -07:00
Jason Dillaman
21ec764499 qa/tasks: rbd_mirror_thrash should wait for daemon exit before restarting
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 09:48:47 -04:00
Kefu Chai
8f2761edb3
Merge pull request #22275 from tchaikov/wip-24321
qa: wait longer for osd to flush pg stats

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-29 11:26:11 +08:00
Sage Weil
f4e95ca473 Merge PR #22261 into master
* refs/pull/22261/head:
	qa/suites/rados: move valgrind test to singleton-flat
2018-05-28 09:24:03 -05:00
Lenz Grimmer
5ffc276056
Merge pull request #22210 from rjfd/wip-dashboard-controller-refactor
mgr/dashboard: controller infrastructure refactor and new features

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-28 14:10:03 +02:00
Kefu Chai
380747268a qa: wait longer for osd to flush pg stats
pg sends pg-stats to mgr every 5 seconds, so we cannot check for the
number of pgs right after creating the pool, at that moment, the number
of pgs could be 0, that's why manger.wait_for_clean() returns right
away, and leaves us with 0 pgs: the pgs serving the pool are still being
created. that's why `manager.get_num_active_clean()` returns `0`
sometimes. so, we should force osd to flush their stats to mgr, and wait
until the pg stats converages.

Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-28 19:41:48 +08:00
Sage Weil
4f769a3cc9 qa/suites/rados: move valgrind test to singleton-flat
No distro facet (or anything else) since we require centos for this test.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-27 10:07:45 -05:00
Sage Weil
15edf77cc3 Merge PR #21934 into master
* refs/pull/21934/head:
	qa/standalone/mon/misc: fix features test
	qa/workunits: osd require-osd-release mimic -> nautilus
	test/cli/monmaptool/feature-set-unset: fix unknown ids
	test/cli/monmaptool: fix test
	osd/OSDMap: make NAUTILUS feature bit significant
	mon: add initial NAUTILUS feature/compatset bits

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-25 17:52:41 -05:00
Sage Weil
c3164df959 qa/standalone/mon/misc: fix features test
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-25 17:02:49 -05:00
Sage Weil
b18fdb6e10 qa/workunits: osd require-osd-release mimic -> nautilus
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-25 15:19:28 -05:00
Josh Durgin
1b57439727
Merge pull request #22233 from neha-ojha/wip-fix-2580436
qa/workunits/suites/pjd.sh: use correct dir name

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-25 12:02:30 -07:00
Sage Weil
0d45d7e4ed Merge PR #22230 into master
* refs/pull/22230/head:
	test/cli-integration/rbd: fixed unit formatting
	qa/workunits/rbd: fix unit formatting tests
	librbd: clones should not inherit implicit feature bits from parent

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-25 13:27:58 -05:00
Sage Weil
6df8e72fe3
Merge pull request #22185 from ceph/wip-yuri-powercycle
qa/tests:  added supported distro for powercycle suite

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-25 11:24:48 -05:00
Casey Bodley
b437c4c05a
Merge pull request #22126 from cbodley/wip-qa-rgw-no-ec-cache
qa/rgw: disable testing on ec-cache pools

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-25 10:08:12 -04:00
Kefu Chai
1692f49b7b qa: use $TESTDIR for testing mkfs
as tmpfs does not support O_DIRECT, but bluefs use this flag for
accessing the underlying file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-25 21:46:32 +08:00
Neha Ojha
8fbab63436 qa/workunits/suites/pjd.sh: use correct dir name
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-24 17:03:01 -07:00
David Zafman
1c27168e5e
Merge pull request #22195 from neha-ojha/wip-minor-fixes
qa/suites/rados: minor fixes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-24 16:48:48 -07:00
Jason Dillaman
d5b7d672b9 qa/workunits/rbd: fix unit formatting tests
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-24 15:54:31 -04:00
Ricardo Dias
8fb798fb93
mgr/dashboard: removed browsable api
Signed-off-by: Ricardo Dias <rdias@suse.com>
2018-05-24 10:42:24 +01:00
David Zafman
151de1797b test: wait_for_pg_stats() should do another check after last 13 second sleep
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-23 17:27:14 -07:00
Neha Ojha
7cfc95b367 qa/suites/rados/objectstore: move yaml files under a subdir
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-23 15:39:23 -07:00