Commit Graph

3649 Commits

Author SHA1 Message Date
Sage Weil
affb0f87b5
Merge pull request #21942 from tchaikov/wip-qa-ceph-disk-no-mon-config
qa/workunits/ceph-disk: --no-mon-config

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-11 13:01:38 -05:00
Yuri Weinstein
450dcecdd9 qa/tests: added client-upgrade-luminous suit
Fixes https://tracker.ceph.com/issues/24021
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-11 10:27:40 -07:00
Kefu Chai
ee33dc8e53 qa/workunits/ceph-disk: --no-mon-config
port a095ec8b to the qa/workunits

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-11 21:07:56 +08:00
Sage Weil
6ae51aed13 Merge remote-tracking branch 'gh/mimic' 2018-05-10 12:18:29 -05:00
Kefu Chai
23cebfbd3a
Merge pull request #21931 from yuriw/wip-yuriw-fix-mimic-subset
tests/qa - fix mimic subset for nightlies

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 22:45:26 +08:00
Yuri Weinstein
7c7336ab87 tests/qa - fix mimic subset for nightlies
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-10 07:39:51 -07:00
Casey Bodley
7da0fe2832
Merge pull request #21680 from cbodley/wip-rm-replica-log
rgw: remove all traces of cls replica_log

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2018-05-10 10:26:55 -04:00
Kefu Chai
3d772f2e4e
Merge pull request #21782 from wido/mgr-telegraf
mgr/telegraf: Telegraf module for Ceph Mgr

Reveiwed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-10 17:24:46 +08:00
Josh Durgin
8582e57316
Merge pull request #21909 from neha-ojha/wip-fix-powercycle
qa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-09 11:37:32 -07:00
Wido den Hollander
d15d510bab
mgr/telegraf: Telegraf module for Ceph Mgr
Telegraf is a agent for collecting and reporting metrics.

It has multiple inputs and can send data to various outputs like
for example InfluxDB or ElasticSearch.

This module works by using the socket_listener of Telegraf and can
send data over UDP, TCP and a local Unix Socket.

Signed-off-by: Wido den Hollander <wido@42on.com>
2018-05-09 16:00:15 +02:00
Kefu Chai
a2f7d73b44
Merge pull request #21830 from tchaikov/mimic-qa-cephfs-snap
mimic: qa: fix test on "ceph fs set cephfs allow_new_snaps"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-09 20:12:13 +08:00
Volker Theile
a3cf914ded
Merge pull request #21066 from sebastian-philipp/dashboard_error_handling
mgr/dashboard: Improve exception handling

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
2018-05-09 11:11:24 +02:00
Patrick Donnelly
fb83f24a33
qa: ignore version in auth metadata comp
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 3838674f65)
2018-05-08 15:42:42 -07:00
Ramana Raja
3335b7aa1c
ceph_volume_client: allow volumes without namespace isolation
Fixes: https://tracker.ceph.com/issues/23695

Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 3a7fdb8b05)
2018-05-08 15:42:42 -07:00
Neha Ojha
94a2d81082 qa/suites: set osd_pg_log_dups_tracked in cfuse_workunit_suites_fsync.yaml
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-08 15:20:46 -07:00
Sebastian Wagner
3a34bae0fe mgr/dashboard: Applied Exception handling to RBDs
* DashboardTestCase: Removed waiter-thread

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-05-08 16:46:47 +02:00
Patrick Donnelly
3838674f65 qa: ignore version in auth metadata comp
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-08 20:15:24 +05:30
Ramana Raja
3a7fdb8b05 ceph_volume_client: allow volumes without namespace isolation
Fixes: https://tracker.ceph.com/issues/23695

