Commit Graph

3733 Commits

Author SHA1 Message Date
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
David Zafman
4fad800043 test: Add CACHE_POOL_NO_HIT_SET to whitelist for mon/pool_ops.sh
Ignore
  cluster [WRN] Health check failed: 1 cache pools are missing hit_sets (CACHE_POOL_NO_HIT_SET)

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-21 09:47:59 -07:00
David Zafman
918921ab2f test: Need to escape parens in log-whitelist for grep
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-21 09:47:59 -07:00
Kefu Chai
59f5349c43
Merge pull request #22103 from tchaikov/wip-qa-test_envlibrados_for_rocksdb
qa/workunits/rados/test_envlibrados_for_rocksdb: install g++ not g++-4.7

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-21 19:36:57 +08:00
Kefu Chai
f8d47223e2 qa/workunits/rados/test_envlibrados_for_rocksdb: use cmake not make
* so we just rely on a single build system instead of two of them, the
  other place we use cmake is cmake/modules/BuildRockDB.cmake.
* disable gflags when building rocksdb, it's optional and does not help
  in the sense of testing librados support.
* disable prompts when installing on debian, to silence warnings like:
  debconf: unable to initialize frontend: Dialog
* drop --force-yes option, as it is deprecated, and is replaced with
  --allow-downgrades, --allow-remove-essential,
  --allow-change-held-packages,  but none of them apply in our case.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-21 13:28:23 +08:00
Sage Weil
7f04b17234
Merge pull request #21982 from tchaikov/mgr-brag
mgr/telemetry: Add Ceph Telemetry module to send reports back to project
2018-05-20 21:34:12 -05:00
Sage Weil
47dffc53d6
Merge pull request #22063 from liewegas/wip-unit-spaces
include/types: space between number and units

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-05-20 21:26:03 -05:00
Sage Weil
a5d30ad2ab
Merge pull request #22106 from liewegas/wip-rados-distros
qa/suites/rados/thrash-old-clients: only centos and 16.04
2018-05-20 21:23:48 -05:00
Sage Weil
dd46ae1006 qa/suites/rados/thrash-old-clients: only centos and 16.04
We don't have old client builds for the newer distros.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-20 09:38:02 -05:00
Kefu Chai
5ceee88989
Merge pull request #21961 from ceph/wip-cd-ovh-vol
qa/tests: fix volume size when running in ovh

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-20 18:35:35 +08:00
Kefu Chai
63a35625a3 qa/workunits/rados/test_envlibrados_for_rocksdb: install g++ not g++-4.7
since fog now deploys ubuntu 18.04 where g++-4.7 is not available
anymore, so g++ is good enough.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-20 16:35:27 +08:00
Sage Weil
fbf0e10af0
Merge pull request #22092 from liewegas/wip-mimic-upgrades
qa/suites/upgrade/luminous-x: a few fixes
2018-05-19 12:34:52 -05:00
Yan, Zheng
0edab5fcc3
Merge pull request #21941 from ukernel/wip-24053
mds: reply session reject for open request from blacklisted client
2018-05-19 17:07:40 +08:00
Yan, Zheng
e7d0b41dea qa/tasks/cephfs: add timeout parameter to kclient umount_wait
Just make caller happy. there is no easy way to support timeout.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
Fixes: https://tracker.ceph.com/issues/24053
2018-05-19 17:06:19 +08:00
Patrick Donnelly
abb2fa4d5b
qa: test for trim_caps segfault for trimmed dentries
Test case by Yan Zheng [1].

[1] http://tracker.ceph.com/issues/24137#note-6

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-18 21:35:56 -07:00
Yuri Weinstein
ff5c199988 qa/tests: Removed kraken tests
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-18 15:57:10 -07:00
Yuri Weinstein
76afe26164 qa/tests: Removed hammer client tests
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-18 15:18:09 -07:00
Yuri Weinstein
cb3d4e3c56 qa/tests: added filters to support distro tests for upgrade/client-upgrade-* tests
ref:
https://github.com/ceph/ceph/pull/22087
https://github.com/ceph/ceph/pull/22090
https://github.com/ceph/ceph/pull/22094
https://github.com/ceph/ceph/pull/22095

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-18 15:11:54 -07:00
Sage Weil
459b33e146 qa/suites/thrashosds-health: whitelist REQUEST_SLOW
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 14:01:33 -05:00
Sage Weil
59fe5dc5ce qa/suites/upgrade/luminous-x: whitelist SLOW_OPS
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 14:01:19 -05:00