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
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
Neha Ojha
dca3275f0c
qa: whitelist SMALLER_PGP_NUM
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-23 15:15:54 -07:00
Yuri Weinstein
9b10512d8e
qa/tests: added supported distor for powercycle suite
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-23 08:25:24 -07:00
Sage Weil
2a6f1633b1
Merge pull request #22158 from liewegas/wip-24222
...
mon/MgrMonitor: change 'unresponsive' message to info level
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-05-23 06:42:48 -05:00
Kefu Chai
4af9bf1dcd
Merge pull request #22127 from liewegas/wip-23386
...
crush: fix device_class_clone for unpopulated/empty weight-sets
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2018-05-23 14:47:49 +08:00
Sage Weil
4ddbbe561c
mon/MgrMonitor: change 'unresponsive' message to info level
...
We generate a MGR_DOWN health warning at the appropriate points; having
this at WRN level just triggers failed teuthology runs but doesn't much
value for the user.
Clear out teuthology whitelisting for this message.
Fixes: http://tracker.ceph.com/issues/24222
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-22 16:55:03 -05:00
David Zafman
ee4acb6e1f
test: Whitelist corrections
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-22 14:26:46 -07:00
Casey Bodley
ac36897f72
Merge pull request #22024 from votdev/bug_24142
...
rgw: Do not modify email if argument is not set
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-05-22 11:19:24 -04:00
Josh Durgin
1642bc4491
Merge pull request #22074 from dzafman/wip-parens
...
test: Need to escape parens in log-whitelist for grep
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-21 15:54:05 -07:00
Josh Durgin
6ef75a62f7
Merge pull request #22096 from yuriw/wip-yuriw-crontab
...
qa/tests: added filters to support distro tests for client-upgrade tests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-21 15:27:39 -07:00
Yuri Weinstein
2a01e68a68
qa/tests - reverted clients upgrades for luminous runs
...
removed ~/rhel_only_on_ovh.yaml to be able to run on ovh
forced runs on smithi only
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-21 14:44:09 -07:00
Sage Weil
452b521740
crush: fix device_class_clone for unpopulated/empty weight-sets
...
If the bucket is empty or does not have weight-set weights yet, avoid
crashing when populating the parent bucket.
Fixes: http://tracker.ceph.com/issues/23386
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-21 13:39:47 -05:00
Casey Bodley
7cb50b495b
qa/rgw: disable testing on ec-cache pools
...
Fixes: http://tracker.ceph.com/issues/23965
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-21 13:29:01 -04:00