Sage Weil
3118d9a154
osd: replace require_*_osds flags with require_osd_release field
...
- OSDMap encode and decode translate between the flags and int
representations.
- OSDMap::Incremental only does decode; we do not expect to ever encode
an incremental osdmap for an old osd that sets any of these flags.
- the 'osd set' command still lets you set the jewel and kraken flags,
but not luminous.
- OSDMap::apply_incremental handles the conversion of legacy require flags
to the new field if the jewel or kraken flags have to be set before
starting the osd upgrade.
- clear out the legacy flags when we make the luminous transition only;
until then we keep using the old flag in the encoded and decoded version
(although the require_osd_release field will be accurate in memory in all
cases).
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-29 21:33:17 -04:00
Sage Weil
8554158574
Merge pull request #15325 from liewegas/wip-redirect
...
osd,librados: add manifest, redirect
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-29 14:48:33 -05:00
Sage Weil
a9a728fe4d
Merge pull request #15296 from liewegas/wip-fix-at-end
...
qa/tasks/repair_test: unset flags we set
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-27 22:11:31 -05:00
Kefu Chai
c6f1c06de9
Merge pull request #14284 from tchaikov/wip-19439
...
qa/tasks/rebuild_mondb: grant "mgr:allow *" to client.admin
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-28 10:38:26 +08:00
Kefu Chai
8abc6e1bea
qa/tasks/rebuild_mondb: update to address ceph-mgr changes
...
- revive ceph-mgr after updating the keyring cap
- grant "mgr:allow *" to client.admin
- minor refactors
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-28 09:59:50 +08:00
Kefu Chai
af97f164d7
Merge pull request #15111 from Liuchang0812/wip-19885-mgr-help
...
ceph: introduce "tell x help" subcommand
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-27 10:53:22 +08:00
Sage Weil
9a22b1a6ac
qa/suites/rados/thrash-luminous: redirects require luminous
...
...so skip the at-end variant of d-luminous.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-26 22:52:48 -04:00
Sage Weil
a4247dd594
Merge branch 'wip-extensible_tier-redirect' of git://github.com/myoungwon/ceph into wip-redirect
2017-05-26 22:50:14 -04:00
Gregory Farnum
032466d72d
Merge pull request #15214 from gregsfortytwo/wip-19931-snaptrim-pgref
...
osd: don't leak pgrefs or reservations in SnapTrimmer
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-26 14:50:00 -07:00
Greg Farnum
4caf2df0c3
osd: do not default-abort on leaked pg refs
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-05-26 14:43:26 -07:00
Sage Weil
d6c4925793
Merge pull request #14746 from wjwithagen/wip-wjw-reduce-noise-2
...
src/ceph.in: Use env(CEPH_DEV) to suppress noise from ceph
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-26 09:30:17 -05:00
Jason Dillaman
32bd33eb1b
Merge pull request #15290 from idryomov/wip-krbd-unmap-straw
...
qa/suites/krbd: unmap subsuite needs straw buckets
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-26 09:27:50 -04:00
Willem Jan Withagen
f28f4cbc20
./qa/workunits/ceph-helpers.sh: Do not trace kill_daemon
...
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-05-26 12:07:28 +02:00
liuchang0812
b0af39713b
test/cephtool: convert FS_NAME to local variable
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
liuchang0812
5680936878
tool/ceph: create "tell x help" command
...
Fixes: http://tracker.ceph.com/issues/19885
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-26 10:27:26 +08:00
Sage Weil
d292b5419f
qa/tasks/repair_test: unset flags we set
...
In particular, noscrub and nodeepscrub leave a health
warning, which prevents shutdown with at-end.yaml.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-25 18:05:42 -04:00
Yuri Weinstein
25b8e0f63f
Merge pull request #15146 from tchaikov/wip-split-test-tiering
...
qa: split test_tiering into smaller pieces
Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-25 13:43:53 -07:00
John Spray
f80e0973f5
Merge pull request #15062 from ukernel/wip-19912
...
qa/tasks/cephfs: use getattr to guarantee inode is in client cache
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-25 18:44:54 +01:00
Ilya Dryomov
ffb9e09b18
qa/suites/krbd: unmap subsuite needs straw buckets
...
The default tunables for luminous allow straw2 buckets, which aren't
supported by pre-single-major.yaml kernel. The map is generated before
crush_tunables override takes effect, so set the bucket algorithm to
straw manually.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-05-25 16:11:06 +02:00
Sage Weil
6d520e9166
Merge pull request #15276 from liewegas/wip-ext4-again
...
qa/suites/rados/singleton-nomsgr: fix syntax
2017-05-24 17:09:25 -05:00
Sage Weil
5d80c74e63
Merge pull request #15252 from liewegas/wip-cleanup-tell
...
qa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-24 17:05:32 -05:00
Sage Weil
d2dac535f5
qa/suites/rados/singleton-nomsgr/health...: whitelist wrongly marked me down
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-24 17:58:12 -04:00
Sage Weil
85e2f3f31d
qa/suites/rados/singleton-nomsgr: fix syntax
...
This parsed out as
tasks:
- install: null
- ceph:
conf:
osd: osd max object name len = 400 osd max object namespace len = 64
- workunit:
clients:
all:
- rados/test_health_warnings.sh
which is clearly not correct.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-24 16:46:00 -04:00
John Spray
ef9d555916
Merge pull request #15105 from ukernel/wip-19892
...
qa/cephfs: disable mds_bal_frag for TestStrays.test_purge_queue_op_rate
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-24 16:41:45 +01:00
John Spray
ee75318807
Merge pull request #15122 from batrick/test-fragment-error
...
qa: fix float parse error in test_fragment
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-24 16:40:50 +01:00
Sage Weil
5ab996ab3c
qa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete
...
This died forever ago; no need for the fallback here.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-23 22:53:53 -04:00
Sage Weil
1f5c50aa56
Merge pull request #15177 from liewegas/wip-bluestore-nonexperimental
...
os: remove experimental status for BlueStore
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-05-23 21:48:06 -05:00
Sage Weil
10a88f1c62
Merge pull request #15245 from liewegas/wip-20058
...
qa/suites/rados/*/at-end: wait for healthy before scrubbing
2017-05-23 21:47:13 -05:00
Sage Weil
88776b9c74
Merge pull request #15202 from liewegas/wip-19935
...
qa/suites/rados: temporarily remove scrub_test from basic/ until post-luminous
2017-05-23 15:37:08 -05:00
Sage Weil
0e03c189fc
Merge pull request #15207 from liewegas/wip-20043
...
qa/suites/rados/singleton-nomsg/health-warnings: behave on ext4
2017-05-23 15:36:50 -05:00
Yuri Weinstein
6b7d4db843
Merge pull request #15201 from liewegas/wip-19990
...
qa/workunits/rados/test_health_warning: misc fixes
Reviewed-by: Neha Ojha <nojha@redhat.com>
2017-05-23 13:33:23 -07:00
Sage Weil
ce654c5133
qa/suites/rados/*/at-end: wait for healthy before scrubbing
...
The scrub_pgs command also waits for healthy for a while, but fails
silently if it times out, which means the subsequent scrubs will also
fail to clean up.
This forces an earlier failure that does not obscure the root cause.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-23 14:12:24 -04:00
John Spray
3913ed0ba6
qa: refine assert_session_count (don't count killing)
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:18 -04:00
John Spray
ee2683c804
qa: update TestVolumeClient for new blacklisting
...
Blacklisted clients will now proactively fail
outstanding operations, rather than blocking.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:18 -04:00
John Spray
ab8e328c80
qa: clean up whitespace in test_misc.py
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:18 -04:00
John Spray
c91ccac6f6
qa: remove outdated TODO in TestVolumeClient
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
John Spray
06935d406b
qa: log whitelist for eviction messages
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
John Spray
47a9c9ba67
qa: add test_filelock_eviction
...
To check that eviction is releasing flocks.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
Sage Weil
657453d349
qa/suites/rados/singleton-nomsg/health-warnings: behave on ext4
...
We may land on an ext4 root partition.
Fixes: http://tracker.ceph.com/issues/20043
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-22 12:53:51 -04:00
Sage Weil
740f17ebf9
qa/suites/rados: temporarily remove scrub_test from basic/ until post-luminous
...
We don't want to do the at-end.yaml scrubbing business with this test.
Move it into a separate collection until after luminous.
I have a todo item on the post-luminous cleanup list to avoid forgetting
to move this back.
Fixes: http://tracker.ceph.com/issues/19935
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-22 10:15:23 -04:00
Sage Weil
aecaebe087
qa/workunits/rados/test_health_warning: misc fixes
...
- use 'noup' flag
- wait for healthy between each test
- check counts for each type
Fixes: http://tracker.ceph.com/issues/19990
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-22 10:09:19 -04:00
Mykola Golub
1367ab2a2d
Merge pull request #15162 from dillaman/wip-19970
...
librbd: reduce potential of erroneous blacklisting on image close
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-22 15:50:57 +03:00
Sage Weil
bb82a9c504
Merge pull request #14922 from ukernel/wip-kcephfs-whitelist
...
qa: update log whitelists for kcephfs suite
Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-19 13:41:20 -05:00
Casey Bodley
cff53b246f
Merge pull request #14688 from cbodley/wip-rgw-multi-suite
...
qa/rgw: add multisite suite to configure and run multisite tests
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-05-19 14:30:57 -04:00
Sage Weil
590fd5362a
Merge pull request #15071 from cbodley/wip-qa-dnsmasq
...
qa: add task for dnsmasq configuration
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-05-19 13:25:12 -05:00
Yuri Weinstein
e965dac013
Merge pull request #15158 from liewegas/wip-mgr-dump
...
mon/MgrMonitor: add 'mgr dump [epoch]' command
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-19 09:33:03 -07:00
Sage Weil
036470a2a0
os: remove experimental status for BlueStore
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-19 09:34:07 -04:00
Jason Dillaman
6fa25c2bf2
librbd: recheck current lock owner before blacklist
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-19 08:43:37 -04:00
Yuri Weinstein
ef1c02406d
Merge pull request #14914 from neha-ojha/wip-mon-crushtype-health-warn
...
mon: add crush type down health warnings
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:12:45 -07:00
Sage Weil
739cbc98c3
Merge pull request #15117 from liewegas/wip-luminous-legacy-check
...
qa/suites/rados/thrash: make sure osds have map before legacy scrub
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-18 13:28:14 -05:00