Signed-off-by: Ramana Raja <rraja@redhat.com>
2018-05-08 20:15:15 +05:30
Sebastian Wagner
a49f39f60e mgr/dashboard: Change to Status Code 400 by default.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-05-08 16:39:51 +02:00
Sebastian Wagner
c08999a59c mgr/dashboard: Improved Exception handling in Tasks
* Set default status code to 400
* Added tests
* Fixed globbing in `test_task.py`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-05-08 16:36:44 +02:00
Sebastian Wagner
dc616c7d72 mgr/dashboard: Applied Exception Handling
* Minor changes to CephFS, OSD, Pool, RbdMirroring, Summary and RGW

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-05-08 16:30:54 +02:00
Yan, Zheng
7ea83df10e
qa/tasks/cephfs: add test for renewing stale session
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 5688476513)
2018-05-07 15:55:05 -07:00
Patrick Donnelly
e510e29e01
Merge PR #21712 into master
* refs/pull/21712/head:
	qa/tasks/cephfs: add test for renewing stale session
	client: invalidate caps and leases when session becomes stale
	client: fix race in concurrent readdir

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-07 15:53:32 -07:00
David Galloway
42258c637a
Merge pull request #21858 from yuriw/wip-yuriw-crontab
qa/tests: fixed typo
2018-05-07 15:03:41 -04:00
Casey Bodley
fe32bf7dad
Merge pull request #21707 from cbodley/wip-qa-upgrade-ragweed
qa/rgw: move ragweed upgrade test into upgrade/luminous-x

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-07 12:21:01 -04:00
Yuri Weinstein
52a03d6812 qa/tests: fixed typo
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-07 07:41:05 -07:00
Patrick Donnelly
c345968673
qa: move snap-hierarchy out of snaps workunits
The snapshot hierarchy it leaves behind can't be cleaned up by `rm -rf` which
breaks workunit cleanup. So, don't run this as part of normal snaps test.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 4d37b0ee8d)
2018-05-07 07:38:18 -07:00
Patrick Donnelly
4b03901218
qa: try snap format upgrade with multimds cluster
Fixes: http://tracker.ceph.com/issues/24002

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 0b466cb2e6)
2018-05-07 07:38:18 -07:00
Patrick Donnelly
34f395512a
qa: add mds deactivation procedure for upgrades
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 6a788bf203)
2018-05-07 07:38:18 -07:00
Yuri Weinstein
35d72bab39 qa/test: Added rados, rbd and fs to run two time a week only
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-06 14:00:25 -07:00
Yuri Weinstein
5658547581
Merge pull request #21827 from yuriw/wip-yuriw-crontab
qa/tests: Added mimic runs, removed large suites (rados, rbd, etc) ru…

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-06 13:36:34 -07:00
Kefu Chai
0ab9b101c6 librados: timeout on mgr_command()
because the mgrclient will be waiting for the mgrmap if the mgrmap
is not available, when the client is about to send a mgr command.
and monitor will drop the subscription requests if the client does not
have enough cap for reading mon, so unlike mon commands, the client
won't get an EACCES return code in this case.

in this change, a timeout machinary is introduced. and the client
will wait for "rados-mon-op-timeout" before it gives up. if this
setting is 0, it will wait forever.

Fixes: https://tracker.ceph.com/issues/23627
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit eaa1179965)
2018-05-05 19:04:20 +08:00
Kefu Chai
7bd7559ece
Merge pull request #21811 from tchaikov/wip-23627
librados: block MgrClient::start_command until mgrmap

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-05 19:02:25 +08:00
Kefu Chai
99f29da500 qa: fix test on "ceph fs set cephfs allow_new_snaps"
snapshot is now enabled for new fs in 81d0554e, so this test should be
updated accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 5910c2902e)
2018-05-05 18:40:29 +08:00
Kefu Chai
5910c2902e qa: fix test on "ceph fs set cephfs allow_new_snaps"
snapshot is now enabled for new fs in 81d0554e, so this test should be
updated accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-05 09:40:41 +08:00
Yuri Weinstein
b6d85cad7c qa/tests: Added mimic runs, removed large suites (rados, rbd, etc) runs on luminous
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-05-04 13:45:29 -07:00
Sage Weil
bc42e17ce5
Merge pull request #21753 from liewegas/wip-upgrade-enospc
qa/suites/upgrade/luminous-x/stress-split: avoid enospc
2018-05-04 15:25:10 -05:00
Sage Weil
dd702b9fad qa/suites/upgarde/luminous-x/stress-split: 8 osds (not 6)
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-04 08:42:29 -05:00
Kefu Chai
eaa1179965 librados: timeout on mgr_command()
because the mgrclient will be waiting for the mgrmap if the mgrmap
is not available, when the client is about to send a mgr command.
and monitor will drop the subscription requests if the client does not
have enough cap for reading mon, so unlike mon commands, the client
won't get an EACCES return code in this case.

