Kefu Chai
90022b35ab
Merge pull request #17619 from liuchang0812/wip-ec-below-min-size
...
osd: allow EC PGs to do recovery below min_size
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-22 12:58:55 +08:00
Sage Weil
b747ae1711
qa/tasks/ceph: tolerate 'T' or ' ' as date and time separator
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-05-29 14:12:15 -05:00
Greg Farnum
0ee63a0450
qa: extend get_pool_property() to allow non-int values
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2019-05-10 10:45:25 +08:00
Patrick Donnelly
8cbdad9f9b
qa: update testing for standby-replay
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-02-27 21:39:12 -08:00
Casey Bodley
0aebb55af5
qa/mon: fix cluster support for monmap bootstrap
...
-filter out mons from other clusters
-fix parsing of mon name from role
Fixes: http://tracker.ceph.com/issues/38115
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-01-30 12:24:36 -05:00
Sage Weil
236c8a4528
qa/tasks/ceph.py: bracket addrvecs in mon_host etc
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-16 08:33:03 -06:00
Sage Weil
54c5202b74
qa/tasks/ceph: stop any split/merge activity before scrubbing
...
If there are leftover merges at the end of the run they can take a long
time to get through, blowing our timeout for (waiting for pgs to become
active and to stop splitting/merge) and scrubbing pgs. Stop all of that
at the end of the run so that we don't have to wait so long.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-14 06:51:21 -06:00
Sage Weil
a19b8e5b14
qa/tasks/ceph: set initial monmap features with using addrvec addrs
...
The --add option will only infer a bare IP to include a v2 addr if the
NAUTILUS feature is there, and that isn't normally present on a freshly
generate monmap. Add it if we are doing addrvecs!
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-03 11:17:31 -06:00
Sage Weil
241d402d7c
qa/tasks/ceph: only use monmaptool --addv if addr has [,:v]
...
Otherwise, we want the --add path, which has the logic to infer ports,
v2+v1, etc.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-03 11:17:31 -06:00
Sage Weil
545df766be
qa/tasks/ceph: keep mon addrs in ctx namespace
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-03 11:17:31 -06:00
Sage Weil
1ab352dd31
qa/tasks/ceph.py: move methods from teuthology.git into ceph.py directly; support mon bind * options
...
Having these live in teuthology.git is silly, since they are only consumed
by the ceph task, and it is hard to revise the behavior.
Revise the behavior by adding mon_bind_* options.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-03 11:17:31 -06:00
Sage Weil
de9b77cd38
qa/tasks/ceph: add 'mon_bind_addrvec' and 'mon_bind_msgr2' options
...
- Sometimes we don't want to use v2 addrs
- Sometimes we don't want addrvecs at all (e.g., upgrades)
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-21 15:31:32 -06:00
Sage Weil
6f06e394e4
qa/tasks/ceph: wait for splits/merges before final scrub
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-19 14:37:01 -06:00
Sage Weil
c9d275a0e2
Merge PR #21444 into master
...
* refs/pull/21444/head:
qa: Replace 'ceph' with cluster name in restart()
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-25 21:20:44 -06:00
Sage Weil
2ec2c5ef9e
Merge PR #24795 into master
...
* refs/pull/24795/head:
qa/tasks/ceph: gather crash dumps
2018-11-20 17:34:54 -06:00
Sage Weil
4c0632df91
qa/tasks/ceph: gather crash dumps
...
Gather crash dumps as part of the teuthology run.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-20 06:49:20 -06:00
Shilpa Jagannath
a7e0c4c8ca
qa: Replace 'ceph' with cluster name in restart()
...
Enabled ctx.managers to take cluster name from config in restart() method instead of default 'ceph'.
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2018-11-19 12:10:27 +05:30
Sage Weil
d941b28089
Merge PR #19987 into master
...
* refs/pull/19987/head:
qa/tasks/ceph: ignore failure when chown ceph:ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-16 00:22:17 -06:00
Kefu Chai
4b0e2c8ed4
qa: fix typos
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-21 12:41:42 +08:00
Sage Weil
d6def8ba11
ceph-authtool: remove auid options
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-31 09:26:19 -05: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
Douglas Fuller
7d97a6e6f8
cephfs: kill allow_dirfrags
...
As dirfrags are now standard in CephFS, remove the machinery for
tracking and enabling this feature.
ceph fs set <fs> allow_dirfrags is now deprecated and prints a warning
message.
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-04-17 11:01:03 -07:00
Shengjing Zhu
2cbba835aa
misc: fix various spelling errors
...
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-03-10 23:39:20 +08:00
Sage Weil
e44e10d6e0
qa/tasks/ceph.py: --no-mon-config during ceph-osd mkfs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-03-06 14:44:50 -06:00
Sage Weil
c2d28e2750
Merge pull request #18971 from liewegas/wip-pg-scrub-preempt
...
osd/PG: allow scrub preemption
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-18 12:37:48 -06:00
Kefu Chai
9f5238037a
qa/tasks/ceph: ignore failure when chown ceph:ceph
...
we didn't have ceph:ceph user back in hammer. so ignore this error.
ceph-common will create this user in newer version. and `ceph` task will
take care of this, when upgrading to a newer version.
Fixes: http://tracker.ceph.com/issues/22597
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-17 23:55:35 +08:00
David Zafman
9f103f013c
tests: recovery-unfound-found test needs to account for correct misplaced calculations
...
The test expected HEALTH_OK when in a state with misplaced objects therefore HEALTH_WARN
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-01-16 10:52:21 -08:00
Sage Weil
3f922e79c3
qa/tasks/ceph: disable osd_debug_deep_scrub_sleep in case it is set
...
Otherwise the final scrub may take too long.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-14 10:47:24 -06:00
Kefu Chai
185d2f5375
qa/tasks/ceph: add mon-health-to-clog option to "restart"
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-11-29 20:04:44 +08:00
John Spray
9988ebed95
qa: fix mgr caps
...
This was still using Kraken era settings
Signed-off-by: John Spray <john.spray@redhat.com>
2017-11-01 08:21:43 -04:00
Patrick Donnelly
2bba5d8e0f
Merge PR #18192 into master
...
* refs/pull/18192/head:
qa/cephfs: test ec data pool
qa/suites/fs/basic_functional/clusters: more osds
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-25 17:05:38 -07:00
Sage Weil
d0732fc96f
qa/cephfs: test ec data pool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-23 21:11:24 -05:00
Zack Cerza
f9acdc774d
qa/tasks/ceph: Set owner on mds mount point
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Zack Cerza
4516ebb6c0
qa/tasks/ceph: Remove /var/lib/ceph copypasta
...
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Zack Cerza
a653720f50
qa/tasks/ceph: Set owner on osd mount point
...
This is needed when running with systemd
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Zack Cerza
16dcceae5c
qa/tasks/ceph: Set owner on mon mount point
...
This is needed when running with systemd
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-18 12:59:09 -06:00
Kefu Chai
ac1e13ce63
qa/tasks/ceph: add "create_rbd_pool" option
...
True by default, but we can opt not to create the "rbd" pool.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-17 11:15:32 +08:00
Douglas Fuller
5fafc03cb9
qa/cephfs: Allow deferred fs creation
...
Permit Filesystem objects to be created and settings modified before
calling Filesystem.create().
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-08-30 09:02:44 -04:00
Sage Weil
9da7e63c64
qa/tasks/ceph.py: tolerate flush pg stats exception
...
If the OSD doesn't see IO, it won't flush more pg/osd stats when the
luminous flag is not yet set (legacy pgmonitor mode).
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 12:08:31 -04:00
Sage Weil
d9a0145f8f
Merge pull request #16824 from liewegas/wip-more-scrub-time
...
qa/tasks/ceph: wait longer for scrub
2017-08-05 13:35:55 -05:00
Sage Weil
62482ce82c
qa/tasks/ceph: debug osd setup
...
I've seen a couple rbd runs that seem to skip the next block :/
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-05 13:53:26 -04:00
Sage Weil
d09606619f
qa/tasks/ceph: wait longer for scrub
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-04 12:06:27 -04:00
Sage Weil
f681d6e794
Merge pull request #16794 from liewegas/wip-rbd-app
...
qa/tasks/ceph: enable rbd on rbd pool
2017-08-04 08:40:45 -05:00
Sage Weil
7ed9d1e8aa
qa/tasks/ceph: enable rbd on rbd pool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-04 09:40:26 -04:00
Josh Durgin
63693779fc
qa: timeout when waiting for mgr to be available
...
Otherwise during upgrades we wait forever.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-08-02 02:18:28 -04:00
Sage Weil
a40d94b163
qa/tasks/ceph: wait for pg stats to flush in healthy check
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:10:27 -04:00
Sage Weil
dfc9c36606
fix ceph.py
2017-07-17 16:27:13 -04:00
Sage Weil
c66da972df
qa/tasks/ceph.py: create osds in order
...
We aren't passing id to legacy 'osd create', which means we have to go
in order!
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-17 15:22:47 -04:00
Sage Weil
fd39700d55
qa/tasks/ceph: wait for osds to come up before creating pool
...
Avoid health warnings.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-12 12:52:03 -04:00
Sage Weil
83aaa75991
qa/tasks/ceph: stop logging health on shutdown
...
Don't log health during actual teardown or we'll see
various scary messages unrelated to our test run.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-12 12:52:02 -04:00