in this change, a timeout machinary is introduced. and the client
will wait for "rados-mon-op-timeout" before it gives up. if this
setting is 0, it will wait forever.

Fixes: https://tracker.ceph.com/issues/23627
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-04 19:23:02 +08:00
Patrick Donnelly
4d37b0ee8d
qa: move snap-hierarchy out of snaps workunits
The snapshot hierarchy it leaves behind can't be cleaned up by `rm -rf` which
breaks workunit cleanup. So, don't run this as part of normal snaps test.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 16:52:34 -07:00
Patrick Donnelly
0b466cb2e6
qa: try snap format upgrade with multimds cluster
Fixes: http://tracker.ceph.com/issues/24002

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 16:52:13 -07:00
Patrick Donnelly
6a788bf203
qa: add mds deactivation procedure for upgrades
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 16:51:43 -07:00
Casey Bodley
82423b4a6e qa: add ragweed to luminous-x upgrade suite
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-03 15:20:23 -04:00
Casey Bodley
c4f6031fc6 qa/rgw: remove rgw/upgrade suite
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-05-03 15:19:49 -04:00
Josh Durgin
f3bdc242f3
Merge pull request #21546 from dzafman/wip-22881
osd: process _scan_snaps() with all snapshots with head

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-03 10:07:57 -07:00
Patrick Donnelly
c44adca121
Merge PR #21374 into master
* refs/pull/21374/head:
	qa: add test for snap format upgrade
	mds: initialize SnapServer::snaprealm_v2_since after journal replay
	mds: properly distinguish cap update from snap flush
	mds: update dev document of cephfs snapshot
	doc: add release notes for cephfs snapshot
	mds: allow snapshot by default for new filesystem
	mds: close past parents after snaprealm format gets converted
	mds: automaticly allow multi-active MDS after scrubbing all inodes
	mds: don't mark primary dentry damaged if inode has been repaired
	mds: upgrade snaprealm format during scrub
	mds: allow scrubbing mdsdir
	mds: cleanup scrub code
	mds: show health warning if multimds with old format snapshots
	mds: automaticly allow multi-active MDS after removing all old snapshots
	mds: disallow multi-active MDS if snapshot was ever created by pre-mimic mds
	mds: validate SnapInfo::long_name before using it
	mds: don't bump snaptable last_snap when renaming snapshot
	mds: properly save snaptable after upgrading version

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 09:45:04 -07:00
Patrick Donnelly
91942df5a6
qa: add test for snap format upgrade
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-03 09:09:03 -07:00
Yan, Zheng
5688476513 qa/tasks/cephfs: add test for renewing stale session
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2018-05-03 10:50:28 +08:00
Patrick Donnelly
36b51db0e6
qa: fix blacklisted check for test_lifecycle
Caused by: 36f89c5acf

Fixes: http://tracker.ceph.com/issues/23975

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-02 15:13:39 -07:00
Patrick Donnelly
36f89c5acf
Merge PR #21065 into master
* refs/pull/21065/head:
	qa/cephfs: test if evicted client unmounts without hanging
	qa/tasks: allow custom timeout for umount_wait()
	client: don't hang when MDS sessions are evicted

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-02 09:07:31 -07:00